Macie2.Client.get_findings_publication_configuration()¶Retrieves the configuration settings for publishing findings to Security Hub.
See also: AWS API Documentation
Request Syntax
response = client.get_findings_publication_configuration()
{
'securityHubConfiguration': {
'publishClassificationFindings': True|False,
'publishPolicyFindings': True|False
}
}
Response Structure
The request succeeded.
The configuration settings that determine which findings are published to Security Hub.
Specifies whether to publish sensitive data findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.
Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.
Exceptions
Macie2.Client.exceptions.ValidationExceptionMacie2.Client.exceptions.InternalServerExceptionMacie2.Client.exceptions.ServiceQuotaExceededExceptionMacie2.Client.exceptions.AccessDeniedExceptionMacie2.Client.exceptions.ResourceNotFoundExceptionMacie2.Client.exceptions.ThrottlingExceptionMacie2.Client.exceptions.ConflictException