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
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 | |||
AcceptInvitation | Grants permission to accept Security Hub invitations to become a member account | Write | |||
BatchDeleteAutomationRules | Grants permission to delete one or more automation rules in Security Hub | Write | |||
BatchDisableStandards | Grants permission to disable standards in Security Hub | Write | |||
BatchEnableStandards | Grants permission to enable standards in Security Hub | Write | |||
BatchGetAutomationRules | Grants permission to retrieve a list of details for automation rules from Security Hub based on rule Amazon Resource Names (ARNs) | Read | |||
BatchGetConfigurationPolicyAssociations | Grants permission to retrieve information about configuration policies associated with a specific list of member accounts and organizational units of the calling account's organization | Read | |||
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 | |||
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 | |||
BatchUpdateAutomationRules | Grants permission to update one or more automation rules from Security Hub based on rule Amazon Resource Names (ARNs) and input parameters | Write | |||
BatchUpdateFindings | Grants permission to update customer-controlled fields for a selected set of Security Hub findings | Write | |||
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 | |||
CreateAutomationRule | Grants permission to create an automation rule based on input parameters | Write | |||
CreateConfigurationPolicy | Grants permission to create a configuration policy to manage organization member settings in Security Hub | Write | |||
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 | |||
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 | |||
DeleteConfigurationPolicy | Grants permission to delete an existing configuration policy | Write | |||
DeleteFindingAggregator | Grants permission to delete a finding aggregator, which disables finding aggregation across Regions | Write | |||
DeleteInsight | Grants permission to delete insights from Security Hub | Write | |||
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 | |||
DescribeOrganizationConfiguration | Grants permission to describe the organization configuration for Security Hub | Read | |||
DescribeProducts | Grants permission to retrieve information about the available Security Hub product integrations | Read | |||
DescribeStandards | Grants permission to retrieve information about Security Hub standards | Read | |||
DescribeStandardsControls | Grants permission to retrieve information about Security Hub standards controls | Read | |||
DisableImportFindingsForProduct | Grants permission to disable the findings importing for a Security Hub integrated product | Write | |||
DisableOrganizationAdminAccount | Grants permission to remove the Security Hub administrator account for your organization | Write |
organizations:DescribeOrganization |
||
DisableSecurityHub | Grants permission to disable Security Hub | Write | |||
DisassociateFromAdministratorAccount | Grants permission to a Security Hub member account to disassociate from the associated administrator account | 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 administrator account | Write | |||
EnableImportFindingsForProduct | Grants permission to enable the findings importing for a Security Hub integrated product | Write | |||
EnableOrganizationAdminAccount | Grants permission to designate a Security Hub administrator account for your organization | Write |
organizations:DescribeOrganization organizations:EnableAWSServiceAccess organizations:RegisterDelegatedAdministrator |
||
EnableSecurityHub | Grants permission to enable Security Hub | Write | |||
GetAdhocInsightResults [permission only] | Grants permission to retrieve insight results by providing a set of filters instead of an insight ARN | Read | |||
GetAdministratorAccount | Grants permission to retrieve details about the Security Hub administrator account | Read | |||
GetConfigurationPolicy | Grants permission to get a complete overview of one configuration policy created by the calling account | Read | |||
GetConfigurationPolicyAssociation | Grants permission to retrieve information about a configuration policy associated with a member account or organizational unit of the calling account's organization | Read | |||
GetControlFindingSummary [permission only] | Grants permission to retrieve a security score and counts of finding and control statuses for a security standard | Read | |||
GetEnabledStandards | Grants permission to retrieve a list of the standards that are enabled in Security Hub | List | |||
GetFindingAggregator | Grants permission to retrieve details for a finding aggregator, which configures finding aggregation across Regions | Read | |||
GetFindingHistory | Grants permission to retrieve a list of finding history from Security Hub | Read | |||
GetFindings | Grants permission to retrieve a list of findings from Security Hub | Read | |||
GetFreeTrialEndDate [permission only] | Grants permission to retrieve the end date for an account's free trial of Security Hub | Read | |||
GetFreeTrialUsage [permission only] | Grants permission to retrieve information about Security Hub usage during the free trial period | Read | |||
GetInsightFindingTrend [permission only] | Grants permission to retrieve an insight finding trend from Security Hub in order to generate a graph | Read | |||
GetInsightResults | Grants permission to retrieve insight results from Security Hub | Read | |||
GetInsights | Grants permission to retrieve Security Hub insights | List | |||
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 | |||
GetSecurityControlDefinition | Grants permission to get the definition details of a specific security control identified by ID | Read |
securityhub:DescribeStandardsControls |
||
GetUsage [permission only] | Grants permission to retrieve information about Security Hub usage by accounts | Read | |||
InviteMembers | Grants permission to invite other AWS accounts to become Security Hub member accounts | Write | |||
ListAutomationRules | Grants permission to retrieve a list of automation rules and their metadata for the calling account from Security Hub | List | |||
ListConfigurationPolicies | Grants permission to list the summaries of all configuration policies created by the calling account | List | |||
ListConfigurationPolicyAssociations | Grants permission to retrieve information about all configuration policies associationed with all member accounts and organizational units of the calling account's organization | List | |||
ListControlEvaluationSummaries [permission only] | Grants permission to retrieve a list of controls for a standard, including the control IDs, statuses and finding counts | Read | |||
ListEnabledProductsForImport | Grants permission to retrieve the Security Hub integrated products that are currently enabled | List | |||
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 | |||
ListMembers | Grants permission to retrieve details about Security Hub member accounts associated with the administrator account | List | |||
ListOrganizationAdminAccounts | Grants permission to list the Security Hub administrator accounts for your organization | List |
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 | |||
SendFindingEvents [permission only] | Grants permission to use a custom action to send Security Hub findings to Amazon EventBridge | Read | |||
SendInsightEvents [permission only] | Grants permission to use a custom action to send Security Hub insights to Amazon EventBridge | Read | |||
StartConfigurationPolicyAssociation | Grants permission to associate a configuration policy with a member account or organizational unit in the calling account's organization | Write | |||
StartConfigurationPolicyDisassociation | Grants permission to remove a configuration policy association from a member account or organizational unit in the calling account's organization | Write | |||
TagResource | Grants permission to add tags to a Security Hub resource | Tagging | |||
UntagResource | Grants permission to remove tags from a Security Hub resource | Tagging | |||
UpdateActionTarget | Grants permission to update custom actions in Security Hub | Write | |||
UpdateConfigurationPolicy | Grants permission to update an existing configuration policy | Write | |||
UpdateFindingAggregator | Grants permission to update a finding aggregator, which contains the cross-Region finding aggregation configuration | Write | |||
UpdateFindings | Grants permission to update Security Hub findings | Write | |||
UpdateInsight | Grants permission to update insights in Security Hub | Write | |||
UpdateOrganizationConfiguration | Grants permission to update the organization configuration for Security Hub | Write | |||
UpdateSecurityControl | Grants permission to update properties of a specific security control identified by ID or ARN | Write |
securityhub:UpdateStandardsControl |
||
UpdateSecurityHubConfiguration | Grants permission to update Security Hub configuration | Write | |||
UpdateStandardsControl | Grants permission to update Security Hub standards controls | Write |
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
|
|
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}
|
|
configuration-policy |
arn:${Partition}:securityhub:${Region}:${Account}:configuration-policy/${ConfigurationPolicyId}
|
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 |