Macie2 / Client / get_automated_discovery_configuration

get_automated_discovery_configuration#

Macie2.Client.get_automated_discovery_configuration()#

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

See also: AWS API Documentation

Request Syntax

response = client.get_automated_discovery_configuration()
Return type:

dict

Returns:

Response Syntax

{
    'autoEnableOrganizationMembers': 'ALL'|'NEW'|'NONE',
    '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.

    • autoEnableOrganizationMembers (string) –

      Specifies whether automated sensitive data discovery is enabled automatically for accounts in the organization. Possible values are: ALL, enable it for all existing accounts and new member accounts; NEW, enable it only for new member accounts; and, NONE, don’t enable it for any accounts.

    • classificationScopeId (string) –

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

    • disabledAt (datetime) –

      The date and time, in UTC and extended ISO 8601 format, when automated sensitive data discovery was most recently disabled. This value is null if automated sensitive data discovery is currently enabled.

    • firstEnabledAt (datetime) –

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

    • lastUpdatedAt (datetime) –

      The date and time, in UTC and extended ISO 8601 format, when the configuration settings or status of automated sensitive data discovery was most recently changed.

    • sensitivityInspectionTemplateId (string) –

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

    • status (string) –

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

Exceptions

  • Macie2.Client.exceptions.ThrottlingException

  • Macie2.Client.exceptions.ValidationException

  • Macie2.Client.exceptions.InternalServerException

  • Macie2.Client.exceptions.AccessDeniedException