AWSIoTDeviceTesterForGreengrassFullAccess

Last Modified

Mar 12, 2026

March 12, 2026 at 09:26 PM UTC

Version

v4

Total Versions

4

Created

Jun 25, 2020

Actions

37

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Can rewrite resource policies and sharing

    Grants 4 permissions management actions across 1 service (iot) on any resource, enough to share resources outside the account.

    iot:attachpolicyiot:createpolicyiot:deletepolicyiot:detachpolicy

    Use with caution: Turn on IAM Access Analyzer external access findings, and keep account-level guards like S3 Block Public Access enabled.

  • Medium

    Full greengrass access on every resource

    Uses greengrass:* with Resource "*" and no condition, so every action AWS adds to that service later is granted too.

    greengrass:*

    Use with caution: The grant grows every time the service does. For long-lived access, prefer a policy that lists the actions you actually need.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "VisualEditor1",
          "Effect": "Allow",
          "Action": "iam:PassRole",
          "Resource": "arn:aws:iam::*:role/idt-*",
          "Condition": {
            "StringEquals": {
              "iam:PassedToService": [
                "iot.amazonaws.com",
                "lambda.amazonaws.com",
                "greengrass.amazonaws.com"
              ]
            }
          }
        },
        {
          "Sid": "VisualEditor2",
          "Effect": "Allow",
          "Action": [
            "lambda:CreateFunction",
            "iot:DeleteCertificate",
            "lambda:DeleteFunction",
            "execute-api:Invoke",
            "iot:UpdateCertificate"
          ],
          "Resource": [
            "arn:aws:execute-api:us-east-1:098862408343:9xpmnvs5h4/prod/POST/metrics",
            "arn:aws:lambda:*:*:function:idt-*",
            "arn:aws:iot:*:*:cert/*"
          ]
        },
        {
          "Sid": "VisualEditor3",
          "Effect": "Allow",
          "Action": [
            "iot:CreateThing",
            "iot:DeleteThing"
          ],
          "Resource": [
            "arn:aws:iot:*:*:thing/idt-*",
            "arn:aws:iot:*:*:cert/*"
          ]
        },
        {
          "Sid": "VisualEditor4",
          "Effect": "Allow",
          "Action": [
            "iot:AttachPolicy",
            "iot:DetachPolicy",
            "iot:DeletePolicy"
          ],
          "Resource": [
            "arn:aws:iot:*:*:policy/idt-*",
            "arn:aws:iot:*:*:cert/*"
          ]
        },
        {
          "Sid": "VisualEditor5",
          "Effect": "Allow",
          "Action": [
            "iot:CreateJob",
            "iot:DescribeJob",
            "iot:DescribeJobExecution",
            "iot:DeleteJob"
          ],
          "Resource": [
            "arn:aws:iot:*:*:thing/idt-*",
            "arn:aws:iot:*:*:job/*"
          ]
        },
        {
          "Sid": "VisualEditor6",
          "Effect": "Allow",
          "Action": [
            "iot:DescribeEndpoint",
            "greengrass:*",
            "iam:ListAttachedRolePolicies",
            "iot:CreatePolicy",
            "iot:GetThingShadow",
            "iot:CreateKeysAndCertificate",
            "iot:ListThings",
            "iot:UpdateThingShadow",
            "iot:CreateCertificateFromCsr",
            "iot-device-tester:SendMetrics",
            "iot-device-tester:SupportedVersion",
            "iot-device-tester:LatestIdt",
            "iot-device-tester:CheckVersion",
            "iot-device-tester:DownloadTestSuite"
          ],
          "Resource": "*"
        },
        {
          "Sid": "VisualEditor7",
          "Effect": "Allow",
          "Action": [
            "iot:DetachThingPrincipal",
            "iot:AttachThingPrincipal"
          ],
          "Resource": [
            "arn:aws:iot:*:*:thing/idt-*",
            "arn:aws:iot:*:*:cert/*"
          ]
        },
        {
          "Sid": "VisualEditor8",
          "Effect": "Allow",
          "Action": [
            "s3:PutObject",
            "s3:DeleteObjectVersion",
            "s3:ListBucketVersions",
            "s3:CreateBucket",
            "s3:DeleteObject",
            "s3:DeleteBucket"
          ],
          "Resource": "arn:aws:s3:::idt*"
        }
      ]
    },
    "VersionId": "v4",
    "IsDefaultVersion": true,
    "CreateDate": "2020-06-25T17:01:56+00:00"
  }
}

Version History (7 recorded)

Raw history

AWSIoTDeviceTesterForGreengrassFullAccess - Policy Version v4

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

dc6f3cf

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jun 25, 2020

cf9cef8

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Mar 24, 2020

28b45bc

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Feb 26, 2020

8cbe8a0

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Feb 21, 2020

a44942c