Resource: DiscoveryConfig
Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project.
The generated data profiles are retained according to the data retention policy.
JSON representation |
---|
{ "name": string, "displayName": string, "orgConfig": { object ( |
Fields | |
---|---|
name |
Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example |
display |
Display name (max 100 chars) |
org |
Only set when the parent is an org. |
other |
Must be set only when scanning other clouds. |
inspect |
Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, includeQuote and excludeInfoTypes have no impact on Discovery. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including "global"). Each region is scanned using the applicable template. If no region-specific template is specified, but a "global" template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region's data will not be scanned. For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. |
actions[] |
Actions to execute at the completion of scanning. |
targets[] |
Target to match against for determining what to scan and how frequently. |
errors[] |
Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared. |
create |
Output only. The creation timestamp of a DiscoveryConfig. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The last update timestamp of a DiscoveryConfig. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
last |
Output only. The timestamp of the last time this config was executed. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
status |
Required. A status for this configuration. |
Methods |
|
---|---|
|
Creates a config for discovery to scan and profile storage. |
|
Deletes a discovery configuration. |
|
Gets a discovery configuration. |
|
Lists discovery configurations. |
|
Updates a discovery configuration. |