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

Policy: GCP > CIS v3.0 > 1 - Identity and Access Management > 1.18 - Ensure Secrets are Not Stored in Cloud Functions Environment Variables by Using Secret Manager

Configures auditing against a CIS Benchmark item.

Level: 1

Google Cloud Functions allow you to host serverless code that is executed when an event is triggered, without the requiring the management a host operating system. These functions can also store environment variables to be used by the code that may contain authentication or other information that needs to remain confidential.

Targets

This policy targets the following resource types:

  • GCP > Functions > Function

Primary Policy

This policy is used with the following primary policy:

  • GCP > CIS v3.0 > 1 - Identity and Access Management

Related Policies

  • Attestation

Controls

Setting this policy configures this control:

  • GCP > CIS v3.0 > 1 - Identity and Access Management > 1.18 - Ensure Secrets are Not Stored in Cloud Functions Environment Variables by Using Secret Manager

Policy Specification

Schema Type
string
Default
Per GCP > CIS v2.0 > 1 - Identity and Access Management
Valid Values [YAML]
  • Per GCP > CIS v2.0 > 1 - Identity and Access Management
    
  • Skip
    
  • Check: Benchmark using attestation
    

Category

  • CIS > Controls v7 > 16 Account Monitoring and Control > 16.04 Encrypt or Hash all Authentication Credentials

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/cis#/control/categories/v071604
  • Policy Type URI
    • tmod:@turbot/gcp-cisv3-0#/policy/types/r0118
  • GraphQL
    • query policyType(id: "tmod:@turbot/gcp-cisv3-0#/policy/types/r0118") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/gcp-cisv3-0#/policy/types/r0118'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/gcp-cisv3-0#/policy/types/r0118'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/gcp-cisv3-0#/policy/types/r0118"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-cisv3-0#/policy/types/r0118"
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