inspector2:CreateCisScanConfiguration

Write

inspector2:CreateCisScanConfiguration is a Write access-level action in the inspector2 service. Grants permission to create and define the settings for a CIS scan configuration

Resource types

ARNs that inspector2:CreateCisScanConfiguration can be scoped to in an IAM policy.

arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/cis-configuration/${CISScanConfigurationId} required
CIS Scan Configuration

Condition keys

Keys you can use in the Condition block of a policy that grants inspector2:CreateCisScanConfiguration.

aws:RequestTag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request

aws:ResourceTag/${TagKey} String

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

aws:TagKeys ArrayOfString

Filters access by the presence of tag keys in the request

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowInspector2CreateCisScanConfiguration",
      "Effect": "Allow",
      "Action": "inspector2:CreateCisScanConfiguration",
      "Resource": "*"
    }
  ]
}

Related actions in inspector2

View all inspector2 actions →