Skip to main content

automated_discovery_configurations

Creates, updates, deletes, gets or lists an automated_discovery_configurations resource.

Overview

Nameautomated_discovery_configurations
TypeResource
Idaws.macie2.automated_discovery_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auto_enable_organization_membersstringSpecifies 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. (ALL, NEW, NONE)
classification_scope_idstringThe 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. (pattern: <code>^[0-9a-z]*$</code>)
disabled_atstring (date-time)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.
first_enabled_atstring (date-time)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.
last_updated_atstring (date-time)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.
sensitivity_inspection_template_idstringThe 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.
statusstringThe 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. (ENABLED, DISABLED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_automated_discovery_configurationselectregionRetrieves the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
update_automated_discovery_configurationupdateregion, statusChanges the configuration settings and status of automated sensitive data discovery for an organization or standalone account.

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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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

SELECT
auto_enable_organization_members,
classification_scope_id,
disabled_at,
first_enabled_at,
last_updated_at,
sensitivity_inspection_template_id,
status
FROM aws.macie2.automated_discovery_configurations
WHERE region = '{{ region }}' -- required
;

UPDATE examples

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

UPDATE aws.macie2.automated_discovery_configurations
SET
autoEnableOrganizationMembers = '{{ autoEnableOrganizationMembers }}',
status = '{{ status }}'
WHERE
region = '{{ region }}' --required
AND status = '{{ status }}' --required;