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

Resource Type: GCP > Functions > Function

The Functions resource type is a piece of serverless execution environment that can be used to build and deploy applications that automatically scale and respond to a variety of events.

Resource Context

Function is a part of the Functions service.

Each Function lives under a Region.

Controls

The primary controls for GCP > Functions > Function are:

  • Active
  • Approved
  • CMDB
  • Discovery
  • Intelligent Assessment
  • Policy
  • ServiceNow
  • Usage

It is also targeted by these controls:

  • GCP > CIS v2.0 > 1 - Identity and Access Management > 1.18 - Ensure Secrets are Not Stored in Cloud Functions Environment Variables by Using Secret Manager
  • 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
  • GCP > CIS v4.0 > 1 - Identity and Access Management > 1.17 - Ensure Secrets are Not Stored in Cloud Functions Environment Variables by Using Secret Manager

Quick Actions

  • Delete
  • Router
  • Set Trusted Access

Category

  • Compute > Function

In Your Workspace

  • Controls by Resource Type report
  • Policy Settings by Resource Type report
  • Resources by Resource Type report

Developers

    Resource Type URI
    • tmod:@turbot/gcp-functions#/resource/types/function
  • Category URI
    • tmod:@turbot/turbot#/resource/categories/computeFunction
  • GraphQL
    • query resource(id: "tmod:@turbot/gcp-functions#/resource/types/function") { … }
    • query resourceActivities(filter: "resourceId:'tmod:@turbot/gcp-functions#/resource/types/function'") { … }
    • mutation createResource(input: { … })
    • mutation updateResource(input: { … })
  • CLI
    • Get Resource
    • turbot graphql resource --id "tmod:@turbot/gcp-functions#/resource/types/function"
  • Steampipe Query
    • Get Resource
    • select * from guardrails_resource where resource_type_uri = 'tmod:@turbot/gcp-functions#/resource/types/function';
    • Get Policy Settings (By Resource ID)
    • select * from guardrails_policy_setting where filter = 'resourceTypeId:"tmod:@turbot/gcp-functions#/resource/types/function"';
    • Get Resource Notification
    • select * from guardrails_notification where resource_type_uri = 'tmod:@turbot/gcp-functions#/resource/types/function' and notification_type in ('resource_updated', 'resource_created');
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