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)
ARNs that securityhub:BatchGetAutomationRules can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants securityhub:BatchGetAutomationRules.
Filters access by actions based on tag key-value pairs attached to the resource
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": "*"
}
]
}