Why it matters
A long-lived key has had longer to be copied into code, logs and tickets, and it keeps working wherever it was copied.
How to fix it
Regenerate the API key and retire the old one.
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.15: API keys rotate within 90 days
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 is not restricted to particular hosts, apps or APIs
Google CloudSeverity: Medium
cloud.iam.api-key-unrestricted - 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