Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.iru.com/llms.txt

Use this file to discover all available pages before exploring further.

About Amazon Inspector

Inspector v2 uses the inspector2: action namespace (not legacy inspector:). Enable Inspector in each Region where you expect findings. AmazonInspector2ReadOnlyAccess is the fastest attach; least-privilege mirrors List*, Get*, Describe*, BatchGet*, and Search*.

How it works

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "inspector2:List*",
        "inspector2:Get*",
        "inspector2:Describe*",
        "inspector2:BatchGet*",
        "inspector2:Search*"
      ],
      "Resource": "*"
    }
  ]
}
DetailValue
CategoryVulnerability management
AuthenticationCross-account IAM role

Prerequisites

  • Inspector v2 activated per Region under review.
  • IAM rights to create roles.

Connect Amazon Inspector to Iru

Copy the trust policy from Iru

1

Open Sources

In Iru Compliance, on the left navigation bar, expand Compliance and select Sources.
Left navigation: Compliance expanded, Sources selected
2

Turn on Amazon Inspector

Find Amazon Inspector (use Category or Search by name or description). On that card, turn on the toggle. Leave the wizard tab open.
3

Copy the trust policy JSON

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "AWS": "arn:aws:iam::753695775620:role/IruConnect"
      },
      "Condition": {
        "StringEquals": {
          "sts:ExternalId": "YOUR_EXTERNAL_ID"
        }
      },
      "Action": "sts:AssumeRole"
    }
  ]
}

Create the IAM role in AWS

1

Start Create role

Open IAMRolesCreate role.
2

Configure trusted entity

Choose AWS accountAnother AWS account. Enter 753695775620 (or the ID Iru shows). Enable Require external ID and paste the external ID from Iru.
3

Attach Inspector read permissions

Attach AmazonInspector2ReadOnlyAccess, or attach an inline policy matching the JSON under How it works above.
4

Name the role and copy the ARN

Name the role, create it, and copy the Role ARN.

Submit the role ARN in Iru

1

Paste the IAM Role ARN

Paste the Role ARN into the connector where the wizard prompts for it.
2

Confirm the source is Active

Submit until Amazon Inspector shows Active.

Troubleshooting

Check pop-up blocker settings for the Iru site and try again.
Activate Inspector v2 in that Region (Account management).
Switch to inspector2: APIs.
Deploy the role in the delegated administrator account when Org-wide administration applies.
External ID mismatch.

See also