Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
GCP
Loading policies...

Policy: GCP > Network > Backend Service > Logging > Sample Rate

The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1 means all logged requests are reported and 0 means no logged requests are reported. The default value is 1.

Targets

This policy targets the following resource types:

  • GCP > Network > Backend Service

Primary Policy

This policy is used with the following primary policy:

  • GCP > Network > Backend Service > Logging

Controls

Setting this policy configures this control:

  • GCP > Network > Backend Service > Logging

Policy Packs

This policy setting is used by the following policy packs:

  • GCP CIS v2.0.0 - Section 2 - Logging and Monitoring

Policy Specification

Schema Type
number
Default
1

Category

  • Resource > Logging

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/resourceLogging
  • Policy Type URI
    • tmod:@turbot/gcp-network#/policy/types/backendServiceLoggingSampleRate
  • GraphQL
    • query policyType(id: "tmod:@turbot/gcp-network#/policy/types/backendServiceLoggingSampleRate") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/gcp-network#/policy/types/backendServiceLoggingSampleRate'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/gcp-network#/policy/types/backendServiceLoggingSampleRate'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/gcp-network#/policy/types/backendServiceLoggingSampleRate"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-network#/policy/types/backendServiceLoggingSampleRate"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
39
Mods
130
Resource Types
2,226
Policies
1,100
Controls
35
Quick Actions
83
IAM