securityhub:BatchGetAutomationRules

Read

securityhub:BatchGetAutomationRules is a Read access-level action in the securityhub service. Grants permission to retrieve a list of details for automation rules from Security Hub based on rule Amazon Resource Names (ARNs)

Resource types

ARNs that securityhub:BatchGetAutomationRules can be scoped to in an IAM policy.

arn:${Partition}:securityhub:${Region}:${Account}:automation-rule/${AutomationRuleId}
automation-rule

Condition keys

Keys you can use in the Condition block of a policy that grants securityhub:BatchGetAutomationRules.

aws:ResourceTag/${TagKey} String

Filters access by actions based on tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows securityhub:BatchGetAutomationRules. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSecurityhubBatchGetAutomationRules",
      "Effect": "Allow",
      "Action": "securityhub:BatchGetAutomationRules",
      "Resource": "*"
    }
  ]
}

Related actions in securityhub

View all securityhub actions →