Actions, resources, and condition keys for AWS Security Hub - Service Authorization Reference

# 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:

- Learn how to configure this service .

- View a list of the API operations available for this service .

- Learn how to secure this service and its resources by using IAM permission policies.

###### Topics

- Actions defined by AWS Security Hub
- Resource types defined by AWS Security Hub
- Condition keys for AWS Security Hub

## 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 types column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies 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. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the `Resource` element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.

The Condition keys column of the Actions table includes keys that you can specify in a policy statement's `Condition` element. For more information on the condition keys that are associated with resources for the service, see the Condition keys column of the Resource types table.

###### Note

Resource condition keys are listed in the Resource types table. You can find a link to the resource type that applies to an action in the Resource types (*required) column of the Actions table. The resource type in the Resource types table includes the Condition keys column, which are the resource condition keys that apply to an action in the Actions table.

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

Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions
--- | --- | --- | --- | --- | ---
AcceptAdministratorInvitation | Grants permission to accept Security Hub invitations to become a member account | Write | hub |  |
AcceptInvitation | Grants permission to accept Security Hub invitations to become a member account | Write | hub |  |
BatchDeleteAutomationRules | Grants permission to delete one or more automation rules in Security Hub | Write | automation-rule* |  |
BatchDisableStandards | Grants permission to disable standards in Security Hub | Write | hub |  |
BatchEnableStandards | Grants permission to enable standards in Security Hub | Write | hub |  |
BatchGetAutomationRules | Grants permission to retrieve a list of details for automation rules from Security Hub based on rule Amazon Resource Names (ARNs) | Read | automation-rule* |  |
BatchGetControlEvaluations [permission only] | Grants permission to get the enablement and compliance status of controls, the findings count for controls, and the overall security score for controls on the Security Hub console | Read | hub |  |
BatchGetSecurityControls | Grants permission to get details about specific security controls identified by ID or ARN | Read |  |  | securityhub:DescribeStandardsControls
BatchGetStandardsControlAssociations | Grants permission to get the enablement status of a batch of security controls in standards | Read |  |  | securityhub:DescribeStandardsControls
BatchImportFindings | Grants permission to import findings into Security Hub from an integrated product | Write | product* |  |
| securityhub:TargetAccount |
BatchUpdateAutomationRules | Grants permission to update one or more automation rules from Security Hub based on rule Amazon Resource Names (ARNs) and input parameters | Write | automation-rule* |  |
BatchUpdateFindings | Grants permission to update customer-controlled fields for a selected set of Security Hub findings | Write | hub |  |
| securityhub:ASFFSyntaxPath/${ASFFSyntaxPath} |
BatchUpdateStandardsControlAssociations | Grants permission to update the enablement status of a batch of security controls in standards | Write |  |  | securityhub:UpdateStandardsControl
CreateActionTarget | Grants permission to create custom actions in Security Hub | Write | hub |  |
CreateAutomationRule | Grants permission to create an automation rule based on input parameters | Write |  | aws:RequestTag/${TagKey} aws:TagKeys |
CreateFindingAggregator | Grants permission to create a finding aggregator, which contains the cross-Region finding aggregation configuration | Write |  |  |
CreateInsight | Grants permission to create insights in Security Hub. Insights are collections of related findings | Write | hub |  |
CreateMembers | Grants permission to create member accounts in Security Hub | Write | hub |  |
DeclineInvitations | Grants permission to decline Security Hub invitations to become a member account | Write | hub |  |
DeleteActionTarget | Grants permission to delete custom actions in Security Hub | Write | hub |  |
DeleteFindingAggregator | Grants permission to delete a finding aggregator, which disables finding aggregation across Regions | Write | finding-aggregator* |  |
DeleteInsight | Grants permission to delete insights from Security Hub | Write | hub |  |
DeleteInvitations | Grants permission to delete Security Hub invitations to become a member account | Write | hub |  |
DeleteMembers | Grants permission to delete Security Hub member accounts | Write | hub |  |
DescribeActionTargets | Grants permission to retrieve a list of custom actions using the API | Read | hub |  |
DescribeHub | Grants permission to retrieve information about the hub resource in your account | Read | hub |  |
DescribeOrganizationConfiguration | Grants permission to describe the organization configuration for Security Hub | Read | hub |  |
DescribeProducts | Grants permission to retrieve information about the available Security Hub product integrations | Read | hub |  |
DescribeStandards | Grants permission to retrieve information about Security Hub standards | Read | hub |  |
DescribeStandardsControls | Grants permission to retrieve information about Security Hub standards controls | Read | hub |  |
DisableImportFindingsForProduct | Grants permission to disable the findings importing for a Security Hub integrated product | Write | hub |  |
DisableOrganizationAdminAccount | Grants permission to remove the Security Hub administrator account for your organization | Write | hub |  | organizations:DescribeOrganization
DisableSecurityHub | Grants permission to disable Security Hub | Write | hub |  |
DisassociateFromAdministratorAccount | Grants permission to a Security Hub member account to disassociate from the associated administrator account | Write | hub |  |
DisassociateFromMasterAccount | Grants permission to a Security Hub member account to disassociate from the associated master account | Write | hub |  |
DisassociateMembers | Grants permission to disassociate Security Hub member accounts from the associated administrator account | Write | hub |  |
EnableImportFindingsForProduct | Grants permission to enable the findings importing for a Security Hub integrated product | Write | hub |  |
EnableOrganizationAdminAccount | Grants permission to designate a Security Hub administrator account for your organization | Write | hub |  | organizations:DescribeOrganization organizations:EnableAWSServiceAccess organizations:RegisterDelegatedAdministrator
EnableSecurityHub | Grants permission to enable Security Hub | Write | hub |  |
| aws:RequestTag/${TagKey} aws:TagKeys |
GetAdhocInsightResults [permission only] | Grants permission to retrieve insight results by providing a set of filters instead of an insight ARN | Read | hub |  |
GetAdministratorAccount | Grants permission to retrieve details about the Security Hub administrator account | Read | hub |  |
GetControlFindingSummary [permission only] | Grants permission to retrieve a security score and counts of finding and control statuses for a security standard | Read | hub |  |
GetEnabledStandards | Grants permission to retrieve a list of the standards that are enabled in Security Hub | List | hub |  |
GetFindingAggregator | Grants permission to retrieve details for a finding aggregator, which configures finding aggregation across Regions | Read | finding-aggregator* |  |
GetFindingHistory | Grants permission to retrieve a list of finding history from Security Hub | Read | hub |  |
GetFindings | Grants permission to retrieve a list of findings from Security Hub | Read | hub |  |
GetFreeTrialEndDate [permission only] | Grants permission to retrieve the end date for an account's free trial of Security Hub | Read | hub |  |
GetFreeTrialUsage [permission only] | Grants permission to retrieve information about Security Hub usage during the free trial period | Read | hub |  |
GetInsightFindingTrend [permission only] | Grants permission to retrieve an insight finding trend from Security Hub in order to generate a graph | Read | hub |  |
GetInsightResults | Grants permission to retrieve insight results from Security Hub | Read | hub |  |
GetInsights | Grants permission to retrieve Security Hub insights | List | hub |  |
GetInvitationsCount | Grants permission to retrieve the count of Security Hub membership invitations sent to the account | Read | hub |  |
GetMasterAccount | Grants permission to retrieve details about the Security Hub master account | Read | hub |  |
GetMembers | Grants permission to retrieve the details of Security Hub member accounts | Read | hub |  |
GetUsage [permission only] | Grants permission to retrieve information about Security Hub usage by accounts | Read | hub |  |
InviteMembers | Grants permission to invite other AWS accounts to become Security Hub member accounts | Write | hub |  |
ListAutomationRules | Grants permission to retrieve a list of automation rules and their metadata for the calling account from Security Hub | List |  |  |
ListControlEvaluationSummaries [permission only] | Grants permission to retrieve a list of controls for a standard, including the control IDs, statuses and finding counts | Read | hub |  |
ListEnabledProductsForImport | Grants permission to retrieve the Security Hub integrated products that are currently enabled | List | hub |  |
ListFindingAggregators | Grants permission to retrieve a list of finding aggregators, which contain the cross-Region finding aggregation configuration | List |  |  |
ListInvitations | Grants permission to retrieve the Security Hub invitations sent to the account | List | hub |  |
ListMembers | Grants permission to retrieve details about Security Hub member accounts associated with the administrator account | List | hub |  |
ListOrganizationAdminAccounts | Grants permission to list the Security Hub administrator accounts for your organization | List | hub |  | organizations:DescribeOrganization
ListSecurityControlDefinitions | Grants permission to retrieve a list of security control definitions, which contain details for security controls in the current region | List |  |  |
ListStandardsControlAssociations | Grants permission to list the enablement status of a security control in standards | List |  |  | securityhub:DescribeStandardsControls
ListTagsForResource | Grants permission to list of tags associated with a resource | Read | automation-rule |  |
hub |  |
SendFindingEvents [permission only] | Grants permission to use a custom action to send Security Hub findings to Amazon EventBridge | Read | hub |  |
SendInsightEvents [permission only] | Grants permission to use a custom action to send Security Hub insights to Amazon EventBridge | Read | hub |  |
TagResource | Grants permission to add tags to a Security Hub resource | Tagging | automation-rule |  |
hub |  |
UntagResource | Grants permission to remove tags from a Security Hub resource | Tagging | automation-rule |  |
hub |  |
UpdateActionTarget | Grants permission to update custom actions in Security Hub | Write | hub |  |
UpdateFindingAggregator | Grants permission to update a finding aggregator, which contains the cross-Region finding aggregation configuration | Write | finding-aggregator* |  |
UpdateFindings | Grants permission to update Security Hub findings | Write | hub |  |
UpdateInsight | Grants permission to update insights in Security Hub | Write | hub |  |
UpdateOrganizationConfiguration | Grants permission to update the organization configuration for Security Hub | Write | hub |  |
UpdateSecurityHubConfiguration | Grants permission to update Security Hub configuration | Write | hub |  |
UpdateStandardsControl | Grants permission to update Security Hub standards controls | Write | hub |  |

