get_automated_discovery_configuration

Macie2.Client.get_automated_discovery_configuration()

Retrieves the configuration settings and status of automated sensitive data discovery for an account.

See also: AWS API Documentation

Request Syntax

response = client.get_automated_discovery_configuration()
Return type
dict
Returns
Response Syntax
{
    'classificationScopeId': 'string',
    'disabledAt': datetime(2015, 1, 1),
    'firstEnabledAt': datetime(2015, 1, 1),
    'lastUpdatedAt': datetime(2015, 1, 1),
    'sensitivityInspectionTemplateId': 'string',
    'status': 'ENABLED'|'DISABLED'
}

Response Structure

  • (dict) --

    The request succeeded.

    • classificationScopeId (string) --

      The unique identifier for the classification scope that's used when performing automated sensitive data discovery for the account. The classification scope specifies S3 buckets to exclude from automated sensitive data discovery.

    • disabledAt (datetime) --

      The date and time, in UTC and extended ISO 8601 format, when automated sensitive data discovery was most recently disabled for the account. This value is null if automated sensitive data discovery wasn't enabled and subsequently disabled for the account.

    • firstEnabledAt (datetime) --

      The date and time, in UTC and extended ISO 8601 format, when automated sensitive data discovery was initially enabled for the account. This value is null if automated sensitive data discovery has never been enabled for the account.

    • lastUpdatedAt (datetime) --

      The date and time, in UTC and extended ISO 8601 format, when automated sensitive data discovery was most recently enabled or disabled for the account.

    • sensitivityInspectionTemplateId (string) --

      The unique identifier for the sensitivity inspection template that's used when performing automated sensitive data discovery for the account. The template specifies which allow lists, custom data identifiers, and managed data identifiers to use when analyzing data.

    • status (string) --

      The current status of the automated sensitive data discovery configuration for the account. Possible values are: ENABLED, use the specified settings to perform automated sensitive data discovery activities for the account; and, DISABLED, don't perform automated sensitive data discovery activities for the account.

Exceptions

  • Macie2.Client.exceptions.ThrottlingException
  • Macie2.Client.exceptions.ValidationException
  • Macie2.Client.exceptions.InternalServerException
  • Macie2.Client.exceptions.AccessDeniedException