Skip to main content

sensitive_data_occurrences

Creates, updates, deletes, gets or lists a sensitive_data_occurrences resource.

Overview

Namesensitive_data_occurrences
TypeResource
Idaws.macie2.sensitive_data_occurrences

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
errorstringIf an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.
sensitive_data_occurrencesobjectA map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.
statusstringThe status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are: ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred. PROCESSING - Macie is processing the request. SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data. (SUCCESS, PROCESSING, ERROR)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_sensitive_data_occurrencesselectfinding_id, regionRetrieves occurrences of sensitive data reported by a finding.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
finding_idstringThe unique identifier for the finding.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves occurrences of sensitive data reported by a finding.

SELECT
error,
sensitive_data_occurrences,
status
FROM aws.macie2.sensitive_data_occurrences
WHERE finding_id = '{{ finding_id }}' -- required
AND region = '{{ region }}' -- required
;