Why it matters
An unrestricted key works from any host, any app and against every enabled API, so whoever finds it can use it anywhere.
How to fix it
Add application and API restrictions to the key, or delete it.
What TrustIvan reads
- Google Cloud: the collector does not read this yet, so the check reports not assessed, never a pass.
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: Google Cloud.
Benchmark controls
- CIS Google Cloud Platform Foundation Benchmark 3.0.0, control
1.13: API keys are restricted to hosts and apps - CIS Google Cloud Platform Foundation Benchmark 3.0.0, control
1.14: API keys are restricted to the APIs they need
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
- An API key has not been rotated in 90 days
Google CloudSeverity: Medium
cloud.iam.api-key-stale - The CloudShell full-access policy is attached
AWSSeverity: Low
cloud.iam.cloudshell-full-access - A user can sign in to the console without a second factor
AWSSeverity: High
cloud.iam.console-user-no-mfa - A console user holds an active access key that has never been used
AWSSeverity: Low
cloud.iam.console-user-unused-key - A credential has not been used for more than 45 days
AWSSeverity: Medium
cloud.iam.credential-unused-45-days - A custom role grants every action on the subscription
AzureSeverity: Medium
cloud.iam.custom-owner-role
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation