securityhub:GetResourcesStatisticsV2

Read

securityhub:GetResourcesStatisticsV2 is a Read access-level action in the securityhub service. Grants permission to retrieve aggregate statistics about resources

Resource types

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

arn:${Partition}:securityhub:${Region}:${Account}:hubv2/${HubV2Id}
hubv2

Condition keys

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

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:GetResourcesStatisticsV2. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in securityhub

View all securityhub actions →