AWSSecurityHubServiceRolePolicy

Last Modified

Jun 29, 2026

June 29, 2026 at 12:03 AM UTC

Version

v16

Total Versions

21

Created

Jun 27, 2026

Actions

58

Risk

High

An unrestricted escalation path, identity administration, secret reads or the power to switch off security monitoring. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • High

    Can switch off security monitoring

    Can disable Security Hub, which is how an intruder hides.

    securityhub:DisableSecurityHub

    Use with caution: Deny these actions with an SCP for everyone outside a break-glass role, so no single policy can blind you.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "SecurityHubServiceRolePermissions",
          "Effect": "Allow",
          "Action": [
            "cloudtrail:DescribeTrails",
            "cloudtrail:GetTrailStatus",
            "cloudtrail:GetEventSelectors",
            "cloudwatch:DescribeAlarms",
            "cloudwatch:DescribeAlarmsForMetric",
            "logs:DescribeMetricFilters",
            "sns:ListSubscriptionsByTopic",
            "config:DescribeConfigurationRecorders",
            "config:DescribeConfigurationRecorderStatus",
            "config:DescribeConfigRules",
            "config:DescribeConfigRuleEvaluationStatus",
            "config:BatchGetResourceConfig",
            "config:SelectResourceConfig",
            "iam:GenerateCredentialReport",
            "organizations:ListAccounts",
            "config:PutEvaluations",
            "tag:GetResources",
            "iam:GetCredentialReport",
            "organizations:DescribeAccount",
            "organizations:DescribeOrganization",
            "organizations:ListChildren",
            "organizations:ListAWSServiceAccessForOrganization",
            "organizations:DescribeOrganizationalUnit",
            "securityhub:BatchDisableStandards",
            "securityhub:BatchEnableStandards",
            "securityhub:BatchUpdateStandardsControlAssociations",
            "securityhub:BatchGetSecurityControls",
            "securityhub:BatchGetStandardsControlAssociations",
            "securityhub:CreateMembers",
            "securityhub:DeleteMembers",
            "securityhub:DescribeHub",
            "securityhub:DescribeOrganizationConfiguration",
            "securityhub:DescribeStandards",
            "securityhub:DescribeStandardsControls",
            "securityhub:DisassociateFromAdministratorAccount",
            "securityhub:DisassociateMembers",
            "securityhub:DisableSecurityHub",
            "securityhub:EnableSecurityHub",
            "securityhub:GetEnabledStandards",
            "securityhub:ListStandardsControlAssociations",
            "securityhub:ListSecurityControlDefinitions",
            "securityhub:UpdateOrganizationConfiguration",
            "securityhub:UpdateSecurityControl",
            "securityhub:UpdateSecurityHubConfiguration",
            "securityhub:UpdateStandardsControl"
          ],
          "Resource": "*"
        },
        {
          "Sid": "SecurityHubServiceRoleConfigPermissions",
          "Effect": "Allow",
          "Action": [
            "config:PutConfigRule",
            "config:DeleteConfigRule",
            "config:GetComplianceDetailsByConfigRule"
          ],
          "Resource": "arn:aws:config:*:*:config-rule/aws-service-rule/*securityhub*"
        },
        {
          "Sid": "SecurityHubServiceRoleOrganizationsPermissions",
          "Effect": "Allow",
          "Action": [
            "organizations:ListDelegatedAdministrators"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "organizations:ServicePrincipal": [
                "securityhub.amazonaws.com"
              ]
            }
          }
        },
        {
          "Sid": "SecurityHubCSPMServiceRoleConfig",
          "Effect": "Allow",
          "Action": [
            "config:PutServiceLinkedConfigurationRecorder",
            "config:PutThirdPartyServiceLinkedConfigurationRecorder",
            "config:DeleteServiceLinkedConfigurationRecorder",
            "config:DescribeConfigurationRecorders",
            "config:DescribeConfigurationRecorderStatus"
          ],
          "Resource": [
            "arn:aws:config:*:*:configuration-recorder/*ConfigurationRecorderForSecurityHubCSPM*"
          ]
        },
        {
          "Sid": "SecurityHubCSPMServiceRoleConfigListAndGet",
          "Effect": "Allow",
          "Action": [
            "config:ListConfigurationRecorders",
            "config:GetConnector"
          ],
          "Resource": "*"
        },
        {
          "Sid": "SecurityHubCSPMServiceRoleIamPermissions",
          "Effect": "Allow",
          "Action": [
            "iam:CreateServiceLinkedRole"
          ],
          "Resource": "arn:aws:iam::*:role/aws-service-role/config.amazonaws.com/AWSServiceRoleForConfig",
          "Condition": {
            "StringEquals": {
              "iam:AWSServiceName": "config.amazonaws.com"
            }
          }
        },
        {
          "Sid": "SecurityHubCSPMServiceRoleConfigMetricsPermissions",
          "Effect": "Allow",
          "Action": "cloudwatch:GetMetricData",
          "Resource": "*"
        }
      ]
    },
    "VersionId": "v16",
    "IsDefaultVersion": true,
    "CreateDate": "2026-06-27T00:42:14+00:00"
  }
}

Version History (24 recorded)

Raw history
v16updated

4 actions added

7cd2231
v15updated

3 actions added

28d9c93
Permissions management: iam:CreateServiceLinkedRole: iam:CreateServiceLinkedRole

AWSSecurityHubServiceRolePolicy - Policy Version v14

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

ee5100e

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 27, 2023

74f98fe

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 7, 2023

f0fa995

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 27, 2023

600d47f

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 20, 2023

fc5144b

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Mar 18, 2023

233048b

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jul 14, 2021

8e3a0dd

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jun 29, 2021

7690e63

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 21, 2020

b926251

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Aug 31, 2020

46a4c5e

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Apr 21, 2020

396bfa2

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Apr 8, 2020

bb5dbbb

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Feb 6, 2020

de43d7b

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

49aa1d0

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

71619cf

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

8279033