Amazon managed policies for Amazon GuardDuty
To add permissions to users, groups, and roles, it is easier to use Amazon managed policies than to write policies yourself. It takes time and expertise to create IAM customer managed policies that provide your team with only the permissions they need. To get started quickly, you can use our Amazon managed policies. These policies cover common use cases and are available in your Amazon Web Services account. For more information about Amazon managed policies, see Amazon managed policies in the IAM User Guide.
Amazon services maintain and update Amazon managed policies. You can't change the permissions in Amazon managed policies. Services occasionally add additional permissions to an Amazon managed policy to support new features. This type of update affects all identities (users, groups, and roles) where the policy is attached. Services are most likely to update an Amazon managed policy when a new feature is launched or when new operations become available. Services do not remove permissions from an Amazon managed policy, so policy updates won't break your existing permissions.
Additionally, Amazon supports managed policies for job functions that span multiple services. For example, the ReadOnlyAccess Amazon managed policy provides read-only access to all Amazon services and resources. When a service launches a new feature, Amazon adds read-only permissions for new operations and resources. For a list and descriptions of job function policies, see Amazon managed policies for job functions in the IAM User Guide.
The Version
policy element specifies the language syntax rules that are to be
used to process a policy. The following policies include the current version that IAM
supports. For more information, see IAM JSON policy
elements: Version.
Amazon managed policy: AmazonGuardDutyFullAccess_v2 (recommended)
You can attach the AmazonGuardDutyFullAccess_v2 policy to your IAM identities. Between AmazonGuardDutyFullAccess_v2 and AmazonGuardDutyFullAccess, GuardDuty recommends attaching AmazonGuardDutyFullAccess_v2 because it offers enhanced security and restricts administrative actions to GuardDuty service principals. This policy will still allow a user full access to perform all GuardDuty actions and access required resources.
Permission details
The AmazonGuardDutyFullAccess_v2 policy includes the following permissions:
-
GuardDuty
– Allows users full access to all GuardDuty actions. -
IAM
:-
Allows users to create GuardDuty service-linked role.
-
Allows viewing and managing IAM roles and their policies for GuardDuty.
-
Allows users to pass a role to GuardDuty that uses this role to enable the GuardDuty Malware Protection for S3 feature. This is regardless of how you enable Malware Protection for S3 - within the GuardDuty service or independently.
-
The permission to perform an
iam:GetRole
action onAWSServiceRoleForAmazonGuardDutyMalwareProtection
establishes if the service-linked role (SLR) for Malware Protection for EC2 exists in an account.
-
-
Organizations
:-
Allow users to read (view) GuardDuty organization structure and accounts.
-
Allows users to designate a delegated administrator and manage members for a GuardDuty organization.
-
{ "Version": "2012-10-17", "Statement": [{ "Sid": "GuardDutyFullAccess", "Effect": "Allow", "Action": "guardduty:*", "Resource": "*" }, { "Sid": "CreateGuardDutyServiceLinkedRole", "Effect": "Allow", "Action": "iam:CreateServiceLinkedRole", "Resource": "*", "Condition": { "StringEquals": { "iam:AWSServiceName": [ "guardduty.amazonaws.com", "malware-protection.guardduty.amazonaws.com" ] } } }, { "Sid": "GuardDutyOrganizationsReadOnly", "Effect": "Allow", "Action": [ "organizations:ListAWSServiceAccessForOrganization", "organizations:DescribeOrganizationalUnit", "organizations:DescribeAccount", "organizations:DescribeOrganization", "organizations:ListAccounts" ], "Resource": "*" }, { "Sid": "GuardDutyOrganizationsAdminAccess", "Effect": "Allow", "Action": [ "organizations:EnableAWSServiceAccess", "organizations:DisableAWSServiceAccess", "organizations:RegisterDelegatedAdministrator", "organizations:DeregisterDelegatedAdministrator", "organizations:ListDelegatedAdministrators" ], "Resource": "*", "Condition": { "StringEquals": { "organizations:ServicePrincipal": [ "guardduty.amazonaws.com", "malware-protection.guardduty.amazonaws.com" ] } } }, { "Sid": "GuardDutyIamRoleAccess", "Effect": "Allow", "Action": "iam:GetRole", "Resource": "arn:aws-cn:iam::*:role/*AWSServiceRoleForAmazonGuardDutyMalwareProtection" }, { "Sid": "PassRoleToMalwareProtectionPlan", "Effect": "Allow", "Action": "iam:PassRole", "Resource": "arn:aws-cn:iam::*:role/*", "Condition": { "StringEquals": { "iam:PassedToService": "malware-protection-plan.guardduty.amazonaws.com" } } } ] }
Amazon managed policy: AmazonGuardDutyFullAccess
You can attach the AmazonGuardDutyFullAccess
policy to your IAM
identities.
Important
For enhanced security and restrictive permissions to GuardDuty service principals, we recommend you to use Amazon managed policy: AmazonGuardDutyFullAccess_v2 (recommended).
This policy grants administrative permissions that allow a user full access to perform all GuardDuty actions and resources.
Permission details
This policy includes the following permissions.
-
GuardDuty
– Allows users full access to all GuardDuty actions. -
IAM
:-
Allows users to create the GuardDuty service-linked role.
-
Allows an administrator account to enable GuardDuty for member accounts.
-
Allows users to pass a role to GuardDuty that uses this role to enable the GuardDuty Malware Protection for S3 feature. This is regardless of how you enable Malware Protection for S3 - within the GuardDuty service or independently.
-
-
Organizations
– Allows users to designate a delegated administrator and manage members for a GuardDuty organization.
The permission to perform an iam:GetRole
action on
AWSServiceRoleForAmazonGuardDutyMalwareProtection
establishes if the
service-linked role (SLR) for Malware Protection for EC2 exists in an account.
{ "Version": "2012-10-17", "Statement": [{ "Sid": "AmazonGuardDutyFullAccessSid1", "Effect": "Allow", "Action": "guardduty:*", "Resource": "*" }, { "Sid": "CreateServiceLinkedRoleSid1", "Effect": "Allow", "Action": "iam:CreateServiceLinkedRole", "Resource": "*", "Condition": { "StringLike": { "iam:AWSServiceName": [ "guardduty.amazonaws.com", "malware-protection.guardduty.amazonaws.com" ] } } }, { "Sid": "ActionsForOrganizationsSid1", "Effect": "Allow", "Action": [ "organizations:EnableAWSServiceAccess", "organizations:RegisterDelegatedAdministrator", "organizations:ListDelegatedAdministrators", "organizations:ListAWSServiceAccessForOrganization", "organizations:DescribeOrganizationalUnit", "organizations:DescribeAccount", "organizations:DescribeOrganization", "organizations:ListAccounts" ], "Resource": "*" }, { "Sid": "IamGetRoleSid1", "Effect": "Allow", "Action": "iam:GetRole", "Resource": "arn:aws-cn:iam::*:role/*AWSServiceRoleForAmazonGuardDutyMalwareProtection" }, { "Sid": "AllowPassRoleToMalwareProtectionPlan", "Effect": "Allow", "Action": [ "iam:PassRole" ], "Resource": "arn:aws-cn:iam::*:role/*", "Condition": { "StringEquals": { "iam:PassedToService": "malware-protection-plan.guardduty.amazonaws.com" } } } ] }
Amazon managed policy: AmazonGuardDutyReadOnlyAccess
You can attach the AmazonGuardDutyReadOnlyAccess
policy to your IAM
identities.
This policy grants read-only permissions that allow a user to view GuardDuty findings and details of your GuardDuty organization.
Permissions details
This policy includes the following permissions.
-
GuardDuty
– Allows users to view GuardDuty findings and perform API operations that start withGet
,List
, orDescribe
. -
Organizations
– Allows users to retrieve information about your GuardDuty organization configuration, including details of the delegated administrator account.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "guardduty:Describe*", "guardduty:Get*", "guardduty:List*" ], "Resource": "*" }, { "Effect": "Allow", "Action": [ "organizations:ListDelegatedAdministrators", "organizations:ListAWSServiceAccessForOrganization", "organizations:DescribeOrganizationalUnit", "organizations:DescribeAccount", "organizations:DescribeOrganization", "organizations:ListAccounts" ], "Resource": "*" } ] }
Amazon managed policy: AmazonGuardDutyServiceRolePolicy
You can't attach AmazonGuardDutyServiceRolePolicy
to your IAM entities.
This Amazon managed policy is attached to a service-linked role that allows GuardDuty to
perform actions on your behalf. For more information, see Service-linked role permissions for GuardDuty.
GuardDuty updates to Amazon managed policies
View details about updates to Amazon managed policies for GuardDuty since this service began tracking these changes. For automatic alerts about changes to this page, subscribe to the RSS feed on the GuardDuty Document history page.
Change | Description | Date |
---|---|---|
AmazonGuardDutyFullAccess_v2 – Added a new policy |
Added a new AmazonGuardDutyFullAccess_v2 policy. This is recommended because its permissions enhance security by restricting administrative actions to GuardDuty service principals based on IAM roles and policies, and Amazon Organizations integration. |
June 04, 2025 |
AmazonGuardDutyServiceRolePolicy – Update to an existing policy |
Added permission that allows you to pass an IAM role to GuardDuty when you enable Malware Protection for S3.
|
June 10, 2024 |
AmazonGuardDutyReadOnlyAccess – Update to an existing policy |
GuardDuty added a new policy for organizations to
ListAccounts . |
November 16, 2023 |
AmazonGuardDutyFullAccess – Update to an existing policy |
GuardDuty added a new policy for organizations to
ListAccounts . |
November 16, 2023 |
AmazonGuardDutyServiceRolePolicy – Update to an existing policy |
GuardDuty has added new permissions to allow GuardDuty to create Service-linked role for Malware Protection for EC2. This will help GuardDuty streamline the process of enabling Malware Protection for EC2. GuardDuty can now perform the following IAM action:
|
Feb 21, 2023 |
AmazonGuardDutyFullAccess – Update to an existing policy |
GuardDuty updated ARN for |
Jul 26, 2022 |
AmazonGuardDutyFullAccess – Update to an existing policy |
GuardDuty added a new GuardDuty can now perform the |
Jul 26, 2022 |
AmazonGuardDutyServiceRolePolicy – Update to an existing policy |
GuardDuty added new permissions to allow GuardDuty to use Amazon EC2 networking actions to improve findings. GuardDuty can now perform the following EC2 actions to gain information about how your EC2 instances are communicating. This information is used to improve finding accuracy.
|
Aug 3, 2021 |
GuardDuty started tracking changes |
GuardDuty started tracking changes for its Amazon managed policies. |
Aug 3, 2021 |