FolderNotificationConfig

class FolderNotificationConfig : KotlinCustomResource

A Cloud Security Command Center (Cloud SCC) notification configs. A notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc.

Note: In order to use Cloud SCC resources, your organization must be enrolled in SCC Standard/Premium. Without doing so, you may run into errors during resource creation. To get more information about FolderNotificationConfig, see:

Example Usage

Scc Folder Notification Config Basic

resources:
folder:
type: gcp:organizations:Folder
properties:
parent: organizations/123456789
displayName: folder-name
sccFolderNotificationConfig:
type: gcp:pubsub:Topic
name: scc_folder_notification_config
properties:
name: my-topic
customNotificationConfig:
type: gcp:securitycenter:FolderNotificationConfig
name: custom_notification_config
properties:
configId: my-config
folder: ${folder.folderId}
location: global
description: My custom Cloud Security Command Center Finding Notification Configuration
pubsubTopic: ${sccFolderNotificationConfig.id}
streamingConfig:
filter: category = "OPEN_FIREWALL" AND state = "ACTIVE"

Import

FolderNotificationConfig can be imported using any of these accepted formats:

  • folders/{{folder}}/notificationConfigs/{{config_id}}

  • {{folder}}/{{config_id}} When using the pulumi import command, FolderNotificationConfig can be imported using one of the formats above. For example:

$ pulumi import gcp:securitycenter/folderNotificationConfig:FolderNotificationConfig default folders/{{folder}}/notificationConfigs/{{config_id}}
$ pulumi import gcp:securitycenter/folderNotificationConfig:FolderNotificationConfig default {{folder}}/{{config_id}}

Properties

Link copied to clipboard
val configId: Output<String>

This must be unique within the organization.

Link copied to clipboard
val description: Output<String>?

The description of the notification config (max of 1024 characters).

Link copied to clipboard
val folder: Output<String>

Numerical ID of the parent folder.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The resource name of this notification config, in the format folders/{{folder}}/notificationConfigs/{{config_id}}.

Link copied to clipboard
val pubsubTopic: Output<String>

The Pub/Sub topic to send notifications to. Its format is "projects/project_id/topics/topic".

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val serviceAccount: Output<String>

The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.

Link copied to clipboard

The config for triggering streaming-based notifications. Structure is documented below.

Link copied to clipboard
val urn: Output<String>