guardduty:CreateFilter

Write

guardduty:CreateFilter is a Write access-level action in the guardduty service. Grants permission to create GuardDuty filters. A filters defines finding attributes and conditions used to filter findings

Resource types

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

arn:${Partition}:guardduty:${Region}:${Account}:detector/${DetectorId}/filter/${FilterName}
filter

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in guardduty

View all guardduty actions →