Policy: GCP > CIS v1 > 1 Identity and Access Management > 1.12 Ensure API keys are restricted to only APIs that application needs access (Not Scored) > Attestation
By setting this policy, you attest that you have manually verified that it complies with the relevant section of the CIS Benchmark.
From Console:
- Go to APIs & Services\Credentials using https://console.cloud.google.com/apis/credentials
- In Section API Keys, Click on the API Key Name. it will display API Key properties on new page.
- For every API Key, ensure section Key restrictions parameter API restrictions is not set to None Or API restrictions is not set to Google Cloud APIs Note: Google Cloud APIs represents API collection of all cloud services/APIs offered by Google cloud.
Once verified, enter the date that this attestation expires. Note that the date can not be further in the future than is specified in GCP > CIS v1 > Maximum Attestation Duration. Set to a blank value to clear the attestation.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
- GCP > CIS v1
- GCP > CIS v1 > 1 Identity and Access Management > 1.12 Ensure API keys are restricted to only APIs that application needs access (Not Scored)
- GCP > CIS v1 > 1 Identity and Access Management
Policy Specification
Schema Type |
|
---|
Category
In Your Workspace
Developers
- tmod:@turbot/cis#/control/categories/v0716
- tmod:@turbot/gcp-cisv1#/policy/types/r0112Attestation
- turbot graphql policy-type --id "tmod:@turbot/gcp-cisv1#/policy/types/r0112Attestation"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-cisv1#/policy/types/r0112Attestation"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI