Policy: GCP > CIS v1 > 1 Identity and Access Management > 1.13 Ensure API keys are rotated every 90 days (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: 1. Go to APIs & Services\Credentials using https://console.cloud.google.com/apis/credentials 2. In Section API Keys, Click on the API Key Name. It will display API Key properties on new page 3. Click REGENERATE KEY to rotate API key 4. Click Save 5. Repeat steps 2,3,4 for every API key that is has not been rotated in last 90 days Note: Do not set HTTP referrers to wild-cards (* or *.[TLD] or .[TLD]/) allowing access to any/wide HTTP referrer(s) Do not set IP addresses and referrer to any host (0.0.0.0 or 0.0.0.0/0 or ::0)
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.
Targets
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Setting this policy configures this control:
Policy Specification
Schema Type | |
|---|
Category
In Your Workspace
Developers
- tmod:@turbot/cis#/control/categories/v0716
- tmod:@turbot/gcp-cisv1#/policy/types/r0113Attestation
- turbot graphql policy-type --id "tmod:@turbot/gcp-cisv1#/policy/types/r0113Attestation"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-cisv1#/policy/types/r0113Attestation"
Get Policy TypeGet Policy Settings