Folder Notification Config Args
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:
How-to Guides
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 thepulumi 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}}
Constructors
Properties
The description of the notification config (max of 1024 characters).
The Pub/Sub topic to send notifications to. Its format is "projects/project_id/topics/topic".
The config for triggering streaming-based notifications. Structure is documented below.