NotificationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Security Command Center notification configs. A notification config is a Security Command Center 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
The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket". |
description |
str
The description of the notification config (max of 1024 characters). |
event_type |
google.cloud.securitycenter_v1p1beta1.types.NotificationConfig.EventType
The type of events the config is for, e.g. FINDING. |
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_v1p1beta1.types.NotificationConfig.StreamingConfig
The config for triggering streaming-based notifications. This field is a member of oneof _ notify_config .
|
Classes
EventType
EventType(value)
The type of events.
Values: EVENT_TYPE_UNSPECIFIED (0): Unspecified event type. FINDING (1): Events for findings.
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.