Policy: GCP > Network > Backend Service > CDN
Define the Cloud CDN posture required for GCP > Network > Backend Service > CDN.
Cloud CDN caches backend service content at Google's edge and serves it to the internet, turning the backend into a publicly cached distribution point. Use this policy to check or enforce whether Cloud CDN should be enabled or disabled for the backend service.
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 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/backendServiceCdn
- turbot graphql policy-type --id "tmod:@turbot/gcp-network#/policy/types/backendServiceCdn"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-network#/policy/types/backendServiceCdn"
Get Policy TypeGet Policy Settings