Skip to main content
IAM Policy Map

AWSIoTDeviceDefenderAudit

ReaderService roleActivePermissions reviewedShow on mapCompare

Summary

Provides read access for IoT and related resources

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/service-role/AWSIoTDeviceDefenderAudit
Default version
v3
Created
Last edited
Services
cognito-identity, iam, iot

Control-plane actions (20)

By access level: 6 List, 14 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Cognito Identity1 of 211 Read; 0 restricted, 0 conditionalcognito-identity:GetIdentityPoolRoles
IAM8 of 1902 List, 6 Read; 0 restricted, 0 conditionaliam:GenerateServiceLastAccessedDetails, iam:GetPolicy, iam:GetPolicyVersion, iam:GetRole, iam:GetRolePolicy, iam:GetServiceLastAccessedDetails, iam:ListAttachedRolePolicies, iam:ListRolePolicies
IoT11 of 2934 List, 7 Read; 0 restricted, 0 conditionaliot:DescribeCACertificate, iot:DescribeCertificate, iot:DescribeRoleAlias, iot:GetEffectivePolicies, iot:GetLoggingOptions, iot:GetPolicy, iot:GetV2LoggingOptions, iot:ListCACertificates, iot:ListCertificates, iot:ListPolicies, iot:ListRoleAliases
Cognito Identity: 1 actions
  • cognito-identity:GetIdentityPoolRoles (Read)
IAM: 8 actions
  • iam:GenerateServiceLastAccessedDetails (Read)
  • iam:GetPolicy (Read)
  • iam:GetPolicyVersion (Read)
  • iam:GetRole (Read)
  • iam:GetRolePolicy (Read)
  • iam:GetServiceLastAccessedDetails (Read)
  • iam:ListAttachedRolePolicies (List)
  • iam:ListRolePolicies (List)
IoT: 11 actions
  • iot:DescribeCACertificate (Read)
  • iot:DescribeCertificate (Read)
  • iot:DescribeRoleAlias (Read)
  • iot:GetEffectivePolicies (Read)
  • iot:GetLoggingOptions (Read)
  • iot:GetPolicy (Read)
  • iot:GetV2LoggingOptions (Read)
  • iot:ListCACertificates (List)
  • iot:ListCertificates (List)
  • iot:ListPolicies (List)
  • iot:ListRoleAliases (List)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: all-resources.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants only List and Read actions.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "iot:GetLoggingOptions",
        "iot:GetV2LoggingOptions",
        "iot:ListCACertificates",
        "iot:ListCertificates",
        "iot:DescribeCACertificate",
        "iot:DescribeCertificate",
        "iot:ListPolicies",
        "iot:GetPolicy",
        "iot:GetEffectivePolicies",
        "iot:ListRoleAliases",
        "iot:DescribeRoleAlias",
        "cognito-identity:GetIdentityPoolRoles",
        "iam:ListRolePolicies",
        "iam:ListAttachedRolePolicies",
        "iam:GetRole",
        "iam:GetPolicy",
        "iam:GetPolicyVersion",
        "iam:GetRolePolicy",
        "iam:GenerateServiceLastAccessedDetails",
        "iam:GetServiceLastAccessedDetails"
      ],
      "Resource": [
        "*"
      ]
    }
  ]
}

Version history

Current version v3, edited by AWS on 2019-11-25. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSIoTDeviceDefenderAudit
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSIoTDeviceDefenderAudit
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSIoTDeviceDefenderAudit

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/service-role/AWSIoTDeviceDefenderAudit

Terraform

resource "aws_iam_role_policy_attachment" "service_role_awsiotdevicedefenderaudit" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/service-role/AWSIoTDeviceDefenderAudit"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AWSIoTDeviceDefenderAudit"),
);

Sources

Pending editorial review. No editorial sources are listed yet.