Actions, resources, and condition keys for Amazon Macie
Amazon Macie (service prefix: macie2) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon Macie
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AcceptInvitation |
Write |
|||
|
BatchGetCustomDataIdentifiers |
Read |
|||
|
BatchUpdateAutomatedDiscoveryAccounts |
Write |
|||
|
CreateAllowList |
Write |
|||
Tagging, Write |
||||
|
CreateClassificationJob |
Write |
|||
Tagging, Write |
||||
|
CreateCustomDataIdentifier |
Write |
|||
Tagging, Write |
||||
|
CreateFindingsFilter |
Write |
|||
Tagging, Write |
||||
|
CreateInvitations |
Write |
|||
|
CreateMember |
Write |
|||
Tagging, Write |
||||
|
CreateSampleFindings |
Write |
|||
|
DeclineInvitations |
Write |
|||
|
DeleteAllowList |
Write |
|||
|
DeleteCustomDataIdentifier |
Write |
|||
|
DeleteFindingsFilter |
Write |
|||
|
DeleteInvitations |
Write |
|||
|
DeleteMember |
Write |
|||
|
DescribeBuckets |
Read |
|||
|
DescribeClassificationJob |
Read |
|||
|
DescribeOrganizationConfiguration |
Read |
|||
|
DisableMacie |
Write |
|||
|
DisableOrganizationAdminAccount |
Write |
|||
|
DisassociateFromAdministratorAccount |
Write |
|||
|
DisassociateFromMasterAccount |
Write |
|||
|
DisassociateMember |
Write |
|||
|
EnableMacie |
Write |
|||
|
EnableOrganizationAdminAccount |
Write |
|||
|
GetAdministratorAccount |
Read |
|||
|
GetAllowList |
Read |
|||
|
GetAutomatedDiscoveryConfiguration |
Read |
|||
|
GetBucketStatistics |
Read |
|||
|
GetClassificationExportConfiguration |
Read |
|||
|
GetClassificationScope |
Read |
|||
|
GetCustomDataIdentifier |
Read |
|||
|
GetFindingStatistics |
Read |
|||
|
GetFindings |
Read |
|||
|
GetFindingsFilter |
Read |
|||
|
GetFindingsPublicationConfiguration |
Read |
|||
|
GetInvitationsCount |
Read |
|||
|
GetMacieSession |
Read |
|||
|
GetMasterAccount |
Read |
|||
|
GetMember |
Read |
|||
|
GetResourceProfile |
Read |
|||
|
GetRevealConfiguration |
Read |
|||
|
GetSensitiveDataOccurrences |
Read |
|||
|
GetSensitiveDataOccurrencesAvailability |
Read |
|||
|
GetSensitivityInspectionTemplate |
Read |
|||
|
GetUsageStatistics |
Read |
|||
|
GetUsageTotals |
Read |
|||
|
ListAllowLists |
List |
|||
|
ListAutomatedDiscoveryAccounts |
List |
|||
|
ListClassificationJobs |
List |
|||
|
ListClassificationScopes |
List |
|||
|
ListCustomDataIdentifiers |
List |
|||
|
ListFindings |
List |
|||
|
ListFindingsFilters |
List |
|||
|
ListInvitations |
List |
|||
|
ListManagedDataIdentifiers |
List |
|||
|
ListMembers |
List |
|||
|
ListOrganizationAdminAccounts |
List |
|||
|
ListResourceProfileArtifacts |
List |
|||
|
ListResourceProfileDetections |
List |
|||
|
ListSensitivityInspectionTemplates |
List |
|||
|
ListTagsForResource |
Read |
|||
|
PutClassificationExportConfiguration |
Write |
|||
|
PutFindingsPublicationConfiguration |
Write |
|||
|
SearchResources |
Read |
|||
|
TagResource |
Tagging, Write |
|||
|
TestCustomDataIdentifier |
Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateAllowList |
Write |
|||
|
UpdateAutomatedDiscoveryConfiguration |
Write |
|||
|
UpdateClassificationJob |
Write |
|||
|
UpdateClassificationScope |
Write |
|||
|
UpdateFindingsFilter |
Write |
|||
|
UpdateMacieSession |
Write |
|||
|
UpdateMemberSession |
Write |
|||
|
UpdateOrganizationConfiguration |
Write |
|||
|
UpdateResourceProfile |
Write |
|||
|
UpdateResourceProfileDetections |
Write |
|||
|
UpdateRevealConfiguration |
Write |
|||
iam:PassedToService |
reveal-samples.macie.amazonaws.com |
Write |
||
|
UpdateSensitivityInspectionTemplate |
Write |
Actions defined by Amazon Macie
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to accept an Amazon Macie membership invitation |
Write |
|||
Grants permission to retrieve information about one or more custom data identifiers |
Read |
|||
Grants permission to an Amazon Macie administrator to change the status of automated sensitive data discovery for one or more accounts in their organization |
Write |
|||
Grants permission to create and define the settings for an allow list |
Write |
|||
Grants permission to create and define the settings for a sensitive data discovery job |
Write |
|||
Grants permission to create and define the settings for a custom data identifier |
Write |
|||
Grants permission to create and define the settings for a findings filter |
Write |
|||
Grants permission to send an Amazon Macie membership invitation |
Write |
|||
Grants permission to associate an account with an Amazon Macie administrator account |
Write |
|||
Grants permission to create sample findings |
Write |
|||
Grants permission to decline Amazon Macie membership invitations |
Write |
|||
Grants permission to delete an allow list |
Write |
|||
Grants permission to delete a custom data identifier |
Write |
|||
Grants permission to delete a findings filter |
Write |
|||
Grants permission to delete Amazon Macie membership invitations |
Write |
|||
Grants permission to delete the association between an Amazon Macie administrator account and an account |
Write |
|||
Grants permission to retrieve statistical data and other information about S3 buckets that Amazon Macie monitors and analyzes |
Read |
|||
Grants permission to retrieve information about the status and settings for a sensitive data discovery job |
Read |
|||
Grants permission to retrieve information about the Amazon Macie configuration settings for an AWS organization |
Read |
|||
Grants permission to disable an Amazon Macie account, which also deletes Macie resources for the account |
Write |
|||
Grants permission to disable an account as the delegated Amazon Macie administrator account for an AWS organization |
Write |
|||
Grants permission to an Amazon Macie member account to disassociate from its Macie administrator account |
Write |
|||
Grants permission to an Amazon Macie member account to disassociate from its Macie administrator account |
Write |
|||
Grants permission to an Amazon Macie administrator account to disassociate from a Macie member account |
Write |
|||
Grants permission to enable and specify the configuration settings for a new Amazon Macie account |
Write |
|||
Grants permission to enable an account as the delegated Amazon Macie administrator account for an AWS organization |
Write |
|||
Grants permission to retrieve information about the Amazon Macie administrator account for an account |
Read |
|||
Grants permission to retrieve the settings and status of an allow list |
Read |
|||
Grants permission to retrieve the configuration settings and status of automated sensitive data discovery for an Amazon Macie administrator account, organization, or standalone account |
Read |
|||
Grants permission to retrieve aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes |
Read |
|||
Grants permission to retrieve the settings for exporting sensitive data discovery results |
Read |
|||
Grants permission to retrieve the classification scope settings for an account |
Read |
|||
Grants permission to retrieve information about the settings for a custom data identifier |
Read |
|||
Grants permission to retrieve aggregated statistical data about findings |
Read |
|||
Grants permission to retrieve the details of one or more findings |
Read |
|||
Grants permission to retrieve information about the settings for a findings filter |
Read |
|||
Grants permission to retrieve the configuration settings for publishing findings to AWS Security Hub |
Read |
|||
Grants permission to retrieve the count of Amazon Macie membership invitations that were received by an account |
Read |
|||
Grants permission to retrieve information about the status and configuration settings for an Amazon Macie account |
Read |
|||
Grants permission to retrieve information about the Amazon Macie administrator account for an account |
Read |
|||
Grants permission to retrieve information about an account that's associated with an Amazon Macie administrator account |
Read |
|||
Grants permission to retrieve sensitive data discovery statistics and the sensitivity score for an S3 bucket |
Read |
|||
Grants permission to retrieve the status and configuration settings for retrieving occurrences of sensitive data reported by findings |
Read |
|||
Grants permission to retrieve occurrences of sensitive data reported by a finding |
Read |
|||
Grants permission to check whether occurrences of sensitive data can be retrieved for a finding |
Read |
|||
Grants permission to retrieve the sensitivity inspection template settings for an account |
Read |
|||
Grants permission to retrieve quotas and aggregated usage data for one or more accounts |
Read |
|||
Grants permission to retrieve aggregated usage data for an account |
Read |
|||
Grants permission to retrieve a subset of information about all the allow lists for an account |
List |
|||
Grants permission to retrieve the status of automated sensitive data discovery for an account |
List |
|||
Grants permission to retrieve a subset of information about the status and settings for one or more sensitive data discovery jobs |
List |
|||
Grants permission to retrieve a subset of information about the classification scope for an account |
List |
|||
Grants permission to retrieve information about all custom data identifiers |
List |
|||
Grants permission to retrieve a subset of information about one or more findings |
List |
|||
Grants permission to retrieve information about all findings filters |
List |
|||
Grants permission to retrieve information about all the Amazon Macie membership invitations that were received by an account |
List |
|||
Grants permission to retrieve information about managed data identifiers |
List |
|||
Grants permission to retrieve information about the Amazon Macie member accounts that are associated with a Macie administrator account |
List |
|||
Grants permission to retrieve information about the delegated Amazon Macie administrator account for an AWS organization |
List |
|||
Grants permission to retrieve information about objects that Amazon Macie selected from an S3 bucket for automated sensitive data discovery |
List |
|||
Grants permission to retrieve information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket |
List |
|||
Grants permission to retrieve a subset of information about the sensitivity inspection template for an account |
List |
|||
Grants permission to retrieve the tags for an Amazon Macie resource |
Read |
|||
Grants permission to create or update the settings for storing sensitive data discovery results |
Write |
|||
Grants permission to update the configuration settings for publishing findings to AWS Security Hub |
Write |
|||
Grants permission to retrieve statistical data and other information about AWS resources that Amazon Macie monitors and analyzes |
Read |
|||
Grants permission to add or update the tags for an Amazon Macie resource |
Tagging, Write |
|||
Grants permission to test a custom data identifier |
Write |
|||
Grants permission to remove tags from an Amazon Macie resource |
Tagging, Write |
|||
Grants permission to update the settings for an allow list |
Write |
|||
Grants permission to change the status of automated sensitive data discovery for an Amazon Macie administrator account, organization, or standalone account |
Write |
|||
Grants permission to change the status of a sensitive data discovery job |
Write |
|||
Grants permission to update the classification scope settings for an account |
Write |
|||
Grants permission to update the settings for a findings filter |
Write |
|||
Grants permission to an Amazon Macie administrator account to suspend or re-enable Macie for a member account |
Write |
|||
Grants permission to an Amazon Macie administrator account to suspend or re-enable a Macie member account |
Write |
|||
Grants permission to update Amazon Macie configuration settings for an AWS organization |
Write |
|||
Grants permission to update the sensitivity score for an S3 bucket |
Write |
|||
Grants permission to update the sensitivity scoring settings for an S3 bucket |
Write |
|||
Grants permission to update the status and configuration settings for retrieving occurrences of sensitive data reported by findings |
Write |
|||
Grants permission to update the sensitivity inspection template settings for an account |
Write |
Resource types defined by Amazon Macie
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:macie2:${Region}:${Account}:allow-list/${ResourceId} |
||
arn:${Partition}:macie2:${Region}:${Account}:classification-job/${ResourceId} |
||
arn:${Partition}:macie2:${Region}:${Account}:custom-data-identifier/${ResourceId} |
||
arn:${Partition}:macie2:${Region}:${Account}:findings-filter/${ResourceId} |
||
arn:${Partition}:macie2:${Region}:${Account}:member/${ResourceId} |
Condition keys for Amazon Macie
Amazon Macie defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by a tag key and value pair that is allowed in the request |
String |
|
Filters access by a tag key and value pair of a resource |
String |
|
Filters access by the presence of tag keys in the request |
ArrayOfString |