AWSIoTDeviceDefenderAudit
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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Cognito Identity | 1 of 21 | 1 Read; 0 restricted, 0 conditional | cognito-identity:GetIdentityPoolRoles |
| IAM | 8 of 190 | 2 List, 6 Read; 0 restricted, 0 conditional | iam:GenerateServiceLastAccessedDetails, iam:GetPolicy, iam:GetPolicyVersion, iam:GetRole, iam:GetRolePolicy, iam:GetServiceLastAccessedDetails, iam:ListAttachedRolePolicies, iam:ListRolePolicies |
| IoT | 11 of 293 | 4 List, 7 Read; 0 restricted, 0 conditional | iot: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.
Related policies
Same service
- AccessAnalyzerServiceRolePolicy
- AccountManagementFromVercel
- AmazonApplicationRecoveryControllerRegionSwitchPlanExecutionPolicy
- AmazonChimeServiceRolePolicy
- AmazonCloudWatchEvidentlyFullAccess
- AmazonCodeGuruProfilerFullAccess
- AmazonCodeGuruProfilerReadOnlyAccess
- AmazonDataZonePreviewConsoleFullAccess
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
{
"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/AWSIoTDeviceDefenderAuditCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AWSIoTDeviceDefenderAuditTerraform
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.