Menu
AWS Identity and Access Management
User Guide

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. By using policies, you define the permissions for anyone performing 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. 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 Accepts the invitation to be monitored by a master GuardDuty account. Write

detector*

ArchiveFindings Archives Amazon GuardDuty findings specified by the list of finding IDs. Write

detector*

CreateDetector Creates an object representing the Amazon GuardDuty service. Write
CreateIPSet Creates a new IPSet - a list of trusted IP addresses that have been whitelisted for secure communication with your AWS environment. Write

detector*

CreateMembers Creates member GuardDuty accounts to the current AWS account (which becomes the master GuardDuty account) that has GuardDuty enabled. Write

detector*

CreateSampleFindings Creates sample findings of the types specified by a list of GuardDuty finding types. If 'NULL' is specified for findingTypes, the operation creates sample findings of all supported GuardDuty finding types. Write

detector*

CreateThreatIntelSet Create a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets. Write

detector*

DeclineInvitations Declines invitations sent to this AWS account (invitee) by the AWS accounts (inviters) specified by the account IDs. Write
DeleteDetector Deletes the Amazon GuardDuty detector specified by the detector ID. Write

detector*

DeleteIPSet Deletes the IPSet specified by the IPSet ID. Write

detector*

ipset*

DeleteInvitations Deletes invitations sent to this AWS account (invitee) by the AWS accounts (inviters) specified by their account IDs. Write
DeleteMembers Deletes GuardDuty member accounts specified by the account IDs. Write

detector*

DeleteThreatIntelSet Deletes the ThreatIntelSet specified by the ThreatIntelSet ID. Write

detector*

threatintelset*

DisassociateFromMasterAccount Disassociates the current GuardDuty member account from its GuardDuty master account. Write

detector*

DisassociateMembers Disassociates GuardDuty member accounts specified by the account IDs from their master GuardDuty account. Write

detector*

GetDetector Returns the properties of the Amazon GuardDuty detector that is specified by the detectorId. Read

detector*

GetFindings Describes Amazon GuardDuty findings specified by finding IDs. Read

detector*

GetFindingsStatistics Lists Amazon GuardDuty findings' statistics for the specified detector ID. Read

detector*

GetIPSet Returns the properties of the IPSet specified by the IPSet ID. Read

detector*

ipset*

GetInvitationsCount Returns the count of all GuardDuty membership invitations that were sent to the current member account, not including the currently accepted invitation. Read
GetMasterAccount Provides the details for the GuardDuty master account to the current GuardDuty member account. Read

detector*

GetMembers Returns the details on the GuardDuty member accounts specified by the account IDs. Read

detector*

GetThreatIntelSet Returns the properties of the ThreatIntelSet that is specified by the ThreatIntelSet ID. Read

detector*

threatintelset*

InviteMembers Invites other AWS accounts to enable GuardDuty and become GuardDuty member accounts, thus allowing the master GuardDuty account to view and manage their GuardDuty findings on their behalf. Write

detector*

ListDetectors Lists detectorIds of all existing enabled Amazon GuardDuty detectors in the AWS account. List
ListFindings Lists Amazon GuardDuty findings for the specified detector ID. List

detector*

ListIPSets Lists the IPSets of the GuardDuty service specified by the detector ID. List

detector*

ListInvitations Lists all GuardDuty membership invitations that were sent to the current AWS account. List
ListMembers Lists details about all member accounts for the current GuardDuty master account. List

detector*

ListThreatIntelSets Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID. List

detector*

StartMonitoringMembers Re-enables GuardDuty to monitor findings of the member accounts specified by the account IDs. A master GuardDuty account can run this command after disabling GuardDuty from monitoring these members' findings by running StopMonitoringMembers. Write

detector*

StopMonitoringMembers Disables GuardDuty from monitoring findings of the member accounts specified by the account IDs. After running this command, a master GuardDuty account can run StartMonitoringMembers to re-enable GuardDuty to monitor these members' findings. Write

detector*

UnarchiveFindings Unarchives Amazon GuardDuty findings specified by the list of finding IDs. Write

detector*

UpdateDetector Updates the Amazon GuardDuty detector specified by the detectorId. Write

detector*

UpdateFindingsFeedback Marks specified Amazon GuardDuty findings as useful or not useful. Write

detector*

UpdateIPSet Updates the IPSet specified by the IPSet ID. Write

detector*

ipset*

UpdateThreatIntelSet Updates the ThreatIntelSet specified by ThreatIntelSet ID. Write

detector*

threatintelset*

Resources Defined by 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}
ipset arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/ipset/${IPSetId}
threatintelset arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/threatintelset/${ThreatIntelSetId}

Condition Keys for Amazon GuardDuty

GuardDuty has no service-specific context keys that can be used in the Condition element of policy statements. For the list of the global context keys that are available to all services, see Available Keys for Conditions in the IAM Policy Reference.