iot:ListActiveViolations

List

iot:ListActiveViolations is a List access-level action in the iot service. Grants permission to list the active violations for a given Device Defender security profile or Thing

Resource types

ARNs that iot:ListActiveViolations can be scoped to in an IAM policy.

arn:${Partition}:iot:${Region}:${Account}:securityprofile/${SecurityProfileName}
securityprofile
arn:${Partition}:iot:${Region}:${Account}:thing/${ThingName}
thing

Condition keys

Keys you can use in the Condition block of a policy that grants iot:ListActiveViolations.

aws:ResourceTag/${TagKey} String

Filters access by a tag key component of a tag associated to the IoT resource in the request

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowIotListActiveViolations",
      "Effect": "Allow",
      "Action": "iot:ListActiveViolations",
      "Resource": "*"
    }
  ]
}

Related actions in iot

View all iot actions →