## Resource types 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 Resource types table. For details about the columns in the following table, see Resource types table .

Resource types | ARN | Condition keys
--- | --- | ---
hub | `arn:$ { Partition}:securityhub:$ { Region}:$ { Account}:hub/default` | aws:ResourceTag/${TagKey}
product | `arn:$ { Partition}:securityhub:$ { Region}:$ { Account}:product/$ { Company}/$ { ProductId}` |
finding-aggregator | `arn:$ { Partition}:securityhub:$ { Region}:$ { Account}:finding-aggregator/$ { FindingAggregatorId}` |
automation-rule | `arn:$ { Partition}:securityhub:$ { Region}:$ { Account}:automation-rule/$ { AutomationRuleId}` |

## 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 Condition keys table .

To view the global condition keys that are available to all services, see Available global condition keys .

Condition keys | Description | Type
--- | --- | ---
aws:RequestTag/${TagKey} | Filters access by actions based on the presence of tag key-value pairs in the request | String
aws:ResourceTag/${TagKey} | Filters access by actions based on tag key-value pairs attached to the resource | String
aws:TagKeys | Filters access by actions based on the presence of tag keys in the request | ArrayOfString
securityhub:ASFFSyntaxPath/${ASFFSyntaxPath} | Filters access by the specified fields and values in the request | String
securityhub:TargetAccount | Filters access by the AwsAccountId field that is specified in the request | String

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.