PreventionDiscoveryConfigArgs

data class PreventionDiscoveryConfigArgs(val actions: Output<List<PreventionDiscoveryConfigActionArgs>>? = null, val displayName: Output<String>? = null, val inspectTemplates: Output<List<String>>? = null, val location: Output<String>? = null, val orgConfig: Output<PreventionDiscoveryConfigOrgConfigArgs>? = null, val parent: Output<String>? = null, val status: Output<String>? = null, val targets: Output<List<PreventionDiscoveryConfigTargetArgs>>? = null) : ConvertibleToJava<PreventionDiscoveryConfigArgs>

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}}

Constructors

Link copied to clipboard
constructor(actions: Output<List<PreventionDiscoveryConfigActionArgs>>? = null, displayName: Output<String>? = null, inspectTemplates: Output<List<String>>? = null, location: Output<String>? = null, orgConfig: Output<PreventionDiscoveryConfigOrgConfigArgs>? = null, parent: Output<String>? = null, status: Output<String>? = null, targets: Output<List<PreventionDiscoveryConfigTargetArgs>>? = null)

Properties

Link copied to clipboard

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

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

Display Name (max 1000 Chars)

Link copied to clipboard
val inspectTemplates: Output<List<String>>? = null

Detection logic for profile generation

Link copied to clipboard
val location: Output<String>? = null

Location to create the discovery config in.

Link copied to clipboard

A nested object resource Structure is documented below.

Link copied to clipboard
val parent: Output<String>? = null

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

Link copied to clipboard
val status: Output<String>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): PreventionDiscoveryConfigArgs