gcp.dataloss.PreventionDiscoveryConfig
Explore with Pulumi AI
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:
- API documentation
- How-to Guides
Example Usage
Create PreventionDiscoveryConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PreventionDiscoveryConfig(name: string, args: PreventionDiscoveryConfigArgs, opts?: CustomResourceOptions);
@overload
def PreventionDiscoveryConfig(resource_name: str,
args: PreventionDiscoveryConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PreventionDiscoveryConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[str] = None,
parent: Optional[str] = None,
actions: Optional[Sequence[PreventionDiscoveryConfigActionArgs]] = None,
display_name: Optional[str] = None,
inspect_templates: Optional[Sequence[str]] = None,
org_config: Optional[PreventionDiscoveryConfigOrgConfigArgs] = None,
status: Optional[str] = None,
targets: Optional[Sequence[PreventionDiscoveryConfigTargetArgs]] = None)
func NewPreventionDiscoveryConfig(ctx *Context, name string, args PreventionDiscoveryConfigArgs, opts ...ResourceOption) (*PreventionDiscoveryConfig, error)
public PreventionDiscoveryConfig(string name, PreventionDiscoveryConfigArgs args, CustomResourceOptions? opts = null)
public PreventionDiscoveryConfig(String name, PreventionDiscoveryConfigArgs args)
public PreventionDiscoveryConfig(String name, PreventionDiscoveryConfigArgs args, CustomResourceOptions options)
type: gcp:dataloss:PreventionDiscoveryConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PreventionDiscoveryConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PreventionDiscoveryConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PreventionDiscoveryConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PreventionDiscoveryConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PreventionDiscoveryConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var preventionDiscoveryConfigResource = new Gcp.DataLoss.PreventionDiscoveryConfig("preventionDiscoveryConfigResource", new()
{
Location = "string",
Parent = "string",
Actions = new[]
{
new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionArgs
{
ExportData = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionExportDataArgs
{
ProfileTable = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionExportDataProfileTableArgs
{
DatasetId = "string",
ProjectId = "string",
TableId = "string",
},
},
PubSubNotification = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionPubSubNotificationArgs
{
DetailOfMessage = "string",
Event = "string",
PubsubCondition = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs
{
Expressions = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs
{
Conditions = new[]
{
new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs
{
MinimumRiskScore = "string",
MinimumSensitivityScore = "string",
},
},
LogicalOperator = "string",
},
},
Topic = "string",
},
TagResources = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionTagResourcesArgs
{
LowerDataRiskToLow = false,
ProfileGenerationsToTags = new[]
{
"string",
},
TagConditions = new[]
{
new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionTagResourcesTagConditionArgs
{
SensitivityScore = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionTagResourcesTagConditionSensitivityScoreArgs
{
Score = "string",
},
Tag = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigActionTagResourcesTagConditionTagArgs
{
NamespacedValue = "string",
},
},
},
},
},
},
DisplayName = "string",
InspectTemplates = new[]
{
"string",
},
OrgConfig = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigOrgConfigArgs
{
Location = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigOrgConfigLocationArgs
{
FolderId = "string",
OrganizationId = "string",
},
ProjectId = "string",
},
Status = "string",
Targets = new[]
{
new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetArgs
{
BigQueryTarget = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetArgs
{
Cadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs
{
InspectTemplateModifiedCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceInspectTemplateModifiedCadenceArgs
{
Frequency = "string",
},
SchemaModifiedCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs
{
Frequency = "string",
Types = new[]
{
"string",
},
},
TableModifiedCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs
{
Frequency = "string",
Types = new[]
{
"string",
},
},
},
Conditions = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs
{
CreatedAfter = "string",
OrConditions = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs
{
MinAge = "string",
MinRowCount = 0,
},
TypeCollection = "string",
Types = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs
{
Types = new[]
{
"string",
},
},
},
Disabled = null,
Filter = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs
{
OtherTables = null,
TableReference = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs
{
DatasetId = "string",
TableId = "string",
},
Tables = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs
{
IncludeRegexes = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs
{
Patterns = new[]
{
new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs
{
DatasetIdRegex = "string",
ProjectIdRegex = "string",
TableIdRegex = "string",
},
},
},
},
},
},
CloudSqlTarget = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetArgs
{
Filter = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterArgs
{
Collection = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs
{
IncludeRegexes = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs
{
Patterns = new[]
{
new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArgs
{
DatabaseRegex = "string",
DatabaseResourceNameRegex = "string",
InstanceRegex = "string",
ProjectIdRegex = "string",
},
},
},
},
DatabaseResourceReference = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs
{
Database = "string",
DatabaseResource = "string",
Instance = "string",
ProjectId = "string",
},
Others = null,
},
Conditions = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs
{
DatabaseEngines = new[]
{
"string",
},
Types = new[]
{
"string",
},
},
Disabled = null,
GenerationCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceArgs
{
InspectTemplateModifiedCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceInspectTemplateModifiedCadenceArgs
{
Frequency = "string",
},
RefreshFrequency = "string",
SchemaModifiedCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs
{
Frequency = "string",
Types = new[]
{
"string",
},
},
},
},
CloudStorageTarget = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetArgs
{
Filter = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetFilterArgs
{
CloudStorageResourceReference = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCloudStorageResourceReferenceArgs
{
BucketName = "string",
ProjectId = "string",
},
Collection = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionArgs
{
IncludeRegexes = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesArgs
{
Patterns = new[]
{
new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPatternArgs
{
CloudStorageRegex = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPatternCloudStorageRegexArgs
{
BucketNameRegex = "string",
ProjectIdRegex = "string",
},
},
},
},
},
Others = null,
},
Conditions = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetConditionsArgs
{
CloudStorageConditions = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetConditionsCloudStorageConditionsArgs
{
IncludedBucketAttributes = new[]
{
"string",
},
IncludedObjectAttributes = new[]
{
"string",
},
},
CreatedAfter = "string",
MinAge = "string",
},
Disabled = null,
GenerationCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs
{
InspectTemplateModifiedCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceInspectTemplateModifiedCadenceArgs
{
Frequency = "string",
},
RefreshFrequency = "string",
},
},
SecretsTarget = null,
},
},
});
example, err := dataloss.NewPreventionDiscoveryConfig(ctx, "preventionDiscoveryConfigResource", &dataloss.PreventionDiscoveryConfigArgs{
Location: pulumi.String("string"),
Parent: pulumi.String("string"),
Actions: dataloss.PreventionDiscoveryConfigActionArray{
&dataloss.PreventionDiscoveryConfigActionArgs{
ExportData: &dataloss.PreventionDiscoveryConfigActionExportDataArgs{
ProfileTable: &dataloss.PreventionDiscoveryConfigActionExportDataProfileTableArgs{
DatasetId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
TableId: pulumi.String("string"),
},
},
PubSubNotification: &dataloss.PreventionDiscoveryConfigActionPubSubNotificationArgs{
DetailOfMessage: pulumi.String("string"),
Event: pulumi.String("string"),
PubsubCondition: &dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs{
Expressions: &dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs{
Conditions: dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArray{
&dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs{
MinimumRiskScore: pulumi.String("string"),
MinimumSensitivityScore: pulumi.String("string"),
},
},
LogicalOperator: pulumi.String("string"),
},
},
Topic: pulumi.String("string"),
},
TagResources: &dataloss.PreventionDiscoveryConfigActionTagResourcesArgs{
LowerDataRiskToLow: pulumi.Bool(false),
ProfileGenerationsToTags: pulumi.StringArray{
pulumi.String("string"),
},
TagConditions: dataloss.PreventionDiscoveryConfigActionTagResourcesTagConditionArray{
&dataloss.PreventionDiscoveryConfigActionTagResourcesTagConditionArgs{
SensitivityScore: &dataloss.PreventionDiscoveryConfigActionTagResourcesTagConditionSensitivityScoreArgs{
Score: pulumi.String("string"),
},
Tag: &dataloss.PreventionDiscoveryConfigActionTagResourcesTagConditionTagArgs{
NamespacedValue: pulumi.String("string"),
},
},
},
},
},
},
DisplayName: pulumi.String("string"),
InspectTemplates: pulumi.StringArray{
pulumi.String("string"),
},
OrgConfig: &dataloss.PreventionDiscoveryConfigOrgConfigArgs{
Location: &dataloss.PreventionDiscoveryConfigOrgConfigLocationArgs{
FolderId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
},
ProjectId: pulumi.String("string"),
},
Status: pulumi.String("string"),
Targets: dataloss.PreventionDiscoveryConfigTargetArray{
&dataloss.PreventionDiscoveryConfigTargetArgs{
BigQueryTarget: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetArgs{
Cadence: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs{
InspectTemplateModifiedCadence: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceInspectTemplateModifiedCadenceArgs{
Frequency: pulumi.String("string"),
},
SchemaModifiedCadence: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs{
Frequency: pulumi.String("string"),
Types: pulumi.StringArray{
pulumi.String("string"),
},
},
TableModifiedCadence: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs{
Frequency: pulumi.String("string"),
Types: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Conditions: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs{
CreatedAfter: pulumi.String("string"),
OrConditions: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs{
MinAge: pulumi.String("string"),
MinRowCount: pulumi.Int(0),
},
TypeCollection: pulumi.String("string"),
Types: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs{
Types: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Disabled: nil,
Filter: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs{
OtherTables: nil,
TableReference: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs{
DatasetId: pulumi.String("string"),
TableId: pulumi.String("string"),
},
Tables: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs{
IncludeRegexes: &dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs{
Patterns: dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArray{
&dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs{
DatasetIdRegex: pulumi.String("string"),
ProjectIdRegex: pulumi.String("string"),
TableIdRegex: pulumi.String("string"),
},
},
},
},
},
},
CloudSqlTarget: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetArgs{
Filter: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterArgs{
Collection: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs{
IncludeRegexes: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs{
Patterns: dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArray{
&dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArgs{
DatabaseRegex: pulumi.String("string"),
DatabaseResourceNameRegex: pulumi.String("string"),
InstanceRegex: pulumi.String("string"),
ProjectIdRegex: pulumi.String("string"),
},
},
},
},
DatabaseResourceReference: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs{
Database: pulumi.String("string"),
DatabaseResource: pulumi.String("string"),
Instance: pulumi.String("string"),
ProjectId: pulumi.String("string"),
},
Others: nil,
},
Conditions: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs{
DatabaseEngines: pulumi.StringArray{
pulumi.String("string"),
},
Types: pulumi.StringArray{
pulumi.String("string"),
},
},
Disabled: nil,
GenerationCadence: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceArgs{
InspectTemplateModifiedCadence: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceInspectTemplateModifiedCadenceArgs{
Frequency: pulumi.String("string"),
},
RefreshFrequency: pulumi.String("string"),
SchemaModifiedCadence: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs{
Frequency: pulumi.String("string"),
Types: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
CloudStorageTarget: &dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetArgs{
Filter: &dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetFilterArgs{
CloudStorageResourceReference: &dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCloudStorageResourceReferenceArgs{
BucketName: pulumi.String("string"),
ProjectId: pulumi.String("string"),
},
Collection: &dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionArgs{
IncludeRegexes: &dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesArgs{
Patterns: dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPatternArray{
&dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPatternArgs{
CloudStorageRegex: &dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPatternCloudStorageRegexArgs{
BucketNameRegex: pulumi.String("string"),
ProjectIdRegex: pulumi.String("string"),
},
},
},
},
},
Others: nil,
},
Conditions: &dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetConditionsArgs{
CloudStorageConditions: &dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetConditionsCloudStorageConditionsArgs{
IncludedBucketAttributes: pulumi.StringArray{
pulumi.String("string"),
},
IncludedObjectAttributes: pulumi.StringArray{
pulumi.String("string"),
},
},
CreatedAfter: pulumi.String("string"),
MinAge: pulumi.String("string"),
},
Disabled: nil,
GenerationCadence: &dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs{
InspectTemplateModifiedCadence: &dataloss.PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceInspectTemplateModifiedCadenceArgs{
Frequency: pulumi.String("string"),
},
RefreshFrequency: pulumi.String("string"),
},
},
SecretsTarget: nil,
},
},
})
var preventionDiscoveryConfigResource = new PreventionDiscoveryConfig("preventionDiscoveryConfigResource", PreventionDiscoveryConfigArgs.builder()
.location("string")
.parent("string")
.actions(PreventionDiscoveryConfigActionArgs.builder()
.exportData(PreventionDiscoveryConfigActionExportDataArgs.builder()
.profileTable(PreventionDiscoveryConfigActionExportDataProfileTableArgs.builder()
.datasetId("string")
.projectId("string")
.tableId("string")
.build())
.build())
.pubSubNotification(PreventionDiscoveryConfigActionPubSubNotificationArgs.builder()
.detailOfMessage("string")
.event("string")
.pubsubCondition(PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs.builder()
.expressions(PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs.builder()
.conditions(PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs.builder()
.minimumRiskScore("string")
.minimumSensitivityScore("string")
.build())
.logicalOperator("string")
.build())
.build())
.topic("string")
.build())
.tagResources(PreventionDiscoveryConfigActionTagResourcesArgs.builder()
.lowerDataRiskToLow(false)
.profileGenerationsToTags("string")
.tagConditions(PreventionDiscoveryConfigActionTagResourcesTagConditionArgs.builder()
.sensitivityScore(PreventionDiscoveryConfigActionTagResourcesTagConditionSensitivityScoreArgs.builder()
.score("string")
.build())
.tag(PreventionDiscoveryConfigActionTagResourcesTagConditionTagArgs.builder()
.namespacedValue("string")
.build())
.build())
.build())
.build())
.displayName("string")
.inspectTemplates("string")
.orgConfig(PreventionDiscoveryConfigOrgConfigArgs.builder()
.location(PreventionDiscoveryConfigOrgConfigLocationArgs.builder()
.folderId("string")
.organizationId("string")
.build())
.projectId("string")
.build())
.status("string")
.targets(PreventionDiscoveryConfigTargetArgs.builder()
.bigQueryTarget(PreventionDiscoveryConfigTargetBigQueryTargetArgs.builder()
.cadence(PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs.builder()
.inspectTemplateModifiedCadence(PreventionDiscoveryConfigTargetBigQueryTargetCadenceInspectTemplateModifiedCadenceArgs.builder()
.frequency("string")
.build())
.schemaModifiedCadence(PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs.builder()
.frequency("string")
.types("string")
.build())
.tableModifiedCadence(PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs.builder()
.frequency("string")
.types("string")
.build())
.build())
.conditions(PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs.builder()
.createdAfter("string")
.orConditions(PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs.builder()
.minAge("string")
.minRowCount(0)
.build())
.typeCollection("string")
.types(PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs.builder()
.types("string")
.build())
.build())
.disabled()
.filter(PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs.builder()
.otherTables()
.tableReference(PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs.builder()
.datasetId("string")
.tableId("string")
.build())
.tables(PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs.builder()
.includeRegexes(PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs.builder()
.patterns(PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs.builder()
.datasetIdRegex("string")
.projectIdRegex("string")
.tableIdRegex("string")
.build())
.build())
.build())
.build())
.build())
.cloudSqlTarget(PreventionDiscoveryConfigTargetCloudSqlTargetArgs.builder()
.filter(PreventionDiscoveryConfigTargetCloudSqlTargetFilterArgs.builder()
.collection(PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs.builder()
.includeRegexes(PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs.builder()
.patterns(PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArgs.builder()
.databaseRegex("string")
.databaseResourceNameRegex("string")
.instanceRegex("string")
.projectIdRegex("string")
.build())
.build())
.build())
.databaseResourceReference(PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs.builder()
.database("string")
.databaseResource("string")
.instance("string")
.projectId("string")
.build())
.others()
.build())
.conditions(PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs.builder()
.databaseEngines("string")
.types("string")
.build())
.disabled()
.generationCadence(PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceArgs.builder()
.inspectTemplateModifiedCadence(PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceInspectTemplateModifiedCadenceArgs.builder()
.frequency("string")
.build())
.refreshFrequency("string")
.schemaModifiedCadence(PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs.builder()
.frequency("string")
.types("string")
.build())
.build())
.build())
.cloudStorageTarget(PreventionDiscoveryConfigTargetCloudStorageTargetArgs.builder()
.filter(PreventionDiscoveryConfigTargetCloudStorageTargetFilterArgs.builder()
.cloudStorageResourceReference(PreventionDiscoveryConfigTargetCloudStorageTargetFilterCloudStorageResourceReferenceArgs.builder()
.bucketName("string")
.projectId("string")
.build())
.collection(PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionArgs.builder()
.includeRegexes(PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesArgs.builder()
.patterns(PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPatternArgs.builder()
.cloudStorageRegex(PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPatternCloudStorageRegexArgs.builder()
.bucketNameRegex("string")
.projectIdRegex("string")
.build())
.build())
.build())
.build())
.others()
.build())
.conditions(PreventionDiscoveryConfigTargetCloudStorageTargetConditionsArgs.builder()
.cloudStorageConditions(PreventionDiscoveryConfigTargetCloudStorageTargetConditionsCloudStorageConditionsArgs.builder()
.includedBucketAttributes("string")
.includedObjectAttributes("string")
.build())
.createdAfter("string")
.minAge("string")
.build())
.disabled()
.generationCadence(PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs.builder()
.inspectTemplateModifiedCadence(PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceInspectTemplateModifiedCadenceArgs.builder()
.frequency("string")
.build())
.refreshFrequency("string")
.build())
.build())
.secretsTarget()
.build())
.build());
prevention_discovery_config_resource = gcp.dataloss.PreventionDiscoveryConfig("preventionDiscoveryConfigResource",
location="string",
parent="string",
actions=[{
"exportData": {
"profileTable": {
"datasetId": "string",
"projectId": "string",
"tableId": "string",
},
},
"pubSubNotification": {
"detailOfMessage": "string",
"event": "string",
"pubsubCondition": {
"expressions": {
"conditions": [{
"minimumRiskScore": "string",
"minimumSensitivityScore": "string",
}],
"logicalOperator": "string",
},
},
"topic": "string",
},
"tagResources": {
"lowerDataRiskToLow": False,
"profileGenerationsToTags": ["string"],
"tagConditions": [{
"sensitivityScore": {
"score": "string",
},
"tag": {
"namespacedValue": "string",
},
}],
},
}],
display_name="string",
inspect_templates=["string"],
org_config={
"location": {
"folderId": "string",
"organizationId": "string",
},
"projectId": "string",
},
status="string",
targets=[{
"bigQueryTarget": {
"cadence": {
"inspectTemplateModifiedCadence": {
"frequency": "string",
},
"schemaModifiedCadence": {
"frequency": "string",
"types": ["string"],
},
"tableModifiedCadence": {
"frequency": "string",
"types": ["string"],
},
},
"conditions": {
"createdAfter": "string",
"orConditions": {
"minAge": "string",
"minRowCount": 0,
},
"typeCollection": "string",
"types": {
"types": ["string"],
},
},
"disabled": {},
"filter": {
"otherTables": {},
"tableReference": {
"datasetId": "string",
"tableId": "string",
},
"tables": {
"includeRegexes": {
"patterns": [{
"datasetIdRegex": "string",
"projectIdRegex": "string",
"tableIdRegex": "string",
}],
},
},
},
},
"cloudSqlTarget": {
"filter": {
"collection": {
"includeRegexes": {
"patterns": [{
"databaseRegex": "string",
"databaseResourceNameRegex": "string",
"instanceRegex": "string",
"projectIdRegex": "string",
}],
},
},
"databaseResourceReference": {
"database": "string",
"databaseResource": "string",
"instance": "string",
"projectId": "string",
},
"others": {},
},
"conditions": {
"databaseEngines": ["string"],
"types": ["string"],
},
"disabled": {},
"generationCadence": {
"inspectTemplateModifiedCadence": {
"frequency": "string",
},
"refreshFrequency": "string",
"schemaModifiedCadence": {
"frequency": "string",
"types": ["string"],
},
},
},
"cloudStorageTarget": {
"filter": {
"cloudStorageResourceReference": {
"bucketName": "string",
"projectId": "string",
},
"collection": {
"includeRegexes": {
"patterns": [{
"cloudStorageRegex": {
"bucketNameRegex": "string",
"projectIdRegex": "string",
},
}],
},
},
"others": {},
},
"conditions": {
"cloudStorageConditions": {
"includedBucketAttributes": ["string"],
"includedObjectAttributes": ["string"],
},
"createdAfter": "string",
"minAge": "string",
},
"disabled": {},
"generationCadence": {
"inspectTemplateModifiedCadence": {
"frequency": "string",
},
"refreshFrequency": "string",
},
},
"secretsTarget": {},
}])
const preventionDiscoveryConfigResource = new gcp.dataloss.PreventionDiscoveryConfig("preventionDiscoveryConfigResource", {
location: "string",
parent: "string",
actions: [{
exportData: {
profileTable: {
datasetId: "string",
projectId: "string",
tableId: "string",
},
},
pubSubNotification: {
detailOfMessage: "string",
event: "string",
pubsubCondition: {
expressions: {
conditions: [{
minimumRiskScore: "string",
minimumSensitivityScore: "string",
}],
logicalOperator: "string",
},
},
topic: "string",
},
tagResources: {
lowerDataRiskToLow: false,
profileGenerationsToTags: ["string"],
tagConditions: [{
sensitivityScore: {
score: "string",
},
tag: {
namespacedValue: "string",
},
}],
},
}],
displayName: "string",
inspectTemplates: ["string"],
orgConfig: {
location: {
folderId: "string",
organizationId: "string",
},
projectId: "string",
},
status: "string",
targets: [{
bigQueryTarget: {
cadence: {
inspectTemplateModifiedCadence: {
frequency: "string",
},
schemaModifiedCadence: {
frequency: "string",
types: ["string"],
},
tableModifiedCadence: {
frequency: "string",
types: ["string"],
},
},
conditions: {
createdAfter: "string",
orConditions: {
minAge: "string",
minRowCount: 0,
},
typeCollection: "string",
types: {
types: ["string"],
},
},
disabled: {},
filter: {
otherTables: {},
tableReference: {
datasetId: "string",
tableId: "string",
},
tables: {
includeRegexes: {
patterns: [{
datasetIdRegex: "string",
projectIdRegex: "string",
tableIdRegex: "string",
}],
},
},
},
},
cloudSqlTarget: {
filter: {
collection: {
includeRegexes: {
patterns: [{
databaseRegex: "string",
databaseResourceNameRegex: "string",
instanceRegex: "string",
projectIdRegex: "string",
}],
},
},
databaseResourceReference: {
database: "string",
databaseResource: "string",
instance: "string",
projectId: "string",
},
others: {},
},
conditions: {
databaseEngines: ["string"],
types: ["string"],
},
disabled: {},
generationCadence: {
inspectTemplateModifiedCadence: {
frequency: "string",
},
refreshFrequency: "string",
schemaModifiedCadence: {
frequency: "string",
types: ["string"],
},
},
},
cloudStorageTarget: {
filter: {
cloudStorageResourceReference: {
bucketName: "string",
projectId: "string",
},
collection: {
includeRegexes: {
patterns: [{
cloudStorageRegex: {
bucketNameRegex: "string",
projectIdRegex: "string",
},
}],
},
},
others: {},
},
conditions: {
cloudStorageConditions: {
includedBucketAttributes: ["string"],
includedObjectAttributes: ["string"],
},
createdAfter: "string",
minAge: "string",
},
disabled: {},
generationCadence: {
inspectTemplateModifiedCadence: {
frequency: "string",
},
refreshFrequency: "string",
},
},
secretsTarget: {},
}],
});
type: gcp:dataloss:PreventionDiscoveryConfig
properties:
actions:
- exportData:
profileTable:
datasetId: string
projectId: string
tableId: string
pubSubNotification:
detailOfMessage: string
event: string
pubsubCondition:
expressions:
conditions:
- minimumRiskScore: string
minimumSensitivityScore: string
logicalOperator: string
topic: string
tagResources:
lowerDataRiskToLow: false
profileGenerationsToTags:
- string
tagConditions:
- sensitivityScore:
score: string
tag:
namespacedValue: string
displayName: string
inspectTemplates:
- string
location: string
orgConfig:
location:
folderId: string
organizationId: string
projectId: string
parent: string
status: string
targets:
- bigQueryTarget:
cadence:
inspectTemplateModifiedCadence:
frequency: string
schemaModifiedCadence:
frequency: string
types:
- string
tableModifiedCadence:
frequency: string
types:
- string
conditions:
createdAfter: string
orConditions:
minAge: string
minRowCount: 0
typeCollection: string
types:
types:
- string
disabled: {}
filter:
otherTables: {}
tableReference:
datasetId: string
tableId: string
tables:
includeRegexes:
patterns:
- datasetIdRegex: string
projectIdRegex: string
tableIdRegex: string
cloudSqlTarget:
conditions:
databaseEngines:
- string
types:
- string
disabled: {}
filter:
collection:
includeRegexes:
patterns:
- databaseRegex: string
databaseResourceNameRegex: string
instanceRegex: string
projectIdRegex: string
databaseResourceReference:
database: string
databaseResource: string
instance: string
projectId: string
others: {}
generationCadence:
inspectTemplateModifiedCadence:
frequency: string
refreshFrequency: string
schemaModifiedCadence:
frequency: string
types:
- string
cloudStorageTarget:
conditions:
cloudStorageConditions:
includedBucketAttributes:
- string
includedObjectAttributes:
- string
createdAfter: string
minAge: string
disabled: {}
filter:
cloudStorageResourceReference:
bucketName: string
projectId: string
collection:
includeRegexes:
patterns:
- cloudStorageRegex:
bucketNameRegex: string
projectIdRegex: string
others: {}
generationCadence:
inspectTemplateModifiedCadence:
frequency: string
refreshFrequency: string
secretsTarget: {}
PreventionDiscoveryConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The PreventionDiscoveryConfig resource accepts the following input properties:
- Location string
- Location to create the discovery config in.
- Parent string
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- Actions
List<Prevention
Discovery Config Action> - Actions to execute at the completion of scanning Structure is documented below.
- Display
Name string - Display Name (max 1000 Chars)
- Inspect
Templates List<string> - Detection logic for profile generation
- Org
Config PreventionDiscovery Config Org Config - A nested object resource Structure is documented below.
- Status string
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - Targets
List<Prevention
Discovery Config Target> - Target to match against for determining what to scan and how frequently Structure is documented below.
- Location string
- Location to create the discovery config in.
- Parent string
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- Actions
[]Prevention
Discovery Config Action Args - Actions to execute at the completion of scanning Structure is documented below.
- Display
Name string - Display Name (max 1000 Chars)
- Inspect
Templates []string - Detection logic for profile generation
- Org
Config PreventionDiscovery Config Org Config Args - A nested object resource Structure is documented below.
- Status string
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - Targets
[]Prevention
Discovery Config Target Args - Target to match against for determining what to scan and how frequently Structure is documented below.
- location String
- Location to create the discovery config in.
- parent String
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- actions
List<Prevention
Discovery Config Action> - Actions to execute at the completion of scanning Structure is documented below.
- display
Name String - Display Name (max 1000 Chars)
- inspect
Templates List<String> - Detection logic for profile generation
- org
Config PreventionDiscovery Config Org Config - A nested object resource Structure is documented below.
- status String
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - targets
List<Prevention
Discovery Config Target> - Target to match against for determining what to scan and how frequently Structure is documented below.
- location string
- Location to create the discovery config in.
- parent string
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- actions
Prevention
Discovery Config Action[] - Actions to execute at the completion of scanning Structure is documented below.
- display
Name string - Display Name (max 1000 Chars)
- inspect
Templates string[] - Detection logic for profile generation
- org
Config PreventionDiscovery Config Org Config - A nested object resource Structure is documented below.
- status string
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - targets
Prevention
Discovery Config Target[] - Target to match against for determining what to scan and how frequently Structure is documented below.
- location str
- Location to create the discovery config in.
- parent str
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- actions
Sequence[Prevention
Discovery Config Action Args] - Actions to execute at the completion of scanning Structure is documented below.
- display_
name str - Display Name (max 1000 Chars)
- inspect_
templates Sequence[str] - Detection logic for profile generation
- org_
config PreventionDiscovery Config Org Config Args - A nested object resource Structure is documented below.
- status str
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - targets
Sequence[Prevention
Discovery Config Target Args] - Target to match against for determining what to scan and how frequently Structure is documented below.
- location String
- Location to create the discovery config in.
- parent String
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- actions List<Property Map>
- Actions to execute at the completion of scanning Structure is documented below.
- display
Name String - Display Name (max 1000 Chars)
- inspect
Templates List<String> - Detection logic for profile generation
- org
Config Property Map - A nested object resource Structure is documented below.
- status String
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - targets List<Property Map>
- Target to match against for determining what to scan and how frequently Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the PreventionDiscoveryConfig resource produces the following output properties:
- Create
Time string - Output only. The creation timestamp of a DiscoveryConfig.
- Errors
List<Prevention
Discovery Config Error> - 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Run stringTime - Output only. The timestamp of the last time this config was executed
- Name string
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- Update
Time string - Output only. The last update timestamp of a DiscoveryConfig.
- Create
Time string - Output only. The creation timestamp of a DiscoveryConfig.
- Errors
[]Prevention
Discovery Config Error - 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Run stringTime - Output only. The timestamp of the last time this config was executed
- Name string
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- Update
Time string - Output only. The last update timestamp of a DiscoveryConfig.
- create
Time String - Output only. The creation timestamp of a DiscoveryConfig.
- errors
List<Prevention
Discovery Config Error> - 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.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Run StringTime - Output only. The timestamp of the last time this config was executed
- name String
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- update
Time String - Output only. The last update timestamp of a DiscoveryConfig.
- create
Time string - Output only. The creation timestamp of a DiscoveryConfig.
- errors
Prevention
Discovery Config Error[] - 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.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Run stringTime - Output only. The timestamp of the last time this config was executed
- name string
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- update
Time string - Output only. The last update timestamp of a DiscoveryConfig.
- create_
time str - Output only. The creation timestamp of a DiscoveryConfig.
- errors
Sequence[Prevention
Discovery Config Error] - 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.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
run_ strtime - Output only. The timestamp of the last time this config was executed
- name str
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- update_
time str - Output only. The last update timestamp of a DiscoveryConfig.
- create
Time String - Output only. The creation timestamp of a DiscoveryConfig.
- errors List<Property Map>
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Run StringTime - Output only. The timestamp of the last time this config was executed
- name String
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- update
Time String - Output only. The last update timestamp of a DiscoveryConfig.
Look up Existing PreventionDiscoveryConfig Resource
Get an existing PreventionDiscoveryConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PreventionDiscoveryConfigState, opts?: CustomResourceOptions): PreventionDiscoveryConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
actions: Optional[Sequence[PreventionDiscoveryConfigActionArgs]] = None,
create_time: Optional[str] = None,
display_name: Optional[str] = None,
errors: Optional[Sequence[PreventionDiscoveryConfigErrorArgs]] = None,
inspect_templates: Optional[Sequence[str]] = None,
last_run_time: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
org_config: Optional[PreventionDiscoveryConfigOrgConfigArgs] = None,
parent: Optional[str] = None,
status: Optional[str] = None,
targets: Optional[Sequence[PreventionDiscoveryConfigTargetArgs]] = None,
update_time: Optional[str] = None) -> PreventionDiscoveryConfig
func GetPreventionDiscoveryConfig(ctx *Context, name string, id IDInput, state *PreventionDiscoveryConfigState, opts ...ResourceOption) (*PreventionDiscoveryConfig, error)
public static PreventionDiscoveryConfig Get(string name, Input<string> id, PreventionDiscoveryConfigState? state, CustomResourceOptions? opts = null)
public static PreventionDiscoveryConfig get(String name, Output<String> id, PreventionDiscoveryConfigState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Actions
List<Prevention
Discovery Config Action> - Actions to execute at the completion of scanning Structure is documented below.
- Create
Time string - Output only. The creation timestamp of a DiscoveryConfig.
- Display
Name string - Display Name (max 1000 Chars)
- Errors
List<Prevention
Discovery Config Error> - 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.
- Inspect
Templates List<string> - Detection logic for profile generation
- Last
Run stringTime - Output only. The timestamp of the last time this config was executed
- Location string
- Location to create the discovery config in.
- Name string
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- Org
Config PreventionDiscovery Config Org Config - A nested object resource Structure is documented below.
- Parent string
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- Status string
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - Targets
List<Prevention
Discovery Config Target> - Target to match against for determining what to scan and how frequently Structure is documented below.
- Update
Time string - Output only. The last update timestamp of a DiscoveryConfig.
- Actions
[]Prevention
Discovery Config Action Args - Actions to execute at the completion of scanning Structure is documented below.
- Create
Time string - Output only. The creation timestamp of a DiscoveryConfig.
- Display
Name string - Display Name (max 1000 Chars)
- Errors
[]Prevention
Discovery Config Error Args - 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.
- Inspect
Templates []string - Detection logic for profile generation
- Last
Run stringTime - Output only. The timestamp of the last time this config was executed
- Location string
- Location to create the discovery config in.
- Name string
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- Org
Config PreventionDiscovery Config Org Config Args - A nested object resource Structure is documented below.
- Parent string
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- Status string
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - Targets
[]Prevention
Discovery Config Target Args - Target to match against for determining what to scan and how frequently Structure is documented below.
- Update
Time string - Output only. The last update timestamp of a DiscoveryConfig.
- actions
List<Prevention
Discovery Config Action> - Actions to execute at the completion of scanning Structure is documented below.
- create
Time String - Output only. The creation timestamp of a DiscoveryConfig.
- display
Name String - Display Name (max 1000 Chars)
- errors
List<Prevention
Discovery Config Error> - 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.
- inspect
Templates List<String> - Detection logic for profile generation
- last
Run StringTime - Output only. The timestamp of the last time this config was executed
- location String
- Location to create the discovery config in.
- name String
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- org
Config PreventionDiscovery Config Org Config - A nested object resource Structure is documented below.
- parent String
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- status String
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - targets
List<Prevention
Discovery Config Target> - Target to match against for determining what to scan and how frequently Structure is documented below.
- update
Time String - Output only. The last update timestamp of a DiscoveryConfig.
- actions
Prevention
Discovery Config Action[] - Actions to execute at the completion of scanning Structure is documented below.
- create
Time string - Output only. The creation timestamp of a DiscoveryConfig.
- display
Name string - Display Name (max 1000 Chars)
- errors
Prevention
Discovery Config Error[] - 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.
- inspect
Templates string[] - Detection logic for profile generation
- last
Run stringTime - Output only. The timestamp of the last time this config was executed
- location string
- Location to create the discovery config in.
- name string
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- org
Config PreventionDiscovery Config Org Config - A nested object resource Structure is documented below.
- parent string
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- status string
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - targets
Prevention
Discovery Config Target[] - Target to match against for determining what to scan and how frequently Structure is documented below.
- update
Time string - Output only. The last update timestamp of a DiscoveryConfig.
- actions
Sequence[Prevention
Discovery Config Action Args] - Actions to execute at the completion of scanning Structure is documented below.
- create_
time str - Output only. The creation timestamp of a DiscoveryConfig.
- display_
name str - Display Name (max 1000 Chars)
- errors
Sequence[Prevention
Discovery Config Error Args] - 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.
- inspect_
templates Sequence[str] - Detection logic for profile generation
- last_
run_ strtime - Output only. The timestamp of the last time this config was executed
- location str
- Location to create the discovery config in.
- name str
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- org_
config PreventionDiscovery Config Org Config Args - A nested object resource Structure is documented below.
- parent str
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- status str
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - targets
Sequence[Prevention
Discovery Config Target Args] - Target to match against for determining what to scan and how frequently Structure is documented below.
- update_
time str - Output only. The last update timestamp of a DiscoveryConfig.
- actions List<Property Map>
- Actions to execute at the completion of scanning Structure is documented below.
- create
Time String - Output only. The creation timestamp of a DiscoveryConfig.
- display
Name String - Display Name (max 1000 Chars)
- errors List<Property Map>
- 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.
- inspect
Templates List<String> - Detection logic for profile generation
- last
Run StringTime - Output only. The timestamp of the last time this config was executed
- location String
- Location to create the discovery config in.
- name String
- Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created.
- org
Config Property Map - A nested object resource Structure is documented below.
- parent String
- The parent of the discovery config in any of the following formats:
projects/{{project}}/locations/{{location}}
organizations/{{organization_id}}/locations/{{location}}
- status String
- Required. A status for this configuration
Possible values are:
RUNNING
,PAUSED
. - targets List<Property Map>
- Target to match against for determining what to scan and how frequently Structure is documented below.
- update
Time String - Output only. The last update timestamp of a DiscoveryConfig.
Supporting Types
PreventionDiscoveryConfigAction, PreventionDiscoveryConfigActionArgs
- Export
Data PreventionDiscovery Config Action Export Data - Export data profiles into a provided location Structure is documented below.
- Pub
Sub PreventionNotification Discovery Config Action Pub Sub Notification - Publish a message into the Pub/Sub topic. Structure is documented below.
- Tag
Resources PreventionDiscovery Config Action Tag Resources - Publish a message into the Pub/Sub topic. Structure is documented below.
- Export
Data PreventionDiscovery Config Action Export Data - Export data profiles into a provided location Structure is documented below.
- Pub
Sub PreventionNotification Discovery Config Action Pub Sub Notification - Publish a message into the Pub/Sub topic. Structure is documented below.
- Tag
Resources PreventionDiscovery Config Action Tag Resources - Publish a message into the Pub/Sub topic. Structure is documented below.
- export
Data PreventionDiscovery Config Action Export Data - Export data profiles into a provided location Structure is documented below.
- pub
Sub PreventionNotification Discovery Config Action Pub Sub Notification - Publish a message into the Pub/Sub topic. Structure is documented below.
- tag
Resources PreventionDiscovery Config Action Tag Resources - Publish a message into the Pub/Sub topic. Structure is documented below.
- export
Data PreventionDiscovery Config Action Export Data - Export data profiles into a provided location Structure is documented below.
- pub
Sub PreventionNotification Discovery Config Action Pub Sub Notification - Publish a message into the Pub/Sub topic. Structure is documented below.
- tag
Resources PreventionDiscovery Config Action Tag Resources - Publish a message into the Pub/Sub topic. Structure is documented below.
- export_
data PreventionDiscovery Config Action Export Data - Export data profiles into a provided location Structure is documented below.
- pub_
sub_ Preventionnotification Discovery Config Action Pub Sub Notification - Publish a message into the Pub/Sub topic. Structure is documented below.
- tag_
resources PreventionDiscovery Config Action Tag Resources - Publish a message into the Pub/Sub topic. Structure is documented below.
- export
Data Property Map - Export data profiles into a provided location Structure is documented below.
- pub
Sub Property MapNotification - Publish a message into the Pub/Sub topic. Structure is documented below.
- tag
Resources Property Map - Publish a message into the Pub/Sub topic. Structure is documented below.
PreventionDiscoveryConfigActionExportData, PreventionDiscoveryConfigActionExportDataArgs
- Profile
Table PreventionDiscovery Config Action Export Data Profile Table - Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery Structure is documented below.
- Profile
Table PreventionDiscovery Config Action Export Data Profile Table - Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery Structure is documented below.
- profile
Table PreventionDiscovery Config Action Export Data Profile Table - Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery Structure is documented below.
- profile
Table PreventionDiscovery Config Action Export Data Profile Table - Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery Structure is documented below.
- profile_
table PreventionDiscovery Config Action Export Data Profile Table - Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery Structure is documented below.
- profile
Table Property Map - Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery Structure is documented below.
PreventionDiscoveryConfigActionExportDataProfileTable, PreventionDiscoveryConfigActionExportDataProfileTableArgs
- dataset_
id str - Dataset Id of the table
- project_
id str - The Google Cloud Platform project ID of the project containing the table. If omitted, the project ID is inferred from the API call.
- table_
id str - Name of the table
PreventionDiscoveryConfigActionPubSubNotification, PreventionDiscoveryConfigActionPubSubNotificationArgs
- Detail
Of stringMessage - How much data to include in the pub/sub message.
Possible values are:
TABLE_PROFILE
,RESOURCE_NAME
. - Event string
- The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.
Possible values are:
NEW_PROFILE
,CHANGED_PROFILE
,SCORE_INCREASED
,ERROR_CHANGED
. - Pubsub
Condition PreventionDiscovery Config Action Pub Sub Notification Pubsub Condition - Conditions for triggering pubsub Structure is documented below.
- Topic string
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
- Detail
Of stringMessage - How much data to include in the pub/sub message.
Possible values are:
TABLE_PROFILE
,RESOURCE_NAME
. - Event string
- The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.
Possible values are:
NEW_PROFILE
,CHANGED_PROFILE
,SCORE_INCREASED
,ERROR_CHANGED
. - Pubsub
Condition PreventionDiscovery Config Action Pub Sub Notification Pubsub Condition - Conditions for triggering pubsub Structure is documented below.
- Topic string
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
- detail
Of StringMessage - How much data to include in the pub/sub message.
Possible values are:
TABLE_PROFILE
,RESOURCE_NAME
. - event String
- The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.
Possible values are:
NEW_PROFILE
,CHANGED_PROFILE
,SCORE_INCREASED
,ERROR_CHANGED
. - pubsub
Condition PreventionDiscovery Config Action Pub Sub Notification Pubsub Condition - Conditions for triggering pubsub Structure is documented below.
- topic String
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
- detail
Of stringMessage - How much data to include in the pub/sub message.
Possible values are:
TABLE_PROFILE
,RESOURCE_NAME
. - event string
- The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.
Possible values are:
NEW_PROFILE
,CHANGED_PROFILE
,SCORE_INCREASED
,ERROR_CHANGED
. - pubsub
Condition PreventionDiscovery Config Action Pub Sub Notification Pubsub Condition - Conditions for triggering pubsub Structure is documented below.
- topic string
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
- detail_
of_ strmessage - How much data to include in the pub/sub message.
Possible values are:
TABLE_PROFILE
,RESOURCE_NAME
. - event str
- The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.
Possible values are:
NEW_PROFILE
,CHANGED_PROFILE
,SCORE_INCREASED
,ERROR_CHANGED
. - pubsub_
condition PreventionDiscovery Config Action Pub Sub Notification Pubsub Condition - Conditions for triggering pubsub Structure is documented below.
- topic str
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
- detail
Of StringMessage - How much data to include in the pub/sub message.
Possible values are:
TABLE_PROFILE
,RESOURCE_NAME
. - event String
- The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.
Possible values are:
NEW_PROFILE
,CHANGED_PROFILE
,SCORE_INCREASED
,ERROR_CHANGED
. - pubsub
Condition Property Map - Conditions for triggering pubsub Structure is documented below.
- topic String
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
PreventionDiscoveryConfigActionPubSubNotificationPubsubCondition, PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs
- Expressions
Prevention
Discovery Config Action Pub Sub Notification Pubsub Condition Expressions - An expression Structure is documented below.
- Expressions
Prevention
Discovery Config Action Pub Sub Notification Pubsub Condition Expressions - An expression Structure is documented below.
- expressions
Prevention
Discovery Config Action Pub Sub Notification Pubsub Condition Expressions - An expression Structure is documented below.
- expressions
Prevention
Discovery Config Action Pub Sub Notification Pubsub Condition Expressions - An expression Structure is documented below.
- expressions
Prevention
Discovery Config Action Pub Sub Notification Pubsub Condition Expressions - An expression Structure is documented below.
- expressions Property Map
- An expression Structure is documented below.
PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressions, PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs
- Conditions
List<Prevention
Discovery Config Action Pub Sub Notification Pubsub Condition Expressions Condition> - Conditions to apply to the expression Structure is documented below.
- Logical
Operator string - The operator to apply to the collection of conditions
Possible values are:
OR
,AND
.
- Conditions
[]Prevention
Discovery Config Action Pub Sub Notification Pubsub Condition Expressions Condition - Conditions to apply to the expression Structure is documented below.
- Logical
Operator string - The operator to apply to the collection of conditions
Possible values are:
OR
,AND
.
- conditions
List<Prevention
Discovery Config Action Pub Sub Notification Pubsub Condition Expressions Condition> - Conditions to apply to the expression Structure is documented below.
- logical
Operator String - The operator to apply to the collection of conditions
Possible values are:
OR
,AND
.
- conditions
Prevention
Discovery Config Action Pub Sub Notification Pubsub Condition Expressions Condition[] - Conditions to apply to the expression Structure is documented below.
- logical
Operator string - The operator to apply to the collection of conditions
Possible values are:
OR
,AND
.
- conditions
Sequence[Prevention
Discovery Config Action Pub Sub Notification Pubsub Condition Expressions Condition] - Conditions to apply to the expression Structure is documented below.
- logical_
operator str - The operator to apply to the collection of conditions
Possible values are:
OR
,AND
.
- conditions List<Property Map>
- Conditions to apply to the expression Structure is documented below.
- logical
Operator String - The operator to apply to the collection of conditions
Possible values are:
OR
,AND
.
PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsCondition, PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs
- Minimum
Risk stringScore - The minimum data risk score that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
. - Minimum
Sensitivity stringScore - The minimum sensitivity level that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
.
- Minimum
Risk stringScore - The minimum data risk score that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
. - Minimum
Sensitivity stringScore - The minimum sensitivity level that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
.
- minimum
Risk StringScore - The minimum data risk score that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
. - minimum
Sensitivity StringScore - The minimum sensitivity level that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
.
- minimum
Risk stringScore - The minimum data risk score that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
. - minimum
Sensitivity stringScore - The minimum sensitivity level that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
.
- minimum_
risk_ strscore - The minimum data risk score that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
. - minimum_
sensitivity_ strscore - The minimum sensitivity level that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
.
- minimum
Risk StringScore - The minimum data risk score that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
. - minimum
Sensitivity StringScore - The minimum sensitivity level that triggers the condition.
Possible values are:
HIGH
,MEDIUM_OR_HIGH
.
PreventionDiscoveryConfigActionTagResources, PreventionDiscoveryConfigActionTagResourcesArgs
- Lower
Data boolRisk To Low - Whether applying a tag to a resource should lower the risk of the profile for that resource. For example, in conjunction with an IAM deny policy, you can deny all principals a permission if a tag value is present, mitigating the risk of the resource. This also lowers the data risk of resources at the lower levels of the resource hierarchy. For example, reducing the data risk of a table data profile also reduces the data risk of the constituent column data profiles.
- List<string>
- The profile generations for which the tag should be attached to resources. If you attach a tag to only new profiles, then if the sensitivity score of a profile subsequently changes, its tag doesn't change. By default, this field includes only new profiles. To include both new and updated profiles for tagging, this field should explicitly include both
PROFILE_GENERATION_NEW
andPROFILE_GENERATION_UPDATE
. Each value may be one of:PROFILE_GENERATION_NEW
,PROFILE_GENERATION_UPDATE
. - Tag
Conditions List<PreventionDiscovery Config Action Tag Resources Tag Condition> - The tags to associate with different conditions. Structure is documented below.
- Lower
Data boolRisk To Low - Whether applying a tag to a resource should lower the risk of the profile for that resource. For example, in conjunction with an IAM deny policy, you can deny all principals a permission if a tag value is present, mitigating the risk of the resource. This also lowers the data risk of resources at the lower levels of the resource hierarchy. For example, reducing the data risk of a table data profile also reduces the data risk of the constituent column data profiles.
- []string
- The profile generations for which the tag should be attached to resources. If you attach a tag to only new profiles, then if the sensitivity score of a profile subsequently changes, its tag doesn't change. By default, this field includes only new profiles. To include both new and updated profiles for tagging, this field should explicitly include both
PROFILE_GENERATION_NEW
andPROFILE_GENERATION_UPDATE
. Each value may be one of:PROFILE_GENERATION_NEW
,PROFILE_GENERATION_UPDATE
. - Tag
Conditions []PreventionDiscovery Config Action Tag Resources Tag Condition - The tags to associate with different conditions. Structure is documented below.
- lower
Data BooleanRisk To Low - Whether applying a tag to a resource should lower the risk of the profile for that resource. For example, in conjunction with an IAM deny policy, you can deny all principals a permission if a tag value is present, mitigating the risk of the resource. This also lowers the data risk of resources at the lower levels of the resource hierarchy. For example, reducing the data risk of a table data profile also reduces the data risk of the constituent column data profiles.
- List<String>
- The profile generations for which the tag should be attached to resources. If you attach a tag to only new profiles, then if the sensitivity score of a profile subsequently changes, its tag doesn't change. By default, this field includes only new profiles. To include both new and updated profiles for tagging, this field should explicitly include both
PROFILE_GENERATION_NEW
andPROFILE_GENERATION_UPDATE
. Each value may be one of:PROFILE_GENERATION_NEW
,PROFILE_GENERATION_UPDATE
. - tag
Conditions List<PreventionDiscovery Config Action Tag Resources Tag Condition> - The tags to associate with different conditions. Structure is documented below.
- lower
Data booleanRisk To Low - Whether applying a tag to a resource should lower the risk of the profile for that resource. For example, in conjunction with an IAM deny policy, you can deny all principals a permission if a tag value is present, mitigating the risk of the resource. This also lowers the data risk of resources at the lower levels of the resource hierarchy. For example, reducing the data risk of a table data profile also reduces the data risk of the constituent column data profiles.
- string[]
- The profile generations for which the tag should be attached to resources. If you attach a tag to only new profiles, then if the sensitivity score of a profile subsequently changes, its tag doesn't change. By default, this field includes only new profiles. To include both new and updated profiles for tagging, this field should explicitly include both
PROFILE_GENERATION_NEW
andPROFILE_GENERATION_UPDATE
. Each value may be one of:PROFILE_GENERATION_NEW
,PROFILE_GENERATION_UPDATE
. - tag
Conditions PreventionDiscovery Config Action Tag Resources Tag Condition[] - The tags to associate with different conditions. Structure is documented below.
- lower_
data_ boolrisk_ to_ low - Whether applying a tag to a resource should lower the risk of the profile for that resource. For example, in conjunction with an IAM deny policy, you can deny all principals a permission if a tag value is present, mitigating the risk of the resource. This also lowers the data risk of resources at the lower levels of the resource hierarchy. For example, reducing the data risk of a table data profile also reduces the data risk of the constituent column data profiles.
- Sequence[str]
- The profile generations for which the tag should be attached to resources. If you attach a tag to only new profiles, then if the sensitivity score of a profile subsequently changes, its tag doesn't change. By default, this field includes only new profiles. To include both new and updated profiles for tagging, this field should explicitly include both
PROFILE_GENERATION_NEW
andPROFILE_GENERATION_UPDATE
. Each value may be one of:PROFILE_GENERATION_NEW
,PROFILE_GENERATION_UPDATE
. - tag_
conditions Sequence[PreventionDiscovery Config Action Tag Resources Tag Condition] - The tags to associate with different conditions. Structure is documented below.
- lower
Data BooleanRisk To Low - Whether applying a tag to a resource should lower the risk of the profile for that resource. For example, in conjunction with an IAM deny policy, you can deny all principals a permission if a tag value is present, mitigating the risk of the resource. This also lowers the data risk of resources at the lower levels of the resource hierarchy. For example, reducing the data risk of a table data profile also reduces the data risk of the constituent column data profiles.
- List<String>
- The profile generations for which the tag should be attached to resources. If you attach a tag to only new profiles, then if the sensitivity score of a profile subsequently changes, its tag doesn't change. By default, this field includes only new profiles. To include both new and updated profiles for tagging, this field should explicitly include both
PROFILE_GENERATION_NEW
andPROFILE_GENERATION_UPDATE
. Each value may be one of:PROFILE_GENERATION_NEW
,PROFILE_GENERATION_UPDATE
. - tag
Conditions List<Property Map> - The tags to associate with different conditions. Structure is documented below.
PreventionDiscoveryConfigActionTagResourcesTagCondition, PreventionDiscoveryConfigActionTagResourcesTagConditionArgs
- Sensitivity
Score PreventionDiscovery Config Action Tag Resources Tag Condition Sensitivity Score - Conditions attaching the tag to a resource on its profile having this sensitivity score. Structure is documented below.
- Tag
Prevention
Discovery Config Action Tag Resources Tag Condition Tag - The tag value to attach to resources. Structure is documented below.
- Sensitivity
Score PreventionDiscovery Config Action Tag Resources Tag Condition Sensitivity Score - Conditions attaching the tag to a resource on its profile having this sensitivity score. Structure is documented below.
- Tag
Prevention
Discovery Config Action Tag Resources Tag Condition Tag - The tag value to attach to resources. Structure is documented below.
- sensitivity
Score PreventionDiscovery Config Action Tag Resources Tag Condition Sensitivity Score - Conditions attaching the tag to a resource on its profile having this sensitivity score. Structure is documented below.
- tag
Prevention
Discovery Config Action Tag Resources Tag Condition Tag - The tag value to attach to resources. Structure is documented below.
- sensitivity
Score PreventionDiscovery Config Action Tag Resources Tag Condition Sensitivity Score - Conditions attaching the tag to a resource on its profile having this sensitivity score. Structure is documented below.
- tag
Prevention
Discovery Config Action Tag Resources Tag Condition Tag - The tag value to attach to resources. Structure is documented below.
- sensitivity_
score PreventionDiscovery Config Action Tag Resources Tag Condition Sensitivity Score - Conditions attaching the tag to a resource on its profile having this sensitivity score. Structure is documented below.
- tag
Prevention
Discovery Config Action Tag Resources Tag Condition Tag - The tag value to attach to resources. Structure is documented below.
- sensitivity
Score Property Map - Conditions attaching the tag to a resource on its profile having this sensitivity score. Structure is documented below.
- tag Property Map
- The tag value to attach to resources. Structure is documented below.
PreventionDiscoveryConfigActionTagResourcesTagConditionSensitivityScore, PreventionDiscoveryConfigActionTagResourcesTagConditionSensitivityScoreArgs
- Score string
- The sensitivity score applied to the resource.
Possible values are:
SENSITIVITY_LOW
,SENSITIVITY_MODERATE
,SENSITIVITY_HIGH
.
- Score string
- The sensitivity score applied to the resource.
Possible values are:
SENSITIVITY_LOW
,SENSITIVITY_MODERATE
,SENSITIVITY_HIGH
.
- score String
- The sensitivity score applied to the resource.
Possible values are:
SENSITIVITY_LOW
,SENSITIVITY_MODERATE
,SENSITIVITY_HIGH
.
- score string
- The sensitivity score applied to the resource.
Possible values are:
SENSITIVITY_LOW
,SENSITIVITY_MODERATE
,SENSITIVITY_HIGH
.
- score str
- The sensitivity score applied to the resource.
Possible values are:
SENSITIVITY_LOW
,SENSITIVITY_MODERATE
,SENSITIVITY_HIGH
.
- score String
- The sensitivity score applied to the resource.
Possible values are:
SENSITIVITY_LOW
,SENSITIVITY_MODERATE
,SENSITIVITY_HIGH
.
PreventionDiscoveryConfigActionTagResourcesTagConditionTag, PreventionDiscoveryConfigActionTagResourcesTagConditionTagArgs
- Namespaced
Value string - The namespaced name for the tag value to attach to resources. Must be in the format
{parent_id}/{tag_key_short_name}/{short_name}
, for example, "123456/environment/prod".
- Namespaced
Value string - The namespaced name for the tag value to attach to resources. Must be in the format
{parent_id}/{tag_key_short_name}/{short_name}
, for example, "123456/environment/prod".
- namespaced
Value String - The namespaced name for the tag value to attach to resources. Must be in the format
{parent_id}/{tag_key_short_name}/{short_name}
, for example, "123456/environment/prod".
- namespaced
Value string - The namespaced name for the tag value to attach to resources. Must be in the format
{parent_id}/{tag_key_short_name}/{short_name}
, for example, "123456/environment/prod".
- namespaced_
value str - The namespaced name for the tag value to attach to resources. Must be in the format
{parent_id}/{tag_key_short_name}/{short_name}
, for example, "123456/environment/prod".
- namespaced
Value String - The namespaced name for the tag value to attach to resources. Must be in the format
{parent_id}/{tag_key_short_name}/{short_name}
, for example, "123456/environment/prod".
PreventionDiscoveryConfigError, PreventionDiscoveryConfigErrorArgs
- Details
Prevention
Discovery Config Error Details - A list of messages that carry the error details.
- Timestamp string
- The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
- Details
Prevention
Discovery Config Error Details - A list of messages that carry the error details.
- Timestamp string
- The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
- details
Prevention
Discovery Config Error Details - A list of messages that carry the error details.
- timestamp String
- The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
- details
Prevention
Discovery Config Error Details - A list of messages that carry the error details.
- timestamp string
- The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
- details
Prevention
Discovery Config Error Details - A list of messages that carry the error details.
- timestamp str
- The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
- details Property Map
- A list of messages that carry the error details.
- timestamp String
- The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
PreventionDiscoveryConfigErrorDetails, PreventionDiscoveryConfigErrorDetailsArgs
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details
List<Immutable
Dictionary<string, string>> - A list of messages that carry the error details.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- The status code, which should be an enum value of google.rpc.Code.
- Details []map[string]string
- A list of messages that carry the error details.
- Message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String,String>>
- A list of messages that carry the error details.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- The status code, which should be an enum value of google.rpc.Code.
- details {[key: string]: string}[]
- A list of messages that carry the error details.
- message string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- The status code, which should be an enum value of google.rpc.Code.
- details Sequence[Mapping[str, str]]
- A list of messages that carry the error details.
- message str
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- The status code, which should be an enum value of google.rpc.Code.
- details List<Map<String>>
- A list of messages that carry the error details.
- message String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
PreventionDiscoveryConfigOrgConfig, PreventionDiscoveryConfigOrgConfigArgs
- Location
Prevention
Discovery Config Org Config Location - The data to scan folder org or project Structure is documented below.
- Project
Id string - The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the cloud DLP API must be enabled.
- Location
Prevention
Discovery Config Org Config Location - The data to scan folder org or project Structure is documented below.
- Project
Id string - The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the cloud DLP API must be enabled.
- location
Prevention
Discovery Config Org Config Location - The data to scan folder org or project Structure is documented below.
- project
Id String - The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the cloud DLP API must be enabled.
- location
Prevention
Discovery Config Org Config Location - The data to scan folder org or project Structure is documented below.
- project
Id string - The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the cloud DLP API must be enabled.
- location
Prevention
Discovery Config Org Config Location - The data to scan folder org or project Structure is documented below.
- project_
id str - The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the cloud DLP API must be enabled.
- location Property Map
- The data to scan folder org or project Structure is documented below.
- project
Id String - The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the cloud DLP API must be enabled.
PreventionDiscoveryConfigOrgConfigLocation, PreventionDiscoveryConfigOrgConfigLocationArgs
- Folder
Id string - The ID for the folder within an organization to scan
- Organization
Id string - The ID of an organization to scan
- Folder
Id string - The ID for the folder within an organization to scan
- Organization
Id string - The ID of an organization to scan
- folder
Id String - The ID for the folder within an organization to scan
- organization
Id String - The ID of an organization to scan
- folder
Id string - The ID for the folder within an organization to scan
- organization
Id string - The ID of an organization to scan
- folder_
id str - The ID for the folder within an organization to scan
- organization_
id str - The ID of an organization to scan
- folder
Id String - The ID for the folder within an organization to scan
- organization
Id String - The ID of an organization to scan
PreventionDiscoveryConfigTarget, PreventionDiscoveryConfigTargetArgs
- Big
Query PreventionTarget Discovery Config Target Big Query Target - BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- Cloud
Sql PreventionTarget Discovery Config Target Cloud Sql Target - Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- Cloud
Storage PreventionTarget Discovery Config Target Cloud Storage Target - Cloud Storage target for Discovery. The first target to match a bucket will be the one applied. Structure is documented below.
- Secrets
Target PreventionDiscovery Config Target Secrets Target - Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
- Big
Query PreventionTarget Discovery Config Target Big Query Target - BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- Cloud
Sql PreventionTarget Discovery Config Target Cloud Sql Target - Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- Cloud
Storage PreventionTarget Discovery Config Target Cloud Storage Target - Cloud Storage target for Discovery. The first target to match a bucket will be the one applied. Structure is documented below.
- Secrets
Target PreventionDiscovery Config Target Secrets Target - Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
- big
Query PreventionTarget Discovery Config Target Big Query Target - BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- cloud
Sql PreventionTarget Discovery Config Target Cloud Sql Target - Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- cloud
Storage PreventionTarget Discovery Config Target Cloud Storage Target - Cloud Storage target for Discovery. The first target to match a bucket will be the one applied. Structure is documented below.
- secrets
Target PreventionDiscovery Config Target Secrets Target - Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
- big
Query PreventionTarget Discovery Config Target Big Query Target - BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- cloud
Sql PreventionTarget Discovery Config Target Cloud Sql Target - Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- cloud
Storage PreventionTarget Discovery Config Target Cloud Storage Target - Cloud Storage target for Discovery. The first target to match a bucket will be the one applied. Structure is documented below.
- secrets
Target PreventionDiscovery Config Target Secrets Target - Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
- big_
query_ Preventiontarget Discovery Config Target Big Query Target - BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- cloud_
sql_ Preventiontarget Discovery Config Target Cloud Sql Target - Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- cloud_
storage_ Preventiontarget Discovery Config Target Cloud Storage Target - Cloud Storage target for Discovery. The first target to match a bucket will be the one applied. Structure is documented below.
- secrets_
target PreventionDiscovery Config Target Secrets Target - Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
- big
Query Property MapTarget - BigQuery target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- cloud
Sql Property MapTarget - Cloud SQL target for Discovery. The first target to match a table will be the one applied. Structure is documented below.
- cloud
Storage Property MapTarget - Cloud Storage target for Discovery. The first target to match a bucket will be the one applied. Structure is documented below.
- secrets
Target Property Map - Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed.
PreventionDiscoveryConfigTargetBigQueryTarget, PreventionDiscoveryConfigTargetBigQueryTargetArgs
- Cadence
Prevention
Discovery Config Target Big Query Target Cadence - How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- Conditions
Prevention
Discovery Config Target Big Query Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
- Disabled
Prevention
Discovery Config Target Big Query Target Disabled - Tables that match this filter will not have profiles created.
- Filter
Prevention
Discovery Config Target Big Query Target Filter - Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
- Cadence
Prevention
Discovery Config Target Big Query Target Cadence - How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- Conditions
Prevention
Discovery Config Target Big Query Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
- Disabled
Prevention
Discovery Config Target Big Query Target Disabled - Tables that match this filter will not have profiles created.
- Filter
Prevention
Discovery Config Target Big Query Target Filter - Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
- cadence
Prevention
Discovery Config Target Big Query Target Cadence - How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- conditions
Prevention
Discovery Config Target Big Query Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
- disabled
Prevention
Discovery Config Target Big Query Target Disabled - Tables that match this filter will not have profiles created.
- filter
Prevention
Discovery Config Target Big Query Target Filter - Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
- cadence
Prevention
Discovery Config Target Big Query Target Cadence - How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- conditions
Prevention
Discovery Config Target Big Query Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
- disabled
Prevention
Discovery Config Target Big Query Target Disabled - Tables that match this filter will not have profiles created.
- filter
Prevention
Discovery Config Target Big Query Target Filter - Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
- cadence
Prevention
Discovery Config Target Big Query Target Cadence - How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- conditions
Prevention
Discovery Config Target Big Query Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
- disabled
Prevention
Discovery Config Target Big Query Target Disabled - Tables that match this filter will not have profiles created.
- filter
Prevention
Discovery Config Target Big Query Target Filter - Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
- cadence Property Map
- How often and when to update profiles. New tables that match both the fiter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- conditions Property Map
- In addition to matching the filter, these conditions must be true before a profile is generated Structure is documented below.
- disabled Property Map
- Tables that match this filter will not have profiles created.
- filter Property Map
- Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table Structure is documented below.
PreventionDiscoveryConfigTargetBigQueryTargetCadence, PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs
- Inspect
Template PreventionModified Cadence Discovery Config Target Big Query Target Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - Schema
Modified PreventionCadence Discovery Config Target Big Query Target Cadence Schema Modified Cadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- Table
Modified PreventionCadence Discovery Config Target Big Query Target Cadence Table Modified Cadence - Governs when to update profile when a table is modified. Structure is documented below.
- Inspect
Template PreventionModified Cadence Discovery Config Target Big Query Target Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - Schema
Modified PreventionCadence Discovery Config Target Big Query Target Cadence Schema Modified Cadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- Table
Modified PreventionCadence Discovery Config Target Big Query Target Cadence Table Modified Cadence - Governs when to update profile when a table is modified. Structure is documented below.
- inspect
Template PreventionModified Cadence Discovery Config Target Big Query Target Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - schema
Modified PreventionCadence Discovery Config Target Big Query Target Cadence Schema Modified Cadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- table
Modified PreventionCadence Discovery Config Target Big Query Target Cadence Table Modified Cadence - Governs when to update profile when a table is modified. Structure is documented below.
- inspect
Template PreventionModified Cadence Discovery Config Target Big Query Target Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - schema
Modified PreventionCadence Discovery Config Target Big Query Target Cadence Schema Modified Cadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- table
Modified PreventionCadence Discovery Config Target Big Query Target Cadence Table Modified Cadence - Governs when to update profile when a table is modified. Structure is documented below.
- inspect_
template_ Preventionmodified_ cadence Discovery Config Target Big Query Target Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - schema_
modified_ Preventioncadence Discovery Config Target Big Query Target Cadence Schema Modified Cadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- table_
modified_ Preventioncadence Discovery Config Target Big Query Target Cadence Table Modified Cadence - Governs when to update profile when a table is modified. Structure is documented below.
- inspect
Template Property MapModified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - schema
Modified Property MapCadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- table
Modified Property MapCadence - Governs when to update profile when a table is modified. Structure is documented below.
PreventionDiscoveryConfigTargetBigQueryTargetCadenceInspectTemplateModifiedCadence, PreventionDiscoveryConfigTargetBigQueryTargetCadenceInspectTemplateModifiedCadenceArgs
- Frequency string
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- Frequency string
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency String
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency string
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency str
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency String
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadence, PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs
- Frequency string
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - Types List<string>
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
- Frequency string
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - Types []string
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
- frequency String
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types List<String>
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
- frequency string
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types string[]
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
- frequency str
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types Sequence[str]
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
- frequency String
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types List<String>
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadence, PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs
- Frequency string
- How frequently data profiles can be updated when tables are modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - Types List<string>
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
Each value may be one of:
TABLE_MODIFIED_TIMESTAMP
.
- Frequency string
- How frequently data profiles can be updated when tables are modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - Types []string
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
Each value may be one of:
TABLE_MODIFIED_TIMESTAMP
.
- frequency String
- How frequently data profiles can be updated when tables are modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types List<String>
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
Each value may be one of:
TABLE_MODIFIED_TIMESTAMP
.
- frequency string
- How frequently data profiles can be updated when tables are modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types string[]
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
Each value may be one of:
TABLE_MODIFIED_TIMESTAMP
.
- frequency str
- How frequently data profiles can be updated when tables are modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types Sequence[str]
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
Each value may be one of:
TABLE_MODIFIED_TIMESTAMP
.
- frequency String
- How frequently data profiles can be updated when tables are modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types List<String>
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP
Each value may be one of:
TABLE_MODIFIED_TIMESTAMP
.
PreventionDiscoveryConfigTargetBigQueryTargetConditions, PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs
- Created
After string - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- Or
Conditions PreventionDiscovery Config Target Big Query Target Conditions Or Conditions - At least one of the conditions must be true for a table to be scanned. Structure is documented below.
- Type
Collection string - Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported.
Possible values are:
BIG_QUERY_COLLECTION_ALL_TYPES
,BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES
. - Types
Prevention
Discovery Config Target Big Query Target Conditions Types - Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
- Created
After string - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- Or
Conditions PreventionDiscovery Config Target Big Query Target Conditions Or Conditions - At least one of the conditions must be true for a table to be scanned. Structure is documented below.
- Type
Collection string - Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported.
Possible values are:
BIG_QUERY_COLLECTION_ALL_TYPES
,BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES
. - Types
Prevention
Discovery Config Target Big Query Target Conditions Types - Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
- created
After String - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- or
Conditions PreventionDiscovery Config Target Big Query Target Conditions Or Conditions - At least one of the conditions must be true for a table to be scanned. Structure is documented below.
- type
Collection String - Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported.
Possible values are:
BIG_QUERY_COLLECTION_ALL_TYPES
,BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES
. - types
Prevention
Discovery Config Target Big Query Target Conditions Types - Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
- created
After string - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- or
Conditions PreventionDiscovery Config Target Big Query Target Conditions Or Conditions - At least one of the conditions must be true for a table to be scanned. Structure is documented below.
- type
Collection string - Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported.
Possible values are:
BIG_QUERY_COLLECTION_ALL_TYPES
,BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES
. - types
Prevention
Discovery Config Target Big Query Target Conditions Types - Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
- created_
after str - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- or_
conditions PreventionDiscovery Config Target Big Query Target Conditions Or Conditions - At least one of the conditions must be true for a table to be scanned. Structure is documented below.
- type_
collection str - Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported.
Possible values are:
BIG_QUERY_COLLECTION_ALL_TYPES
,BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES
. - types
Prevention
Discovery Config Target Big Query Target Conditions Types - Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
- created
After String - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- or
Conditions Property Map - At least one of the conditions must be true for a table to be scanned. Structure is documented below.
- type
Collection String - Restrict discovery to categories of table types. Currently view, materialized view, snapshot and non-biglake external tables are supported.
Possible values are:
BIG_QUERY_COLLECTION_ALL_TYPES
,BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES
. - types Property Map
- Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditions, PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs
- Min
Age string - Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
- Min
Row intCount - Minimum number of rows that should be present before Cloud DLP profiles as a table.
- Min
Age string - Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
- Min
Row intCount - Minimum number of rows that should be present before Cloud DLP profiles as a table.
- min
Age String - Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
- min
Row IntegerCount - Minimum number of rows that should be present before Cloud DLP profiles as a table.
- min
Age string - Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
- min
Row numberCount - Minimum number of rows that should be present before Cloud DLP profiles as a table.
- min_
age str - Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
- min_
row_ intcount - Minimum number of rows that should be present before Cloud DLP profiles as a table.
- min
Age String - Duration format. The minimum age a table must have before Cloud DLP can profile it. Value greater than 1.
- min
Row NumberCount - Minimum number of rows that should be present before Cloud DLP profiles as a table.
PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypes, PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs
- Types List<string>
- A set of BiqQuery table types
Each value may be one of:
BIG_QUERY_TABLE_TYPE_TABLE
,BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE
.
- Types []string
- A set of BiqQuery table types
Each value may be one of:
BIG_QUERY_TABLE_TYPE_TABLE
,BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE
.
- types List<String>
- A set of BiqQuery table types
Each value may be one of:
BIG_QUERY_TABLE_TYPE_TABLE
,BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE
.
- types string[]
- A set of BiqQuery table types
Each value may be one of:
BIG_QUERY_TABLE_TYPE_TABLE
,BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE
.
- types Sequence[str]
- A set of BiqQuery table types
Each value may be one of:
BIG_QUERY_TABLE_TYPE_TABLE
,BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE
.
- types List<String>
- A set of BiqQuery table types
Each value may be one of:
BIG_QUERY_TABLE_TYPE_TABLE
,BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE
.
PreventionDiscoveryConfigTargetBigQueryTargetFilter, PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs
- Other
Tables PreventionDiscovery Config Target Big Query Target Filter Other Tables - Catch-all. This should always be the last filter in the list because anything above it will apply first.
- Table
Reference PreventionDiscovery Config Target Big Query Target Filter Table Reference - The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
- Tables
Prevention
Discovery Config Target Big Query Target Filter Tables - A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
- Other
Tables PreventionDiscovery Config Target Big Query Target Filter Other Tables - Catch-all. This should always be the last filter in the list because anything above it will apply first.
- Table
Reference PreventionDiscovery Config Target Big Query Target Filter Table Reference - The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
- Tables
Prevention
Discovery Config Target Big Query Target Filter Tables - A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
- other
Tables PreventionDiscovery Config Target Big Query Target Filter Other Tables - Catch-all. This should always be the last filter in the list because anything above it will apply first.
- table
Reference PreventionDiscovery Config Target Big Query Target Filter Table Reference - The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
- tables
Prevention
Discovery Config Target Big Query Target Filter Tables - A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
- other
Tables PreventionDiscovery Config Target Big Query Target Filter Other Tables - Catch-all. This should always be the last filter in the list because anything above it will apply first.
- table
Reference PreventionDiscovery Config Target Big Query Target Filter Table Reference - The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
- tables
Prevention
Discovery Config Target Big Query Target Filter Tables - A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
- other_
tables PreventionDiscovery Config Target Big Query Target Filter Other Tables - Catch-all. This should always be the last filter in the list because anything above it will apply first.
- table_
reference PreventionDiscovery Config Target Big Query Target Filter Table Reference - The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
- tables
Prevention
Discovery Config Target Big Query Target Filter Tables - A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
- other
Tables Property Map - Catch-all. This should always be the last filter in the list because anything above it will apply first.
- table
Reference Property Map - The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference). Structure is documented below.
- tables Property Map
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. Structure is documented below.
PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReference, PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs
- dataset_
id str - Dataset ID of the table.
- table_
id str - Name of the table.
PreventionDiscoveryConfigTargetBigQueryTargetFilterTables, PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs
- Include
Regexes PreventionDiscovery Config Target Big Query Target Filter Tables Include Regexes - A collection of regular expressions to match a BQ table against. Structure is documented below.
- Include
Regexes PreventionDiscovery Config Target Big Query Target Filter Tables Include Regexes - A collection of regular expressions to match a BQ table against. Structure is documented below.
- include
Regexes PreventionDiscovery Config Target Big Query Target Filter Tables Include Regexes - A collection of regular expressions to match a BQ table against. Structure is documented below.
- include
Regexes PreventionDiscovery Config Target Big Query Target Filter Tables Include Regexes - A collection of regular expressions to match a BQ table against. Structure is documented below.
- include_
regexes PreventionDiscovery Config Target Big Query Target Filter Tables Include Regexes - A collection of regular expressions to match a BQ table against. Structure is documented below.
- include
Regexes Property Map - A collection of regular expressions to match a BQ table against. Structure is documented below.
PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexes, PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs
- Patterns
List<Prevention
Discovery Config Target Big Query Target Filter Tables Include Regexes Pattern> - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- Patterns
[]Prevention
Discovery Config Target Big Query Target Filter Tables Include Regexes Pattern - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns
List<Prevention
Discovery Config Target Big Query Target Filter Tables Include Regexes Pattern> - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns
Prevention
Discovery Config Target Big Query Target Filter Tables Include Regexes Pattern[] - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns
Sequence[Prevention
Discovery Config Target Big Query Target Filter Tables Include Regexes Pattern] - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns List<Property Map>
- The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPattern, PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs
- Dataset
Id stringRegex - if unset, this property matches all datasets
- Project
Id stringRegex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- Table
Id stringRegex - if unset, this property matches all tables
- Dataset
Id stringRegex - if unset, this property matches all datasets
- Project
Id stringRegex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- Table
Id stringRegex - if unset, this property matches all tables
- dataset
Id StringRegex - if unset, this property matches all datasets
- project
Id StringRegex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- table
Id StringRegex - if unset, this property matches all tables
- dataset
Id stringRegex - if unset, this property matches all datasets
- project
Id stringRegex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- table
Id stringRegex - if unset, this property matches all tables
- dataset_
id_ strregex - if unset, this property matches all datasets
- project_
id_ strregex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- table_
id_ strregex - if unset, this property matches all tables
- dataset
Id StringRegex - if unset, this property matches all datasets
- project
Id StringRegex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- table
Id StringRegex - if unset, this property matches all tables
PreventionDiscoveryConfigTargetCloudSqlTarget, PreventionDiscoveryConfigTargetCloudSqlTargetArgs
- Filter
Prevention
Discovery Config Target Cloud Sql Target Filter - Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
- Conditions
Prevention
Discovery Config Target Cloud Sql Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- Disabled
Prevention
Discovery Config Target Cloud Sql Target Disabled - Disable profiling for database resources that match this filter.
- Generation
Cadence PreventionDiscovery Config Target Cloud Sql Target Generation Cadence - How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- Filter
Prevention
Discovery Config Target Cloud Sql Target Filter - Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
- Conditions
Prevention
Discovery Config Target Cloud Sql Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- Disabled
Prevention
Discovery Config Target Cloud Sql Target Disabled - Disable profiling for database resources that match this filter.
- Generation
Cadence PreventionDiscovery Config Target Cloud Sql Target Generation Cadence - How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- filter
Prevention
Discovery Config Target Cloud Sql Target Filter - Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
- conditions
Prevention
Discovery Config Target Cloud Sql Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- disabled
Prevention
Discovery Config Target Cloud Sql Target Disabled - Disable profiling for database resources that match this filter.
- generation
Cadence PreventionDiscovery Config Target Cloud Sql Target Generation Cadence - How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- filter
Prevention
Discovery Config Target Cloud Sql Target Filter - Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
- conditions
Prevention
Discovery Config Target Cloud Sql Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- disabled
Prevention
Discovery Config Target Cloud Sql Target Disabled - Disable profiling for database resources that match this filter.
- generation
Cadence PreventionDiscovery Config Target Cloud Sql Target Generation Cadence - How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- filter
Prevention
Discovery Config Target Cloud Sql Target Filter - Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
- conditions
Prevention
Discovery Config Target Cloud Sql Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- disabled
Prevention
Discovery Config Target Cloud Sql Target Disabled - Disable profiling for database resources that match this filter.
- generation_
cadence PreventionDiscovery Config Target Cloud Sql Target Generation Cadence - How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- filter Property Map
- Required. The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table. Structure is documented below.
- conditions Property Map
- In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- disabled Property Map
- Disable profiling for database resources that match this filter.
- generation
Cadence Property Map - How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
PreventionDiscoveryConfigTargetCloudSqlTargetConditions, PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs
- Database
Engines List<string> - Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
Each value may be one of:
ALL_SUPPORTED_DATABASE_ENGINES
,MYSQL
,POSTGRES
. - Types List<string>
- Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
- Database
Engines []string - Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
Each value may be one of:
ALL_SUPPORTED_DATABASE_ENGINES
,MYSQL
,POSTGRES
. - Types []string
- Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
- database
Engines List<String> - Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
Each value may be one of:
ALL_SUPPORTED_DATABASE_ENGINES
,MYSQL
,POSTGRES
. - types List<String>
- Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
- database
Engines string[] - Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
Each value may be one of:
ALL_SUPPORTED_DATABASE_ENGINES
,MYSQL
,POSTGRES
. - types string[]
- Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
- database_
engines Sequence[str] - Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
Each value may be one of:
ALL_SUPPORTED_DATABASE_ENGINES
,MYSQL
,POSTGRES
. - types Sequence[str]
- Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
- database
Engines List<String> - Database engines that should be profiled. Optional. Defaults to ALL_SUPPORTED_DATABASE_ENGINES if unspecified.
Each value may be one of:
ALL_SUPPORTED_DATABASE_ENGINES
,MYSQL
,POSTGRES
. - types List<String>
- Data profiles will only be generated for the database resource types specified in this field. If not specified, defaults to [DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES].
Each value may be one of:
DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES
,DATABASE_RESOURCE_TYPE_TABLE
.
PreventionDiscoveryConfigTargetCloudSqlTargetFilter, PreventionDiscoveryConfigTargetCloudSqlTargetFilterArgs
- Collection
Prevention
Discovery Config Target Cloud Sql Target Filter Collection - A specific set of buckets for this filter to apply to. Structure is documented below.
- Database
Resource PreventionReference Discovery Config Target Cloud Sql Target Filter Database Resource Reference - The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
- Others
Prevention
Discovery Config Target Cloud Sql Target Filter Others - Match discovery resources not covered by any other filter.
- Collection
Prevention
Discovery Config Target Cloud Sql Target Filter Collection - A specific set of buckets for this filter to apply to. Structure is documented below.
- Database
Resource PreventionReference Discovery Config Target Cloud Sql Target Filter Database Resource Reference - The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
- Others
Prevention
Discovery Config Target Cloud Sql Target Filter Others - Match discovery resources not covered by any other filter.
- collection
Prevention
Discovery Config Target Cloud Sql Target Filter Collection - A specific set of buckets for this filter to apply to. Structure is documented below.
- database
Resource PreventionReference Discovery Config Target Cloud Sql Target Filter Database Resource Reference - The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
- others
Prevention
Discovery Config Target Cloud Sql Target Filter Others - Match discovery resources not covered by any other filter.
- collection
Prevention
Discovery Config Target Cloud Sql Target Filter Collection - A specific set of buckets for this filter to apply to. Structure is documented below.
- database
Resource PreventionReference Discovery Config Target Cloud Sql Target Filter Database Resource Reference - The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
- others
Prevention
Discovery Config Target Cloud Sql Target Filter Others - Match discovery resources not covered by any other filter.
- collection
Prevention
Discovery Config Target Cloud Sql Target Filter Collection - A specific set of buckets for this filter to apply to. Structure is documented below.
- database_
resource_ Preventionreference Discovery Config Target Cloud Sql Target Filter Database Resource Reference - The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
- others
Prevention
Discovery Config Target Cloud Sql Target Filter Others - Match discovery resources not covered by any other filter.
- collection Property Map
- A specific set of buckets for this filter to apply to. Structure is documented below.
- database
Resource Property MapReference - The database resource to scan. Targets including this can only include one target (the target with this database resource reference). Structure is documented below.
- others Property Map
- Match discovery resources not covered by any other filter.
PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollection, PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs
- Include
Regexes PreventionDiscovery Config Target Cloud Sql Target Filter Collection Include Regexes - A collection of regular expressions to match a file store against. Structure is documented below.
- Include
Regexes PreventionDiscovery Config Target Cloud Sql Target Filter Collection Include Regexes - A collection of regular expressions to match a file store against. Structure is documented below.
- include
Regexes PreventionDiscovery Config Target Cloud Sql Target Filter Collection Include Regexes - A collection of regular expressions to match a file store against. Structure is documented below.
- include
Regexes PreventionDiscovery Config Target Cloud Sql Target Filter Collection Include Regexes - A collection of regular expressions to match a file store against. Structure is documented below.
- include_
regexes PreventionDiscovery Config Target Cloud Sql Target Filter Collection Include Regexes - A collection of regular expressions to match a file store against. Structure is documented below.
- include
Regexes Property Map - A collection of regular expressions to match a file store against. Structure is documented below.
PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexes, PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs
- Patterns
List<Prevention
Discovery Config Target Cloud Sql Target Filter Collection Include Regexes Pattern> - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- Patterns
[]Prevention
Discovery Config Target Cloud Sql Target Filter Collection Include Regexes Pattern - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns
List<Prevention
Discovery Config Target Cloud Sql Target Filter Collection Include Regexes Pattern> - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns
Prevention
Discovery Config Target Cloud Sql Target Filter Collection Include Regexes Pattern[] - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns
Sequence[Prevention
Discovery Config Target Cloud Sql Target Filter Collection Include Regexes Pattern] - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns List<Property Map>
- The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPattern, PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArgs
- Database
Regex string - Regex to test the database name against. If empty, all databases match.
- Database
Resource stringName Regex - Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
- Instance
Regex string - Regex to test the instance name against. If empty, all instances match.
- Project
Id stringRegex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- Database
Regex string - Regex to test the database name against. If empty, all databases match.
- Database
Resource stringName Regex - Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
- Instance
Regex string - Regex to test the instance name against. If empty, all instances match.
- Project
Id stringRegex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- database
Regex String - Regex to test the database name against. If empty, all databases match.
- database
Resource StringName Regex - Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
- instance
Regex String - Regex to test the instance name against. If empty, all instances match.
- project
Id StringRegex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- database
Regex string - Regex to test the database name against. If empty, all databases match.
- database
Resource stringName Regex - Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
- instance
Regex string - Regex to test the instance name against. If empty, all instances match.
- project
Id stringRegex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- database_
regex str - Regex to test the database name against. If empty, all databases match.
- database_
resource_ strname_ regex - Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
- instance_
regex str - Regex to test the instance name against. If empty, all instances match.
- project_
id_ strregex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- database
Regex String - Regex to test the database name against. If empty, all databases match.
- database
Resource StringName Regex - Regex to test the database resource's name against. An example of a database resource name is a table's name. Other database resource names like view names could be included in the future. If empty, all database resources match.'
- instance
Regex String - Regex to test the instance name against. If empty, all instances match.
- project
Id StringRegex - For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReference, PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs
- Database string
- Required. Name of a database within the instance.
- Database
Resource string - Required. Name of a database resource, for example, a table within the database.
- Instance string
- Required. The instance where this resource is located. For example: Cloud SQL instance ID.
- Project
Id string - Required. If within a project-level config, then this must match the config's project ID.
- Database string
- Required. Name of a database within the instance.
- Database
Resource string - Required. Name of a database resource, for example, a table within the database.
- Instance string
- Required. The instance where this resource is located. For example: Cloud SQL instance ID.
- Project
Id string - Required. If within a project-level config, then this must match the config's project ID.
- database String
- Required. Name of a database within the instance.
- database
Resource String - Required. Name of a database resource, for example, a table within the database.
- instance String
- Required. The instance where this resource is located. For example: Cloud SQL instance ID.
- project
Id String - Required. If within a project-level config, then this must match the config's project ID.
- database string
- Required. Name of a database within the instance.
- database
Resource string - Required. Name of a database resource, for example, a table within the database.
- instance string
- Required. The instance where this resource is located. For example: Cloud SQL instance ID.
- project
Id string - Required. If within a project-level config, then this must match the config's project ID.
- database str
- Required. Name of a database within the instance.
- database_
resource str - Required. Name of a database resource, for example, a table within the database.
- instance str
- Required. The instance where this resource is located. For example: Cloud SQL instance ID.
- project_
id str - Required. If within a project-level config, then this must match the config's project ID.
- database String
- Required. Name of a database within the instance.
- database
Resource String - Required. Name of a database resource, for example, a table within the database.
- instance String
- Required. The instance where this resource is located. For example: Cloud SQL instance ID.
- project
Id String - Required. If within a project-level config, then this must match the config's project ID.
PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadence, PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceArgs
- Inspect
Template PreventionModified Cadence Discovery Config Target Cloud Sql Target Generation Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - Refresh
Frequency string - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - Schema
Modified PreventionCadence Discovery Config Target Cloud Sql Target Generation Cadence Schema Modified Cadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- Inspect
Template PreventionModified Cadence Discovery Config Target Cloud Sql Target Generation Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - Refresh
Frequency string - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - Schema
Modified PreventionCadence Discovery Config Target Cloud Sql Target Generation Cadence Schema Modified Cadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- inspect
Template PreventionModified Cadence Discovery Config Target Cloud Sql Target Generation Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - refresh
Frequency String - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - schema
Modified PreventionCadence Discovery Config Target Cloud Sql Target Generation Cadence Schema Modified Cadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- inspect
Template PreventionModified Cadence Discovery Config Target Cloud Sql Target Generation Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - refresh
Frequency string - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - schema
Modified PreventionCadence Discovery Config Target Cloud Sql Target Generation Cadence Schema Modified Cadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- inspect_
template_ Preventionmodified_ cadence Discovery Config Target Cloud Sql Target Generation Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - refresh_
frequency str - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - schema_
modified_ Preventioncadence Discovery Config Target Cloud Sql Target Generation Cadence Schema Modified Cadence - Governs when to update data profiles when a schema is modified Structure is documented below.
- inspect
Template Property MapModified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - refresh
Frequency String - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - schema
Modified Property MapCadence - Governs when to update data profiles when a schema is modified Structure is documented below.
PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceInspectTemplateModifiedCadence, PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceInspectTemplateModifiedCadenceArgs
- Frequency string
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- Frequency string
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency String
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency string
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency str
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency String
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadence, PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs
- Frequency string
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - Types List<string>
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
- Frequency string
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - Types []string
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
- frequency String
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types List<String>
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
- frequency string
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types string[]
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
- frequency str
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types Sequence[str]
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
- frequency String
- Frequency to regenerate data profiles when the schema is modified. Defaults to monthly.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
. - types List<String>
- The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Each value may be one of:
NEW_COLUMNS
,REMOVED_COLUMNS
.
PreventionDiscoveryConfigTargetCloudStorageTarget, PreventionDiscoveryConfigTargetCloudStorageTargetArgs
- Filter
Prevention
Discovery Config Target Cloud Storage Target Filter - The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket. Structure is documented below.
- Conditions
Prevention
Discovery Config Target Cloud Storage Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- Disabled
Prevention
Discovery Config Target Cloud Storage Target Disabled - Disable profiling for buckets that match this filter.
- Generation
Cadence PreventionDiscovery Config Target Cloud Storage Target Generation Cadence - How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- Filter
Prevention
Discovery Config Target Cloud Storage Target Filter - The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket. Structure is documented below.
- Conditions
Prevention
Discovery Config Target Cloud Storage Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- Disabled
Prevention
Discovery Config Target Cloud Storage Target Disabled - Disable profiling for buckets that match this filter.
- Generation
Cadence PreventionDiscovery Config Target Cloud Storage Target Generation Cadence - How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- filter
Prevention
Discovery Config Target Cloud Storage Target Filter - The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket. Structure is documented below.
- conditions
Prevention
Discovery Config Target Cloud Storage Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- disabled
Prevention
Discovery Config Target Cloud Storage Target Disabled - Disable profiling for buckets that match this filter.
- generation
Cadence PreventionDiscovery Config Target Cloud Storage Target Generation Cadence - How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- filter
Prevention
Discovery Config Target Cloud Storage Target Filter - The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket. Structure is documented below.
- conditions
Prevention
Discovery Config Target Cloud Storage Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- disabled
Prevention
Discovery Config Target Cloud Storage Target Disabled - Disable profiling for buckets that match this filter.
- generation
Cadence PreventionDiscovery Config Target Cloud Storage Target Generation Cadence - How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- filter
Prevention
Discovery Config Target Cloud Storage Target Filter - The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket. Structure is documented below.
- conditions
Prevention
Discovery Config Target Cloud Storage Target Conditions - In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- disabled
Prevention
Discovery Config Target Cloud Storage Target Disabled - Disable profiling for buckets that match this filter.
- generation_
cadence PreventionDiscovery Config Target Cloud Storage Target Generation Cadence - How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
- filter Property Map
- The buckets the generation_cadence applies to. The first target with a matching filter will be the one to apply to a bucket. Structure is documented below.
- conditions Property Map
- In addition to matching the filter, these conditions must be true before a profile is generated. Structure is documented below.
- disabled Property Map
- Disable profiling for buckets that match this filter.
- generation
Cadence Property Map - How often and when to update profiles. New buckets that match both the filter and conditions are scanned as quickly as possible depending on system capacity. Structure is documented below.
PreventionDiscoveryConfigTargetCloudStorageTargetConditions, PreventionDiscoveryConfigTargetCloudStorageTargetConditionsArgs
- Cloud
Storage PreventionConditions Discovery Config Target Cloud Storage Target Conditions Cloud Storage Conditions - Cloud Storage conditions. Structure is documented below.
- Created
After string - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- Min
Age string - Duration format. Minimum age a file store must have. If set, the value must be 1 hour or greater.
- Cloud
Storage PreventionConditions Discovery Config Target Cloud Storage Target Conditions Cloud Storage Conditions - Cloud Storage conditions. Structure is documented below.
- Created
After string - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- Min
Age string - Duration format. Minimum age a file store must have. If set, the value must be 1 hour or greater.
- cloud
Storage PreventionConditions Discovery Config Target Cloud Storage Target Conditions Cloud Storage Conditions - Cloud Storage conditions. Structure is documented below.
- created
After String - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- min
Age String - Duration format. Minimum age a file store must have. If set, the value must be 1 hour or greater.
- cloud
Storage PreventionConditions Discovery Config Target Cloud Storage Target Conditions Cloud Storage Conditions - Cloud Storage conditions. Structure is documented below.
- created
After string - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- min
Age string - Duration format. Minimum age a file store must have. If set, the value must be 1 hour or greater.
- cloud_
storage_ Preventionconditions Discovery Config Target Cloud Storage Target Conditions Cloud Storage Conditions - Cloud Storage conditions. Structure is documented below.
- created_
after str - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- min_
age str - Duration format. Minimum age a file store must have. If set, the value must be 1 hour or greater.
- cloud
Storage Property MapConditions - Cloud Storage conditions. Structure is documented below.
- created
After String - File store must have been created after this date. Used to avoid backfilling. A timestamp in RFC3339 UTC "Zulu" format with nanosecond resolution and upto nine fractional digits.
- min
Age String - Duration format. Minimum age a file store must have. If set, the value must be 1 hour or greater.
PreventionDiscoveryConfigTargetCloudStorageTargetConditionsCloudStorageConditions, PreventionDiscoveryConfigTargetCloudStorageTargetConditionsCloudStorageConditionsArgs
- Included
Bucket List<string>Attributes - Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
Each value may be one of:
ALL_SUPPORTED_BUCKETS
,AUTOCLASS_DISABLED
,AUTOCLASS_ENABLED
. - Included
Object List<string>Attributes - Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes.
Each value may be one of:
ALL_SUPPORTED_OBJECTS
,STANDARD
,NEARLINE
,COLDLINE
,ARCHIVE
,REGIONAL
,MULTI_REGIONAL
,DURABLE_REDUCED_AVAILABILITY
.
- Included
Bucket []stringAttributes - Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
Each value may be one of:
ALL_SUPPORTED_BUCKETS
,AUTOCLASS_DISABLED
,AUTOCLASS_ENABLED
. - Included
Object []stringAttributes - Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes.
Each value may be one of:
ALL_SUPPORTED_OBJECTS
,STANDARD
,NEARLINE
,COLDLINE
,ARCHIVE
,REGIONAL
,MULTI_REGIONAL
,DURABLE_REDUCED_AVAILABILITY
.
- included
Bucket List<String>Attributes - Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
Each value may be one of:
ALL_SUPPORTED_BUCKETS
,AUTOCLASS_DISABLED
,AUTOCLASS_ENABLED
. - included
Object List<String>Attributes - Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes.
Each value may be one of:
ALL_SUPPORTED_OBJECTS
,STANDARD
,NEARLINE
,COLDLINE
,ARCHIVE
,REGIONAL
,MULTI_REGIONAL
,DURABLE_REDUCED_AVAILABILITY
.
- included
Bucket string[]Attributes - Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
Each value may be one of:
ALL_SUPPORTED_BUCKETS
,AUTOCLASS_DISABLED
,AUTOCLASS_ENABLED
. - included
Object string[]Attributes - Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes.
Each value may be one of:
ALL_SUPPORTED_OBJECTS
,STANDARD
,NEARLINE
,COLDLINE
,ARCHIVE
,REGIONAL
,MULTI_REGIONAL
,DURABLE_REDUCED_AVAILABILITY
.
- included_
bucket_ Sequence[str]attributes - Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
Each value may be one of:
ALL_SUPPORTED_BUCKETS
,AUTOCLASS_DISABLED
,AUTOCLASS_ENABLED
. - included_
object_ Sequence[str]attributes - Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes.
Each value may be one of:
ALL_SUPPORTED_OBJECTS
,STANDARD
,NEARLINE
,COLDLINE
,ARCHIVE
,REGIONAL
,MULTI_REGIONAL
,DURABLE_REDUCED_AVAILABILITY
.
- included
Bucket List<String>Attributes - Only objects with the specified attributes will be scanned. Defaults to [ALL_SUPPORTED_BUCKETS] if unset.
Each value may be one of:
ALL_SUPPORTED_BUCKETS
,AUTOCLASS_DISABLED
,AUTOCLASS_ENABLED
. - included
Object List<String>Attributes - Only objects with the specified attributes will be scanned. If an object has one of the specified attributes but is inside an excluded bucket, it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be created even if no objects match the included_object_attributes.
Each value may be one of:
ALL_SUPPORTED_OBJECTS
,STANDARD
,NEARLINE
,COLDLINE
,ARCHIVE
,REGIONAL
,MULTI_REGIONAL
,DURABLE_REDUCED_AVAILABILITY
.
PreventionDiscoveryConfigTargetCloudStorageTargetFilter, PreventionDiscoveryConfigTargetCloudStorageTargetFilterArgs
- Cloud
Storage PreventionResource Reference Discovery Config Target Cloud Storage Target Filter Cloud Storage Resource Reference - The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many buckets within a project or an organization. Structure is documented below.
- Collection
Prevention
Discovery Config Target Cloud Storage Target Filter Collection - A specific set of buckets for this filter to apply to. Structure is documented below.
- Others
Prevention
Discovery Config Target Cloud Storage Target Filter Others - Match discovery resources not covered by any other filter.
- Cloud
Storage PreventionResource Reference Discovery Config Target Cloud Storage Target Filter Cloud Storage Resource Reference - The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many buckets within a project or an organization. Structure is documented below.
- Collection
Prevention
Discovery Config Target Cloud Storage Target Filter Collection - A specific set of buckets for this filter to apply to. Structure is documented below.
- Others
Prevention
Discovery Config Target Cloud Storage Target Filter Others - Match discovery resources not covered by any other filter.
- cloud
Storage PreventionResource Reference Discovery Config Target Cloud Storage Target Filter Cloud Storage Resource Reference - The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many buckets within a project or an organization. Structure is documented below.
- collection
Prevention
Discovery Config Target Cloud Storage Target Filter Collection - A specific set of buckets for this filter to apply to. Structure is documented below.
- others
Prevention
Discovery Config Target Cloud Storage Target Filter Others - Match discovery resources not covered by any other filter.
- cloud
Storage PreventionResource Reference Discovery Config Target Cloud Storage Target Filter Cloud Storage Resource Reference - The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many buckets within a project or an organization. Structure is documented below.
- collection
Prevention
Discovery Config Target Cloud Storage Target Filter Collection - A specific set of buckets for this filter to apply to. Structure is documented below.
- others
Prevention
Discovery Config Target Cloud Storage Target Filter Others - Match discovery resources not covered by any other filter.
- cloud_
storage_ Preventionresource_ reference Discovery Config Target Cloud Storage Target Filter Cloud Storage Resource Reference - The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many buckets within a project or an organization. Structure is documented below.
- collection
Prevention
Discovery Config Target Cloud Storage Target Filter Collection - A specific set of buckets for this filter to apply to. Structure is documented below.
- others
Prevention
Discovery Config Target Cloud Storage Target Filter Others - Match discovery resources not covered by any other filter.
- cloud
Storage Property MapResource Reference - The bucket to scan. Targets including this can only include one target (the target with this bucket). This enables profiling the contents of a single bucket, while the other options allow for easy profiling of many buckets within a project or an organization. Structure is documented below.
- collection Property Map
- A specific set of buckets for this filter to apply to. Structure is documented below.
- others Property Map
- Match discovery resources not covered by any other filter.
PreventionDiscoveryConfigTargetCloudStorageTargetFilterCloudStorageResourceReference, PreventionDiscoveryConfigTargetCloudStorageTargetFilterCloudStorageResourceReferenceArgs
- Bucket
Name string - The bucket to scan.
- Project
Id string - If within a project-level config, then this must match the config's project id.
- Bucket
Name string - The bucket to scan.
- Project
Id string - If within a project-level config, then this must match the config's project id.
- bucket
Name String - The bucket to scan.
- project
Id String - If within a project-level config, then this must match the config's project id.
- bucket
Name string - The bucket to scan.
- project
Id string - If within a project-level config, then this must match the config's project id.
- bucket_
name str - The bucket to scan.
- project_
id str - If within a project-level config, then this must match the config's project id.
- bucket
Name String - The bucket to scan.
- project
Id String - If within a project-level config, then this must match the config's project id.
PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollection, PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionArgs
- Include
Regexes PreventionDiscovery Config Target Cloud Storage Target Filter Collection Include Regexes - A collection of regular expressions to match a file store against. Structure is documented below.
- Include
Regexes PreventionDiscovery Config Target Cloud Storage Target Filter Collection Include Regexes - A collection of regular expressions to match a file store against. Structure is documented below.
- include
Regexes PreventionDiscovery Config Target Cloud Storage Target Filter Collection Include Regexes - A collection of regular expressions to match a file store against. Structure is documented below.
- include
Regexes PreventionDiscovery Config Target Cloud Storage Target Filter Collection Include Regexes - A collection of regular expressions to match a file store against. Structure is documented below.
- include_
regexes PreventionDiscovery Config Target Cloud Storage Target Filter Collection Include Regexes - A collection of regular expressions to match a file store against. Structure is documented below.
- include
Regexes Property Map - A collection of regular expressions to match a file store against. Structure is documented below.
PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexes, PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesArgs
- Patterns
List<Prevention
Discovery Config Target Cloud Storage Target Filter Collection Include Regexes Pattern> - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- Patterns
[]Prevention
Discovery Config Target Cloud Storage Target Filter Collection Include Regexes Pattern - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns
List<Prevention
Discovery Config Target Cloud Storage Target Filter Collection Include Regexes Pattern> - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns
Prevention
Discovery Config Target Cloud Storage Target Filter Collection Include Regexes Pattern[] - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns
Sequence[Prevention
Discovery Config Target Cloud Storage Target Filter Collection Include Regexes Pattern] - The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
- patterns List<Property Map>
- The group of regular expression patterns to match against one or more file stores. Maximum of 100 entries. The sum of all lengths of regular expressions can't exceed 10 KiB. Structure is documented below.
PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPattern, PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPatternArgs
- Cloud
Storage PreventionRegex Discovery Config Target Cloud Storage Target Filter Collection Include Regexes Pattern Cloud Storage Regex - Regex for Cloud Storage. Structure is documented below.
- Cloud
Storage PreventionRegex Discovery Config Target Cloud Storage Target Filter Collection Include Regexes Pattern Cloud Storage Regex - Regex for Cloud Storage. Structure is documented below.
- cloud
Storage PreventionRegex Discovery Config Target Cloud Storage Target Filter Collection Include Regexes Pattern Cloud Storage Regex - Regex for Cloud Storage. Structure is documented below.
- cloud
Storage PreventionRegex Discovery Config Target Cloud Storage Target Filter Collection Include Regexes Pattern Cloud Storage Regex - Regex for Cloud Storage. Structure is documented below.
- cloud_
storage_ Preventionregex Discovery Config Target Cloud Storage Target Filter Collection Include Regexes Pattern Cloud Storage Regex - Regex for Cloud Storage. Structure is documented below.
- cloud
Storage Property MapRegex - Regex for Cloud Storage. Structure is documented below.
PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPatternCloudStorageRegex, PreventionDiscoveryConfigTargetCloudStorageTargetFilterCollectionIncludeRegexesPatternCloudStorageRegexArgs
- Bucket
Name stringRegex - Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021
- Project
Id stringRegex - For organizations, if unset, will match all projects.
- Bucket
Name stringRegex - Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021
- Project
Id stringRegex - For organizations, if unset, will match all projects.
- bucket
Name StringRegex - Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021
- project
Id StringRegex - For organizations, if unset, will match all projects.
- bucket
Name stringRegex - Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021
- project
Id stringRegex - For organizations, if unset, will match all projects.
- bucket_
name_ strregex - Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021
- project_
id_ strregex - For organizations, if unset, will match all projects.
- bucket
Name StringRegex - Regex to test the bucket name against. If empty, all buckets match. Example: "marketing2021" or "(marketing)\d{4}" will both match the bucket gs://marketing2021
- project
Id StringRegex - For organizations, if unset, will match all projects.
PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadence, PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceArgs
- Inspect
Template PreventionModified Cadence Discovery Config Target Cloud Storage Target Generation Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - Refresh
Frequency string - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- Inspect
Template PreventionModified Cadence Discovery Config Target Cloud Storage Target Generation Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - Refresh
Frequency string - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- inspect
Template PreventionModified Cadence Discovery Config Target Cloud Storage Target Generation Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - refresh
Frequency String - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- inspect
Template PreventionModified Cadence Discovery Config Target Cloud Storage Target Generation Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - refresh
Frequency string - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- inspect_
template_ Preventionmodified_ cadence Discovery Config Target Cloud Storage Target Generation Cadence Inspect Template Modified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - refresh_
frequency str - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- inspect
Template Property MapModified Cadence - Governs when to update data profiles when the inspection rules defined by the
InspectTemplate
change. If not set, changing the template will not cause a data profile to update. Structure is documented below. - refresh
Frequency String - Data changes in Cloud Storage can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying buckets have changes. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceInspectTemplateModifiedCadence, PreventionDiscoveryConfigTargetCloudStorageTargetGenerationCadenceInspectTemplateModifiedCadenceArgs
- Frequency string
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- Frequency string
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency String
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency string
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency str
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
- frequency String
- How frequently data profiles can be updated when the template is modified. Defaults to never.
Possible values are:
UPDATE_FREQUENCY_NEVER
,UPDATE_FREQUENCY_DAILY
,UPDATE_FREQUENCY_MONTHLY
.
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}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.