AWS Identity and Access Management
User Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Actions, Resources, and Condition Keys for Amazon GuardDuty

Amazon GuardDuty (service prefix: guardduty) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions Defined by Amazon GuardDuty

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.

The Resource column indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") in the Resource element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. Required resources are indicated in the table with an asterisk (*). If you specify a resource-level permission ARN in a statement using this action, then it must be of this type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one but not the other.

For details about the columns in the following table, see The Actions Table.

Actions Description Access Level Resource Types (*required) Condition Keys Dependent Actions
AcceptInvitation Grants permission to accept invitations to become a GuardDuty member account. Write

detector*

ArchiveFindings Grants permission to archive GuardDuty findings. Write

detector*

CreateDetector Grants permission to create a detector. Write

aws:RequestTag/${TagKey}

aws:TagKeys

CreateFilter Grants permission to create GuardDuty filters. A filters defines finding attributes and conditions used to filter findings. Write

detector*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateIPSet Grants permission to create an IPSet. Write

detector*

aws:RequestTag/${TagKey}

aws:TagKeys

CreateMembers Grants permission to create GuardDuty member accounts. The account used to create a member becomes the GuardDuty master account. Write

detector*

CreateSampleFindings Grants permission to create sample findings. Write

detector*

CreateThreatIntelSet Grants permission to create GuardDuty ThreatIntelSets. A ThreatIntelSet consists of known malicious IP addresses used by GuardDuty to generate findings. Write

detector*

aws:RequestTag/${TagKey}

aws:TagKeys

DeclineInvitations Grants permission to decline invitations to become a GuardDuty member account. Write
DeleteDetector Grants permission to delete GuardDuty detectors. Write

detector*

DeleteFilter Grants permission to delete GuardDuty filters. Write

detector*

filter*

DeleteIPSet Grants permission to delete GuardDuty IPSets. Write

detector*

ipset*

DeleteInvitations Grants permission to delete invitations to become a GuardDuty member account. Write
DeleteMembers Grants permission to delete GuardDuty member accounts. Write

detector*

DeleteThreatIntelSet Grants permission to delete GuardDuty ThreatIntelSets. Write

detector*

threatintelset*

DisassociateFromMasterAccount Grants permission to disassociate a GuardDuty member account from its GuardDuty master account. Write

detector*

DisassociateMembers Grants permission to disassociate GuardDuty member accounts from their master GuardDuty account. Write

detector*

GetDetector Grants permission to retrieve GuardDuty detectors. Read

detector*

GetFilter Grants permission to retrieve GuardDuty filters. Read

detector*

filter*

GetFindings Grants permission to retrieve GuardDuty findings. Read

detector*

GetFindingsStatistics Grants permission to retrieve a list of GuardDuty finding statistics. Read

detector*

GetIPSet Grants permsission to retrieve GuardDuty IPSets. Read

detector*

ipset*

GetInvitationsCount Grants permission to retrieve the count of all GuardDuty invitations sent to a specified account. The count does not include an accepted invitation. Read
GetMasterAccount Grants permission to retrieve details of the GuardDuty master account associated with a member account. Read

detector*

GetMembers Grants permission to retrieve the member accounts associated with a master account. Read

detector*

GetThreatIntelSet Grants permission to retrieve GuardDuty ThreatIntelSets. Read

detector*

threatintelset*

InviteMembers Grants permission to invite other AWS accounts to enable GuardDuty and become GuardDuty member accounts. Write

detector*

ListDetectors Grants permission to retrieve a list of GuardDuty detectors. List
ListFilters Grants permission to retrieve a list of GuardDuty filters. List

detector*

ListFindings Grants permission to retrieve a list of GuardDuty findings. List

detector*

ListIPSets Grants permission to retrieve a list of GuardDuty IPSets. List

detector*

ListInvitations Grants permission to retrieve a lists of all of the GuardDuty membership invitations that were sent to an AWS account. List
ListMembers Grants permission to retrierve a lsit of GuardDuty member accounts associated with a master account. List

detector*

ListTagsForResource Grants permission to retrieve a list of tags associated with a GuardDuty resource. List

detector

filter

ipset

threatintelset

ListThreatIntelSets Grants permission to retrieve a list of GuardDuty ThreatIntelSets. List

detector*

StartMonitoringMembers Grants permission to a master account to monitor findings from GuardDuty member accounts. Use this after disabling monitoring of member accounts using the StopMonitoringMembers operation. Write

detector*

StopMonitoringMembers Grants permission to disable monitoring findings from member accounts. Write

detector*

TagResource Grants permission to add tags to a GuardDuty resource. There is a limit of 50 tags per resource. Write

detector

filter

ipset

threatintelset

aws:RequestTag/${TagKey}

aws:TagKeys

UnarchiveFindings Grants permission to unarchive GuardDuty findings. Write

detector*

UntagResource Grants permission to remove tags from a GuardDuty resource. Write

detector

filter

ipset

threatintelset

aws:TagKeys

UpdateDetector Grants permission to update GuardDuty detectors. Write

detector*

UpdateFilter Grants permission to updates GuardDuty filters. Write

detector*

filter*

UpdateFindingsFeedback Grants permission to update findings feedback to mark GuardDuty findings as useful or not useful. Write

detector*

UpdateIPSet Grants permission to update GuardDuty IPSets. Write

detector*

ipset*

UpdateThreatIntelSet Grants permission to updates the GuardDuty ThreatIntelSets. Write

detector*

threatintelset*

Resources Defined by Amazon GuardDuty

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the table. For details about the columns in the following table, see The Resource Types Table.

Resource Types ARN Condition Keys
detector arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}

aws:ResourceTag/${TagKey}

filter arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/filter/${FilterName}

aws:ResourceTag/${TagKey}

ipset arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/ipset/${IPSetId}

aws:ResourceTag/${TagKey}

threatintelset arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/threatintelset/${ThreatIntelSetId}

aws:ResourceTag/${TagKey}

Condition Keys for Amazon GuardDuty

Amazon GuardDuty defines the following condition keys that can be used in the Condition element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see The Condition Keys Table.

To view the global condition keys that are available to all services, see Available Global Condition Keys in the IAM Policy Reference.

Condition Keys Description Type
aws:RequestTag/${TagKey} Filters actions based on the presence of tag key-value pairs in the request String
aws:ResourceTag/${TagKey} Filters actions based on tag key-value pairs attached to the resource String
aws:TagKeys Filters actions based on the presence of tag keys in the request String