AWSAgentlessDiscoveryService

Last Modified

Mar 12, 2026

March 12, 2026 at 09:25 PM UTC

Version

v2

Total Versions

7

Created

Feb 24, 2020

Actions

11

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

    Full discovery access on every resource

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

    discovery:*

    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": [
        {
          "Effect": "Allow",
          "Action": [
            "awsconnector:RegisterConnector",
            "awsconnector:GetConnectorHealth"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": "iam:GetUser",
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "s3:GetObject",
            "s3:ListBucket"
          ],
          "Resource": [
            "arn:aws:s3:::connector-platform-upgrade-info/*",
            "arn:aws:s3:::connector-platform-upgrade-info",
            "arn:aws:s3:::connector-platform-upgrade-bundles/*",
            "arn:aws:s3:::connector-platform-upgrade-bundles",
            "arn:aws:s3:::connector-platform-release-notes/*",
            "arn:aws:s3:::connector-platform-release-notes",
            "arn:aws:s3:::prod.agentless.discovery.connector.upgrade/*",
            "arn:aws:s3:::prod.agentless.discovery.connector.upgrade"
          ]
        },
        {
          "Effect": "Allow",
          "Action": [
            "s3:PutObject",
            "s3:PutObjectAcl"
          ],
          "Resource": [
            "arn:aws:s3:::import-to-ec2-connector-debug-logs/*"
          ]
        },
        {
          "Effect": "Allow",
          "Action": [
            "SNS:Publish"
          ],
          "Resource": "arn:aws:sns:*:*:metrics-sns-topic-for-*"
        },
        {
          "Sid": "Discovery",
          "Effect": "Allow",
          "Action": [
            "Discovery:*"
          ],
          "Resource": "*"
        },
        {
          "Sid": "arsenal",
          "Effect": "Allow",
          "Action": [
            "arsenal:RegisterOnPremisesAgent"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "mgh:GetHomeRegion"
          ],
          "Resource": "*"
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2020-02-24T23:08:23+00:00"
  }
}

Version History (10 recorded)

Raw history

AWSAgentlessDiscoveryService - Policy Version v2

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

Mar 12, 2026

e49eb7e

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.

Feb 25, 2020

7d50433

Update detected

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

Sep 16, 2019

49aa1d0

Update detected

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

Sep 16, 2019

71619cf

Update detected

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

Sep 16, 2019

8279033

`2019-08-29`

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

Aug 29, 2019

5016d52

I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not

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

Jul 12, 2019

9d2dff1

First commit

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

Feb 10, 2019

ad4c2e8