PreventionDiscoveryConfig

class PreventionDiscoveryConfig : KotlinCustomResource

Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project. To get more information about DiscoveryConfig, see:

Example Usage

Import

DiscoveryConfig can be imported using any of these accepted formats:

  • {{parent}}/discoveryConfigs/{{name}}

  • {{parent}}/{{name}} When using the pulumi import command, DiscoveryConfig can be imported using one of the formats above. For example:

$ pulumi import gcp:dataloss/preventionDiscoveryConfig:PreventionDiscoveryConfig default {{parent}}/discoveryConfigs/{{name}}
$ pulumi import gcp:dataloss/preventionDiscoveryConfig:PreventionDiscoveryConfig default {{parent}}/{{name}}

Properties

Link copied to clipboard

Actions to execute at the completion of scanning Structure is documented below.

Link copied to clipboard
val createTime: Output<String>

Output only. The creation timestamp of a DiscoveryConfig.

Link copied to clipboard
val displayName: Output<String>?

Display Name (max 1000 Chars)

Link copied to clipboard

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. Structure is documented below.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Detection logic for profile generation

Link copied to clipboard
val lastRunTime: Output<String>

Output only. The timestamp of the last time this config was executed

Link copied to clipboard
val location: Output<String>

Location to create the discovery config in.

Link copied to clipboard
val name: Output<String>

Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.

Link copied to clipboard

A nested object resource Structure is documented below.

Link copied to clipboard
val parent: Output<String>

The parent of the discovery config in any of the following formats:

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>?

Required. A status for this configuration Possible values are: RUNNING, PAUSED.

Link copied to clipboard

Target to match against for determining what to scan and how frequently Structure is documented below.

Link copied to clipboard
val updateTime: Output<String>

Output only. The last update timestamp of a DiscoveryConfig.

Link copied to clipboard
val urn: Output<String>