Why it matters
An instance without a role that calls AWS has to carry long-lived access keys on disk, where anyone who reads the disk can take them.
How to fix it
Attach an instance profile with a role scoped to what the workload needs, and remove any access keys stored on the instance.
What TrustIvan reads
- Amazon Web Services: the collector reads what this check needs, so it passes or fails.
Cloud accounts are read with read-only access. These results describe configuration; they are not an attestation that a benchmark is met. The access to grant: Amazon Web Services.
Benchmark controls
- CIS Amazon Web Services Foundations Benchmark 3.0.0, control
1.18: Instances use IAM roles to reach AWS resources
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- Confidential computing is off
Google CloudSeverity: Low
cloud.compute.no-confidential-computing - OS Login is not enabled for the project
Google CloudSeverity: Medium
cloud.compute.no-os-login - No bastion host exists for administrative access
AzureSeverity: Low
cloud.compute.no-bastion - Secure boot and integrity monitoring are off
AWS, Azure, Google CloudSeverity: Low
cloud.compute.no-shielded-vm - IP forwarding is enabled on the instance
Google CloudSeverity: Low
cloud.compute.ip-forwarding - The instance accepts project-wide SSH keys
Google CloudSeverity: Medium
cloud.compute.project-ssh-keys-allowed
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation