Class DataProfileAction (3.23.0)

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

A task to execute when a data profile has been generated.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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

Attributes

Name Description
export_data google.cloud.dlp_v2.types.DataProfileAction.Export
Export data profiles into a provided location. This field is a member of oneof_ action.
pub_sub_notification google.cloud.dlp_v2.types.DataProfileAction.PubSubNotification
Publish a message into the Pub/Sub topic. This field is a member of oneof_ action.
publish_to_chronicle google.cloud.dlp_v2.types.DataProfileAction.PublishToChronicle
Publishes generated data profiles to Google Security Operations. For more information, see `Use Sensitive Data Protection data in context-aware analytics
publish_to_scc google.cloud.dlp_v2.types.DataProfileAction.PublishToSecurityCommandCenter
Publishes findings to SCC for each data profile. This field is a member of oneof_ action.
tag_resources google.cloud.dlp_v2.types.DataProfileAction.TagResources
Tags the profiled resources with the specified tag values. This field is a member of oneof_ action.

Classes

EventType

EventType(value)

Types of event that can trigger an action.

Export

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

If set, the detailed data profiles will be persisted to the location of your choice whenever updated.

PubSubNotification

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

Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of DataProfilePubSubMessage.

PublishToChronicle

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

Message expressing intention to publish to Google Security Operations.

PublishToSecurityCommandCenter

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

If set, a summary finding will be created/updated in SCC for each profile.

TagResources

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

If set, attaches the tags provided to profiled resources. Tags support access control <https://cloud.google.com/iam/docs/tags-access-control>__. You can conditionally grant or deny access to a resource based on whether the resource has a specific tag.