get_sensitive_data_occurrences
(**kwargs)¶Retrieves occurrences of sensitive data reported by a finding.
See also: AWS API Documentation
Request Syntax
response = client.get_sensitive_data_occurrences(
findingId='string'
)
[REQUIRED]
The unique identifier for the finding.
{
'error': 'string',
'sensitiveDataOccurrences': {
'string': [
{
'value': 'string'
},
]
},
'status': 'SUCCESS'|'PROCESSING'|'ERROR'
}
Response Structure
The request succeeded.
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.
A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.
Specifies 1-10 occurrences of a specific type of sensitive data reported by a finding.
An occurrence of the specified type of sensitive data. Each occurrence can contain 1-128 characters.
The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:
Exceptions
Macie2.Client.exceptions.UnprocessableEntityException
Macie2.Client.exceptions.InternalServerException
Macie2.Client.exceptions.ServiceQuotaExceededException
Macie2.Client.exceptions.AccessDeniedException
Macie2.Client.exceptions.ResourceNotFoundException
Macie2.Client.exceptions.ThrottlingException