inspector2:CreateFilter

Write

inspector2:CreateFilter is a Write access-level action in the inspector2 service. Grants permission to create and define the settings for a findings filter

Resource types

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

arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/filter/${FilterId}
Filter

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in inspector2

View all inspector2 actions →