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",
},
},
},
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
{
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
{
RefreshFrequency = "string",
SchemaModifiedCadence = new Gcp.DataLoss.Inputs.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs
{
Frequency = "string",
Types = new[]
{
"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"),
},
},
},
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{
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{
RefreshFrequency: pulumi.String("string"),
SchemaModifiedCadence: &dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs{
Frequency: pulumi.String("string"),
Types: pulumi.StringArray{
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())
.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()
.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()
.refreshFrequency("string")
.schemaModifiedCadence(PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs.builder()
.frequency("string")
.types("string")
.build())
.build())
.build())
.secretsTarget()
.build())
.build());
prevention_discovery_config_resource = gcp.dataloss.PreventionDiscoveryConfig("preventionDiscoveryConfigResource",
location="string",
parent="string",
actions=[gcp.dataloss.PreventionDiscoveryConfigActionArgs(
export_data=gcp.dataloss.PreventionDiscoveryConfigActionExportDataArgs(
profile_table=gcp.dataloss.PreventionDiscoveryConfigActionExportDataProfileTableArgs(
dataset_id="string",
project_id="string",
table_id="string",
),
),
pub_sub_notification=gcp.dataloss.PreventionDiscoveryConfigActionPubSubNotificationArgs(
detail_of_message="string",
event="string",
pubsub_condition=gcp.dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionArgs(
expressions=gcp.dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsArgs(
conditions=[gcp.dataloss.PreventionDiscoveryConfigActionPubSubNotificationPubsubConditionExpressionsConditionArgs(
minimum_risk_score="string",
minimum_sensitivity_score="string",
)],
logical_operator="string",
),
),
topic="string",
),
)],
display_name="string",
inspect_templates=["string"],
org_config=gcp.dataloss.PreventionDiscoveryConfigOrgConfigArgs(
location=gcp.dataloss.PreventionDiscoveryConfigOrgConfigLocationArgs(
folder_id="string",
organization_id="string",
),
project_id="string",
),
status="string",
targets=[gcp.dataloss.PreventionDiscoveryConfigTargetArgs(
big_query_target=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetArgs(
cadence=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceArgs(
schema_modified_cadence=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceSchemaModifiedCadenceArgs(
frequency="string",
types=["string"],
),
table_modified_cadence=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetCadenceTableModifiedCadenceArgs(
frequency="string",
types=["string"],
),
),
conditions=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsArgs(
created_after="string",
or_conditions=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsOrConditionsArgs(
min_age="string",
min_row_count=0,
),
type_collection="string",
types=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetConditionsTypesArgs(
types=["string"],
),
),
disabled=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetDisabledArgs(),
filter=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterArgs(
other_tables=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterOtherTablesArgs(),
table_reference=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTableReferenceArgs(
dataset_id="string",
table_id="string",
),
tables=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesArgs(
include_regexes=gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesArgs(
patterns=[gcp.dataloss.PreventionDiscoveryConfigTargetBigQueryTargetFilterTablesIncludeRegexesPatternArgs(
dataset_id_regex="string",
project_id_regex="string",
table_id_regex="string",
)],
),
),
),
),
cloud_sql_target=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetArgs(
filter=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterArgs(
collection=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs(
include_regexes=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs(
patterns=[gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesPatternArgs(
database_regex="string",
database_resource_name_regex="string",
instance_regex="string",
project_id_regex="string",
)],
),
),
database_resource_reference=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterDatabaseResourceReferenceArgs(
database="string",
database_resource="string",
instance="string",
project_id="string",
),
others=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetFilterOthersArgs(),
),
conditions=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetConditionsArgs(
database_engines=["string"],
types=["string"],
),
disabled=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetDisabledArgs(),
generation_cadence=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceArgs(
refresh_frequency="string",
schema_modified_cadence=gcp.dataloss.PreventionDiscoveryConfigTargetCloudSqlTargetGenerationCadenceSchemaModifiedCadenceArgs(
frequency="string",
types=["string"],
),
),
),
secrets_target=gcp.dataloss.PreventionDiscoveryConfigTargetSecretsTargetArgs(),
)])
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",
},
}],
displayName: "string",
inspectTemplates: ["string"],
orgConfig: {
location: {
folderId: "string",
organizationId: "string",
},
projectId: "string",
},
status: "string",
targets: [{
bigQueryTarget: {
cadence: {
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: {
refreshFrequency: "string",
schemaModifiedCadence: {
frequency: "string",
types: ["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
displayName: string
inspectTemplates:
- string
location: string
orgConfig:
location:
folderId: string
organizationId: string
projectId: string
parent: string
status: string
targets:
- bigQueryTarget:
cadence:
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:
refreshFrequency: string
schemaModifiedCadence:
frequency: string
types:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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
.
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, object>> - 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]interface{}
- 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,Object>>
- 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]: any}[]
- 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, Any]]
- 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<Any>>
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
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 - 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 - 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 - 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 - 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 - 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 - 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> - A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
- Patterns
[]Prevention
Discovery Config Target Big Query Target Filter Tables Include Regexes Pattern - A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
- patterns
List<Prevention
Discovery Config Target Big Query Target Filter Tables Include Regexes Pattern> - A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
- patterns
Prevention
Discovery Config Target Big Query Target Filter Tables Include Regexes Pattern[] - A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
- patterns
Sequence[Prevention
Discovery Config Target Big Query Target Filter Tables Include Regexes Pattern] - A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
- patterns List<Property Map>
- A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length 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 database resources 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 - Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- Collection
Prevention
Discovery Config Target Cloud Sql Target Filter Collection - A specific set of database resources 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 - Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- collection
Prevention
Discovery Config Target Cloud Sql Target Filter Collection - A specific set of database resources 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 - Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- collection
Prevention
Discovery Config Target Cloud Sql Target Filter Collection - A specific set of database resources 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 - Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- collection
Prevention
Discovery Config Target Cloud Sql Target Filter Collection - A specific set of database resources 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 - Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- collection Property Map
- A specific set of database resources 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
- Catch-all. This should always be the last target in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollection, PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionArgs
- Include
Regexes PreventionDiscovery Config Target Cloud Sql Target Filter Collection Include Regexes - A collection of regular expressions to match a database resource 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 database resource 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 database resource 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 database resource 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 database resource against. Structure is documented below.
- include
Regexes Property Map - A collection of regular expressions to match a database resource against. Structure is documented below.
PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexes, PreventionDiscoveryConfigTargetCloudSqlTargetFilterCollectionIncludeRegexesArgs
- Patterns
List<Prevention
Discovery Config Target Cloud Sql Target Filter Collection Include Regexes Pattern> - A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
- Patterns
[]Prevention
Discovery Config Target Cloud Sql Target Filter Collection Include Regexes Pattern - A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
- patterns
List<Prevention
Discovery Config Target Cloud Sql Target Filter Collection Include Regexes Pattern> - A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
- patterns
Prevention
Discovery Config Target Cloud Sql Target Filter Collection Include Regexes Pattern[] - A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
- patterns
Sequence[Prevention
Discovery Config Target Cloud Sql Target Filter Collection Include Regexes Pattern] - A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length can't exceed 10 KiB. Structure is documented below.
- patterns List<Property Map>
- A group of regular expression patterns to match against one or more database resources. Maximum of 100 entries. The sum of all regular expressions' length 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
- Refresh
Frequency string - Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables 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.
- Refresh
Frequency string - Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables 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.
- refresh
Frequency String - Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables 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.
- refresh
Frequency string - Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables 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.
- refresh_
frequency str - Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables 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.
- refresh
Frequency String - Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables 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.
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
.
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.