Why it matters
The principal here is an unconstrained wildcard, so what it protects is reachable by identities outside the account. On a role's trust policy this means any AWS account may assume the role.
How to fix it
Name the principals that should have access, or add a condition that constrains the wildcard.
What TrustIvan reads
- Amazon Web Services: the collector reads what this check needs, so it passes or fails.
- Microsoft Azure: the collector does not read this yet, so the check reports not assessed, never a pass.
- Google Cloud: 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, Microsoft Azure, Google Cloud.
Related checks
- Policy grants every action
AWS, Azure, Google CloudSeverity: High
cloud.iam.wildcard-policy - A service account has a user-managed key
Google CloudSeverity: Medium
cloud.iam.user-managed-sa-key - A user is granted permissions directly rather than through a group
AWSSeverity: Low
cloud.iam.user-direct-policy - Identity has been idle for a long time
AWS, Azure, Google CloudSeverity: Low
cloud.iam.unused-principal - Static credential has not been rotated
AWS, Azure, Google CloudSeverity: Medium
cloud.iam.stale-key - A user can act as every service account in the project
Google CloudSeverity: Medium
cloud.iam.sa-user-role-project-level
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation