Class NotificationConfig

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
NameDescription
strname
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".
strdescription
The description of the notification config (max of 1024 characters).
google.cloud.securitycenter_v1p1beta1.types.NotificationConfig.EventTypeevent_type
The type of events the config is for, e.g. FINDING.
strpubsub_topic
The Pub/Sub topic to send notifications to. Its format is "projects/[project_id]/topics/[topic]".
strservice_account
Output only. The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
google.cloud.securitycenter_v1p1beta1.types.NotificationConfig.StreamingConfigstreaming_config
The config for triggering streaming-based notifications. This field is a member of `oneof`_ ``notify_config``.

Inheritance

builtins.object > proto.message.Message > NotificationConfig

Classes

EventType

EventType(value)

The type of events.

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.