sensitive_data_occurrences
Creates, updates, deletes, gets or lists a sensitive_data_occurrences resource.
Overview
| Name | sensitive_data_occurrences |
| Type | Resource |
| Id | aws.macie2.sensitive_data_occurrences |
Fields
The following fields are returned by SELECT queries:
- get_sensitive_data_occurrences
| Name | Datatype | Description |
|---|---|---|
error | string | If 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_occurrences | object | A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data. |
status | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_sensitive_data_occurrences | select | finding_id, region | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
finding_id | string | The unique identifier for the finding. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_sensitive_data_occurrences
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
;