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 AWS Security Hub

AWS Security Hub (service prefix: securityhub) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions Defined by AWS Security Hub

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 Security Hub invitations to become a member account. Write
BatchDisableStandards Grants permission to disable standards in Security Hub. Write

standards-subscription*

BatchEnableStandards Grants permission to enable standards in Security Hub. Write

standard*

BatchImportFindings Grants permission to import findings into Security Hub from an integrated product. Write

securityhub:TargetAccount

CreateActionTarget Grants permission to create custom actions in Security Hub. Write
CreateInsight Grants permission to create insights in Security Hub. Insights are collections of related findings. Write
CreateMembers Grants permission to create member accounts in Security Hub. Write
DeclineInvitations Grants permission to decline Security Hub invitations to become a member account. Write
DeleteActionTarget Grants permission to delete custom actions in Security Hub. Write

action-target*

DeleteInsight Grants permission to delete insights from Security Hub. Write

insight*

DeleteInvitations Grants permission to delete Security Hub invitations to become a member account. Write
DeleteMembers Grants permission to delete Security Hub member accounts. Write
DescribeActionTargets Grants permission to retrieve a list of custom actions using the API. Read
DescribeHub Grants permission to retrieve information about the hub resource in your account. Read
DescribeProducts Grants permission to retrieve information about the available Security Hub product integrations. Read
DisableImportFindingsForProduct Grants permission to disable the findings importing for a Security Hub integrated product. Write

product*

DisableSecurityHub Grants permission to disable Security Hub. Write
DisassociateFromMasterAccount Grants permission to a Security Hub member account to disassociate from the associated master account. Write
DisassociateMembers Grants permission to disassociate Security Hub member accounts from the associated master account. Write
EnableImportFindingsForProduct Grants permission to enable the findings importing for a Security Hub integrated product. Write

product*

EnableSecurityHub Grants permission to enable Security Hub. Write

aws:RequestTag/${TagKey}

aws:TagKeys

GetEnabledStandards Grants permission to retrieve a list of the standards that are enabled in Security Hub. List
GetFindings Grants permission to retrieve a list of findings from Security Hub. Read
GetInsightResults Grants permission to retrieve insight results from Security Hub. Read

insight*

GetInsights Grants permission to retrieve Security Hub insights. List

insight*

GetInvitationsCount Grants permission to retrieve the count of Security Hub membership invitations sent to the account. Read
GetMasterAccount Grants permission to retrieve details about the Security Hub master account. Read
GetMembers Grants permission to retrieve the details of Security Hub member accounts. Read
InviteMembers Grants permission to invite other AWS accounts to become Security Hub member accounts. Write
ListEnabledProductsForImport Grants permission to retrieve the Security Hub integrated products that are currently enabled. List
ListInvitations Grants permission to retrieve the Security Hub invitations sent to the account. List
ListMembers Grants permission to retrieve details about Security Hub member accounts associated with the master account. List
ListTagsForResource Grants permission to list of tags associated with a resource. List

hub*

TagResource Grants permission to add tags to a Security Hub resource. Write

hub*

UntagResource Grants permission to remove tags from a Security Hub resource. Write

hub*

UpdateActionTarget Grants permission to update custom actions in Security Hub. Write

action-target*

UpdateFindings Grants permission to update Security Hub findings. Write
UpdateInsight Grants permission to update insights in Security Hub. Write

insight*

Resources Defined by AWS Security Hub

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
insight arn:${Partition}:securityhub:${Region}:${Account}:insight/${CompanyId}/${ProductId}/${UniqueId}
standard arn:${Partition}:securityhub:::ruleset/${StandardsName}/v/${StandardsVersion}
standards-subscription arn:${Partition}:securityhub:${Region}:${Account}:subscription/${StandardsName}/v/${StandardsVersion}
product-subscription arn:${Partition}:securityhub:${Region}:${Account}:product-subscription/${Company}/${ProductId}
product arn:${Partition}:securityhub:${Region}:${Account}:product/${Company}/${ProductId}
hub arn:${Partition}:securityhub:${Region}:${Account}:hub/default

aws:ResourceTag/${TagKey}

action-target arn:${Partition}:securityhub:${Region}:${Account}:action/custom/${Id}

Condition Keys for AWS Security Hub

AWS Security Hub 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
securityhub:TargetAccount The ID of the AWS account into which you want to import findings. In the AWS Security Finding format, this field is called AwsAccountId String