Guardrails for GitHub →
Mods
GCP

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.

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Packs

This policy setting is used by the following policy packs:

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

In Your Workspace

Developers