Policy: GCP > Network > Backend Service > Security Policy
Determine the action to take when a GCP Network backend service is not protected by an allowed Cloud Armor security policy.
Cloud Armor backend security policies can be attached to backend services with load balancing scheme EXTERNAL or EXTERNAL_MANAGED. Backend services with other schemes are skipped because security policies cannot be attached to them. A supported backend service with no security policy attached is treated as not allowed.
If a backend service is not using an allowed security policy and this policy is set to Enforce: Set to default if security policy not in allowed list, the backend service will be updated to use the security policy selected in the GCP > Network > Backend Service > Security Policy > Default policy.
If the security policy in the GCP > Network > Backend Service > Security Policy > Default policy is not allowed in the GCP > Network > Backend Service > Security Policy > Allowed policy, Guardrails will not attempt to set the security policy to prevent continuous updates.
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/backendServiceSecurityPolicy
- turbot graphql policy-type --id "tmod:@turbot/gcp-network#/policy/types/backendServiceSecurityPolicy"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-network#/policy/types/backendServiceSecurityPolicy"
Get Policy TypeGet Policy Settings