AWS managed policies for Macie - Amazon Macie

AWS managed policies for Macie

An AWS managed policy is a standalone policy that is created and administered by AWS. AWS managed policies are designed to provide permissions for many common use cases so that you can start assigning permissions to users, groups, and roles.

Keep in mind that AWS managed policies might not grant least-privilege permissions for your specific use cases because they're available for all AWS customers to use. We recommend that you reduce permissions further by defining customer managed policies that are specific to your use cases.

You cannot change the permissions defined in AWS managed policies. If AWS updates the permissions defined in an AWS managed policy, the update affects all principal identities (users, groups, and roles) that the policy is attached to. AWS is most likely to update an AWS managed policy when a new AWS service is launched or new API operations become available for existing services.

For more information, see AWS managed policies in the IAM User Guide.

Amazon Macie provides several AWS managed policies: the AmazonMacieFullAccess policy, the AmazonMacieReadOnlyAccess policy, and the AmazonMacieServiceRolePolicy policy.

AWS managed policy: AmazonMacieFullAccess

You can attach the AmazonMacieFullAccess policy to your IAM entities.

This policy grants full administrative permissions that allow an IAM identity (principal) to create the Amazon Macie service-linked role and perform all read and write actions for Amazon Macie. The permissions include mutating functions such as create, update, and delete. If this policy is attached to a principal, the principal can create, retrieve, and otherwise access all Macie resources, data, and settings for their account.

This policy must be attached to a principal before the principal can enable Macie for their account—a principal must be allowed to create the Macie service-linked role in order to enable Macie for their account.

Permissions details

This policy includes the following permissions:

  • macie2 – Allows principals to perform all read and write actions for Amazon Macie.

  • iam – Allows principals to create service-linked roles. The Resource element specifies the service-linked role for Macie. The Condition element uses the iam:AWSServiceName condition key and the StringLike condition operator to restrict permissions to the service-linked role for Macie.

  • pricing – Allows principals to retrieve pricing data for their AWS account from AWS Billing and Cost Management. Macie uses this data to calculate and display estimated costs when principals create and configure sensitive data discovery jobs.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "macie2:*" ], "Resource": "*" }, { "Effect": "Allow", "Action": "iam:CreateServiceLinkedRole", "Resource": "arn:aws:iam::*:role/aws-service-role/macie.amazonaws.com/AWSServiceRoleForAmazonMacie", "Condition": { "StringLike": { "iam:AWSServiceName": "macie.amazonaws.com" } } }, { "Effect": "Allow", "Action": "pricing:GetProducts", "Resource": "*" } ] }

AWS managed policy: AmazonMacieReadOnlyAccess

You can attach the AmazonMacieReadOnlyAccess policy to your IAM entities.

This policy grants read-only permissions that allow an IAM identity (principal) to perform all read actions for Amazon Macie. The permissions don't include mutating functions such as create, update, or delete. If this policy is attached to a principal, the principal can retrieve but not otherwise access all Macie resources, data, and settings for their account.

Permissions details

This policy includes the following permissions:

macie2 – Allows principals to perform all read actions for Amazon Macie.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "macie2:Describe*", "macie2:Get*", "macie2:List*", "macie2:BatchGetCustomDataIdentifiers", "macie2:SearchResources" ], "Resource": "*" } ] }

AWS managed policy: AmazonMacieServiceRolePolicy

You can't attach the AmazonMacieServiceRolePolicy policy to your IAM entities. This policy is attached to a service-linked role that allows Amazon Macie to perform actions on your behalf. For more information, see Using service-linked roles for Macie.

Macie updates to AWS managed policies

Review details about updates to AWS managed policies for Amazon Macie since this service began tracking these changes. For automatic alerts about changes to this page, subscribe to the RSS feed on the Macie document history page.

Change Description Date

AmazonMacieReadOnlyAccess – Added a new policy

Macie added a new policy, the AmazonMacieReadOnlyAccess policy. This policy grants read-only permissions that allow principals to retrieve all Macie resources, data, and settings for their account.

June 15, 2023

AmazonMacieFullAccess – Updated an existing policy

In the AmazonMacieFullAccess policy, Macie updated the Amazon Resource Name (ARN) of the Macie service-linked role (aws-service-role/macie.amazonaws.com/AWSServiceRoleForAmazonMacie).

June 30, 2022

AmazonMacieServiceRolePolicy – Updated an existing policy

Macie removed actions and resources for Amazon Macie Classic from the AmazonMacieServiceRolePolicy policy. Amazon Macie Classic has been discontinued and is no longer available.

More specifically, Macie removed all AWS CloudTrail actions. Macie also removed all Amazon S3 actions for the following resources: arn:aws:s3:::awsmacie-*, arn:aws:s3:::awsmacietrail-*, and arn:aws:s3:::*-awsmacietrail-*.

May 20, 2022

AmazonMacieFullAccess – Updated an existing policy

Macie added an AWS Billing and Cost Management (pricing) action to the AmazonMacieFullAccess policy. This action allows principals to retrieve pricing data for their account. Macie uses this data to calculate and display estimated costs when principals create and configure sensitive data discovery jobs.

Macie also removed Amazon Macie Classic (macie) actions from the AmazonMacieFullAccess policy.

March 7, 2022

AmazonMacieServiceRolePolicy – Updated an existing policy

Macie added Amazon CloudWatch Logs actions to the AmazonMacieServiceRolePolicy policy. These actions allow Macie to publish log events to CloudWatch Logs for sensitive data discovery jobs.

April 13, 2021

Macie started tracking changes

Macie started tracking changes for its AWS managed policies.

April 13, 2021