Class NotificationConfig (1.48.0)

NotificationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
name str
Identifier. The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name The following list shows some examples: + organizations/{organization_id}/locations/{location_id}/notificationConfigs/notify_public_bucket + folders/{folder_id}/locations/{location_id}/notificationConfigs/notify_public_bucket + projects/{project_id}/locations/{location_id}/notificationConfigs/notify_public_bucket
description str
The description of the notification config (max of 1024 characters).
pubsub_topic str
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
service_account str
Output only. The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
streaming_config google.cloud.securitycenter_v2.types.NotificationConfig.StreamingConfig
The config for triggering streaming-based notifications. This field is a member of oneof_ notify_config.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp of when the notification config was last updated.
deletion_notifications_enabled bool
Optional. Indicates whether the notifications will be sent for deleted findings. When enabled, the filter defined in the streaming config is still respected when sending deletion notifications.

Classes

StreamingConfig

StreamingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The config for streaming-based notifications, which send each event as soon as it is detected.