securityhub:GetUsageV2

Read

securityhub:GetUsageV2 is a Read access-level action in the securityhub service. Grants permission to retrieve information about Security Hub usage for an account

Resource types

ARNs that securityhub:GetUsageV2 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:GetUsageV2.

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

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

Related actions in securityhub

View all securityhub actions →