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

Policy: GCP > Turbot > Event Handlers > Logging > Sink > Destination Topic

The destination of the logging sink. This is the PubSub topic that the logs will be sent to, for example: "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]". The writer associated with the sink must have access to publish to this topic.

Targets

This policy targets the following resource types:

  • GCP > Project

Primary Policy

This policy is used with the following primary policy:

  • GCP > Turbot > Event Handlers > Logging > Sink

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
string
Default template
'pubsub.googleapis.com/projects/{{ $.item.projectId }}/topics/{{ $.pubSubNamePrefix }}gcp_event_handler'
Default template input
|
{
item: project {
projectId
turbot{
id
}
}
pubSubNamePrefix: policy(uri: "#/policy/types/eventHandlerPubSubTopicNamePrefix")
}
Examples [YAML]
pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]

Category

  • Resource > Configured

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/configured
  • Policy Type URI
    • tmod:@turbot/gcp#/policy/types/eventHandlerLoggingSinkDestinationTopic
  • GraphQL
    • query policyType(id: "tmod:@turbot/gcp#/policy/types/eventHandlerLoggingSinkDestinationTopic") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/gcp#/policy/types/eventHandlerLoggingSinkDestinationTopic'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/gcp#/policy/types/eventHandlerLoggingSinkDestinationTopic'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/gcp#/policy/types/eventHandlerLoggingSinkDestinationTopic"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp#/policy/types/eventHandlerLoggingSinkDestinationTopic"
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
42
Mods
158
Resource Types
2,654
Policies
1,319
Controls
131
Quick Actions
93
IAM