defsec
defsec copied to clipboard
check: GCP project level API key restrictions
Provider GCP
Severity MEDIUM
Short Code
- no-project-level-api-keys
- require-project-level-api-key-restrictions
Description As described in CIS 1.3 for GCP, project level API keys should not be created. In the rare situation where it is necessary to create an API key, the key should have explicit restrictions configured. This issue proposes two new checks for this.
Notes I have already started implementing the code for these rules in my personal fork and will raise a PR once my other PRs are merged providing these two new checks are approved/accepted.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.