AWS Cloud Scanner
Configure AWS cloud infrastructure scanning with cross-account access or access keys
Security Best Practice: We recommend using cross-account IAM role assumption with an external ID for enhanced security. This eliminates the need to store long-term credentials.
Cross-Account IAM Role Setup
Create an IAM role in your AWS account that CTEM can assume to scan your infrastructure
1
Create IAM Role in AWS Console
Go to IAM → Roles → Create Role → Select "Another AWS account"
Open AWS IAM Console2
Configure Trust Policy
Use the trust policy below to allow CTEM to assume the role
3
Attach Permissions Policy
Create a custom policy with the permissions listed below
4
Configure Role ARN Below
Copy the Role ARN and External ID to the form below
The ARN of the IAM role created in step 1
A unique identifier to prevent unauthorized access (use a random string)
Select which AWS regions to include in scans (4 selected)
1/2
1/2
1/6
1/6
0/1
0/1
0/2
0/1
Trust Policy (Step 2)
Copy this trust policy when creating the IAM role. Replace YOUR_CTEM_ACCOUNT_ID and YOUR_EXTERNAL_ID with actual values.
IAM Permissions Policy (Step 3)
Attach this policy to the IAM role to grant CTEM read-only access to scan your AWS infrastructure