Policy: GCP > Network > Backend Bucket > CDN
Define the Cloud CDN posture required for GCP > Network > Backend Bucket > CDN.
Cloud CDN caches backend bucket content at Google's edge and serves it to the internet, turning the bucket into a publicly cached distribution point. Use this policy to check or enforce whether Cloud CDN should be enabled or disabled for the backend bucket.
The Enabled per CDN > * values hold the CDN configuration to the expected settings defined by the sub-policies (Cache Mode, TTLs, Negative Caching, Request Coalescing, Serve While Stale). Sub-policy defaults match the values GCP applies when CDN is enabled, so a backend bucket with an untouched CDN configuration is compliant out of the box.
Targets
This policy targets the following resource types:
Related Policies
Controls
Setting this policy configures this control:
Policy Specification
Schema Type | |
|---|---|
Default | |
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/security
- tmod:@turbot/gcp-network#/policy/types/backendBucketCdn
- turbot graphql policy-type --id "tmod:@turbot/gcp-network#/policy/types/backendBucketCdn"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-network#/policy/types/backendBucketCdn"
Get Policy TypeGet Policy Settings