1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. SensitiveDataModel
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.DataSafe.SensitiveDataModel

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the Sensitive Data Model resource in Oracle Cloud Infrastructure Data Safe service.

    Creates a new sensitive data model. If schemas and sensitive types are provided, it automatically runs data discovery and adds the discovered columns to the sensitive data model. Otherwise, it creates an empty sensitive data model that can be updated later.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSensitiveDataModel = new oci.datasafe.SensitiveDataModel("test_sensitive_data_model", {
        compartmentId: compartmentId,
        targetId: testTarget.id,
        appSuiteName: sensitiveDataModelAppSuiteName,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: sensitiveDataModelDescription,
        displayName: sensitiveDataModelDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        isAppDefinedRelationDiscoveryEnabled: sensitiveDataModelIsAppDefinedRelationDiscoveryEnabled,
        isIncludeAllSchemas: sensitiveDataModelIsIncludeAllSchemas,
        isIncludeAllSensitiveTypes: sensitiveDataModelIsIncludeAllSensitiveTypes,
        isSampleDataCollectionEnabled: sensitiveDataModelIsSampleDataCollectionEnabled,
        schemasForDiscoveries: sensitiveDataModelSchemasForDiscovery,
        sensitiveTypeIdsForDiscoveries: sensitiveDataModelSensitiveTypeIdsForDiscovery,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_sensitive_data_model = oci.data_safe.SensitiveDataModel("test_sensitive_data_model",
        compartment_id=compartment_id,
        target_id=test_target["id"],
        app_suite_name=sensitive_data_model_app_suite_name,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=sensitive_data_model_description,
        display_name=sensitive_data_model_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        is_app_defined_relation_discovery_enabled=sensitive_data_model_is_app_defined_relation_discovery_enabled,
        is_include_all_schemas=sensitive_data_model_is_include_all_schemas,
        is_include_all_sensitive_types=sensitive_data_model_is_include_all_sensitive_types,
        is_sample_data_collection_enabled=sensitive_data_model_is_sample_data_collection_enabled,
        schemas_for_discoveries=sensitive_data_model_schemas_for_discovery,
        sensitive_type_ids_for_discoveries=sensitive_data_model_sensitive_type_ids_for_discovery)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.NewSensitiveDataModel(ctx, "test_sensitive_data_model", &DataSafe.SensitiveDataModelArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			TargetId:      pulumi.Any(testTarget.Id),
    			AppSuiteName:  pulumi.Any(sensitiveDataModelAppSuiteName),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			Description: pulumi.Any(sensitiveDataModelDescription),
    			DisplayName: pulumi.Any(sensitiveDataModelDisplayName),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			IsAppDefinedRelationDiscoveryEnabled: pulumi.Any(sensitiveDataModelIsAppDefinedRelationDiscoveryEnabled),
    			IsIncludeAllSchemas:                  pulumi.Any(sensitiveDataModelIsIncludeAllSchemas),
    			IsIncludeAllSensitiveTypes:           pulumi.Any(sensitiveDataModelIsIncludeAllSensitiveTypes),
    			IsSampleDataCollectionEnabled:        pulumi.Any(sensitiveDataModelIsSampleDataCollectionEnabled),
    			SchemasForDiscoveries:                pulumi.Any(sensitiveDataModelSchemasForDiscovery),
    			SensitiveTypeIdsForDiscoveries:       pulumi.Any(sensitiveDataModelSensitiveTypeIdsForDiscovery),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testSensitiveDataModel = new Oci.DataSafe.SensitiveDataModel("test_sensitive_data_model", new()
        {
            CompartmentId = compartmentId,
            TargetId = testTarget.Id,
            AppSuiteName = sensitiveDataModelAppSuiteName,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = sensitiveDataModelDescription,
            DisplayName = sensitiveDataModelDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            IsAppDefinedRelationDiscoveryEnabled = sensitiveDataModelIsAppDefinedRelationDiscoveryEnabled,
            IsIncludeAllSchemas = sensitiveDataModelIsIncludeAllSchemas,
            IsIncludeAllSensitiveTypes = sensitiveDataModelIsIncludeAllSensitiveTypes,
            IsSampleDataCollectionEnabled = sensitiveDataModelIsSampleDataCollectionEnabled,
            SchemasForDiscoveries = sensitiveDataModelSchemasForDiscovery,
            SensitiveTypeIdsForDiscoveries = sensitiveDataModelSensitiveTypeIdsForDiscovery,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.SensitiveDataModel;
    import com.pulumi.oci.DataSafe.SensitiveDataModelArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testSensitiveDataModel = new SensitiveDataModel("testSensitiveDataModel", SensitiveDataModelArgs.builder()
                .compartmentId(compartmentId)
                .targetId(testTarget.id())
                .appSuiteName(sensitiveDataModelAppSuiteName)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(sensitiveDataModelDescription)
                .displayName(sensitiveDataModelDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .isAppDefinedRelationDiscoveryEnabled(sensitiveDataModelIsAppDefinedRelationDiscoveryEnabled)
                .isIncludeAllSchemas(sensitiveDataModelIsIncludeAllSchemas)
                .isIncludeAllSensitiveTypes(sensitiveDataModelIsIncludeAllSensitiveTypes)
                .isSampleDataCollectionEnabled(sensitiveDataModelIsSampleDataCollectionEnabled)
                .schemasForDiscoveries(sensitiveDataModelSchemasForDiscovery)
                .sensitiveTypeIdsForDiscoveries(sensitiveDataModelSensitiveTypeIdsForDiscovery)
                .build());
    
        }
    }
    
    resources:
      testSensitiveDataModel:
        type: oci:DataSafe:SensitiveDataModel
        name: test_sensitive_data_model
        properties:
          compartmentId: ${compartmentId}
          targetId: ${testTarget.id}
          appSuiteName: ${sensitiveDataModelAppSuiteName}
          definedTags:
            Operations.CostCenter: '42'
          description: ${sensitiveDataModelDescription}
          displayName: ${sensitiveDataModelDisplayName}
          freeformTags:
            Department: Finance
          isAppDefinedRelationDiscoveryEnabled: ${sensitiveDataModelIsAppDefinedRelationDiscoveryEnabled}
          isIncludeAllSchemas: ${sensitiveDataModelIsIncludeAllSchemas}
          isIncludeAllSensitiveTypes: ${sensitiveDataModelIsIncludeAllSensitiveTypes}
          isSampleDataCollectionEnabled: ${sensitiveDataModelIsSampleDataCollectionEnabled}
          schemasForDiscoveries: ${sensitiveDataModelSchemasForDiscovery}
          sensitiveTypeIdsForDiscoveries: ${sensitiveDataModelSensitiveTypeIdsForDiscovery}
    

    Create SensitiveDataModel Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SensitiveDataModel(name: string, args: SensitiveDataModelArgs, opts?: CustomResourceOptions);
    @overload
    def SensitiveDataModel(resource_name: str,
                           args: SensitiveDataModelArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def SensitiveDataModel(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           target_id: Optional[str] = None,
                           compartment_id: Optional[str] = None,
                           is_app_defined_relation_discovery_enabled: Optional[bool] = None,
                           description: Optional[str] = None,
                           display_name: Optional[str] = None,
                           freeform_tags: Optional[Mapping[str, Any]] = None,
                           app_suite_name: Optional[str] = None,
                           is_include_all_schemas: Optional[bool] = None,
                           is_include_all_sensitive_types: Optional[bool] = None,
                           is_sample_data_collection_enabled: Optional[bool] = None,
                           schemas_for_discoveries: Optional[Sequence[str]] = None,
                           sensitive_type_ids_for_discoveries: Optional[Sequence[str]] = None,
                           defined_tags: Optional[Mapping[str, Any]] = None)
    func NewSensitiveDataModel(ctx *Context, name string, args SensitiveDataModelArgs, opts ...ResourceOption) (*SensitiveDataModel, error)
    public SensitiveDataModel(string name, SensitiveDataModelArgs args, CustomResourceOptions? opts = null)
    public SensitiveDataModel(String name, SensitiveDataModelArgs args)
    public SensitiveDataModel(String name, SensitiveDataModelArgs args, CustomResourceOptions options)
    
    type: oci:DataSafe:SensitiveDataModel
    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 SensitiveDataModelArgs
    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 SensitiveDataModelArgs
    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 SensitiveDataModelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SensitiveDataModelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SensitiveDataModelArgs
    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 sensitiveDataModelResource = new Oci.DataSafe.SensitiveDataModel("sensitiveDataModelResource", new()
    {
        TargetId = "string",
        CompartmentId = "string",
        IsAppDefinedRelationDiscoveryEnabled = false,
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        AppSuiteName = "string",
        IsIncludeAllSchemas = false,
        IsIncludeAllSensitiveTypes = false,
        IsSampleDataCollectionEnabled = false,
        SchemasForDiscoveries = new[]
        {
            "string",
        },
        SensitiveTypeIdsForDiscoveries = new[]
        {
            "string",
        },
        DefinedTags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := DataSafe.NewSensitiveDataModel(ctx, "sensitiveDataModelResource", &DataSafe.SensitiveDataModelArgs{
    	TargetId:                             pulumi.String("string"),
    	CompartmentId:                        pulumi.String("string"),
    	IsAppDefinedRelationDiscoveryEnabled: pulumi.Bool(false),
    	Description:                          pulumi.String("string"),
    	DisplayName:                          pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	AppSuiteName:                  pulumi.String("string"),
    	IsIncludeAllSchemas:           pulumi.Bool(false),
    	IsIncludeAllSensitiveTypes:    pulumi.Bool(false),
    	IsSampleDataCollectionEnabled: pulumi.Bool(false),
    	SchemasForDiscoveries: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SensitiveTypeIdsForDiscoveries: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var sensitiveDataModelResource = new SensitiveDataModel("sensitiveDataModelResource", SensitiveDataModelArgs.builder()
        .targetId("string")
        .compartmentId("string")
        .isAppDefinedRelationDiscoveryEnabled(false)
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .appSuiteName("string")
        .isIncludeAllSchemas(false)
        .isIncludeAllSensitiveTypes(false)
        .isSampleDataCollectionEnabled(false)
        .schemasForDiscoveries("string")
        .sensitiveTypeIdsForDiscoveries("string")
        .definedTags(Map.of("string", "any"))
        .build());
    
    sensitive_data_model_resource = oci.data_safe.SensitiveDataModel("sensitiveDataModelResource",
        target_id="string",
        compartment_id="string",
        is_app_defined_relation_discovery_enabled=False,
        description="string",
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        app_suite_name="string",
        is_include_all_schemas=False,
        is_include_all_sensitive_types=False,
        is_sample_data_collection_enabled=False,
        schemas_for_discoveries=["string"],
        sensitive_type_ids_for_discoveries=["string"],
        defined_tags={
            "string": "any",
        })
    
    const sensitiveDataModelResource = new oci.datasafe.SensitiveDataModel("sensitiveDataModelResource", {
        targetId: "string",
        compartmentId: "string",
        isAppDefinedRelationDiscoveryEnabled: false,
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        appSuiteName: "string",
        isIncludeAllSchemas: false,
        isIncludeAllSensitiveTypes: false,
        isSampleDataCollectionEnabled: false,
        schemasForDiscoveries: ["string"],
        sensitiveTypeIdsForDiscoveries: ["string"],
        definedTags: {
            string: "any",
        },
    });
    
    type: oci:DataSafe:SensitiveDataModel
    properties:
        appSuiteName: string
        compartmentId: string
        definedTags:
            string: any
        description: string
        displayName: string
        freeformTags:
            string: any
        isAppDefinedRelationDiscoveryEnabled: false
        isIncludeAllSchemas: false
        isIncludeAllSensitiveTypes: false
        isSampleDataCollectionEnabled: false
        schemasForDiscoveries:
            - string
        sensitiveTypeIdsForDiscoveries:
            - string
        targetId: string
    

    SensitiveDataModel 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 SensitiveDataModel resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    TargetId string

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AppSuiteName string
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the sensitive data model.
    DisplayName string
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    IsAppDefinedRelationDiscoveryEnabled bool
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    IsIncludeAllSchemas bool
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    IsIncludeAllSensitiveTypes bool
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    IsSampleDataCollectionEnabled bool
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    SchemasForDiscoveries List<string>
    (Updatable) The schemas to be scanned by data discovery jobs.
    SensitiveTypeIdsForDiscoveries List<string>
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    CompartmentId string
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    TargetId string

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AppSuiteName string
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the sensitive data model.
    DisplayName string
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    IsAppDefinedRelationDiscoveryEnabled bool
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    IsIncludeAllSchemas bool
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    IsIncludeAllSensitiveTypes bool
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    IsSampleDataCollectionEnabled bool
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    SchemasForDiscoveries []string
    (Updatable) The schemas to be scanned by data discovery jobs.
    SensitiveTypeIdsForDiscoveries []string
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    compartmentId String
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    targetId String

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    appSuiteName String
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the sensitive data model.
    displayName String
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    isAppDefinedRelationDiscoveryEnabled Boolean
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    isIncludeAllSchemas Boolean
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    isIncludeAllSensitiveTypes Boolean
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    isSampleDataCollectionEnabled Boolean
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    schemasForDiscoveries List<String>
    (Updatable) The schemas to be scanned by data discovery jobs.
    sensitiveTypeIdsForDiscoveries List<String>
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    compartmentId string
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    targetId string

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    appSuiteName string
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) The description of the sensitive data model.
    displayName string
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    isAppDefinedRelationDiscoveryEnabled boolean
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    isIncludeAllSchemas boolean
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    isIncludeAllSensitiveTypes boolean
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    isSampleDataCollectionEnabled boolean
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    schemasForDiscoveries string[]
    (Updatable) The schemas to be scanned by data discovery jobs.
    sensitiveTypeIdsForDiscoveries string[]
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    compartment_id str
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    target_id str

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    app_suite_name str
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) The description of the sensitive data model.
    display_name str
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    is_app_defined_relation_discovery_enabled bool
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    is_include_all_schemas bool
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    is_include_all_sensitive_types bool
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    is_sample_data_collection_enabled bool
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    schemas_for_discoveries Sequence[str]
    (Updatable) The schemas to be scanned by data discovery jobs.
    sensitive_type_ids_for_discoveries Sequence[str]
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    compartmentId String
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    targetId String

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    appSuiteName String
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the sensitive data model.
    displayName String
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    isAppDefinedRelationDiscoveryEnabled Boolean
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    isIncludeAllSchemas Boolean
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    isIncludeAllSensitiveTypes Boolean
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    isSampleDataCollectionEnabled Boolean
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    schemasForDiscoveries List<String>
    (Updatable) The schemas to be scanned by data discovery jobs.
    sensitiveTypeIdsForDiscoveries List<String>
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SensitiveDataModel resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the sensitive data model.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the sensitive data model.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the sensitive data model.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the sensitive data model.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    timeUpdated string
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the sensitive data model.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    time_updated str
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the sensitive data model.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.

    Look up Existing SensitiveDataModel Resource

    Get an existing SensitiveDataModel 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?: SensitiveDataModelState, opts?: CustomResourceOptions): SensitiveDataModel
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_suite_name: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            is_app_defined_relation_discovery_enabled: Optional[bool] = None,
            is_include_all_schemas: Optional[bool] = None,
            is_include_all_sensitive_types: Optional[bool] = None,
            is_sample_data_collection_enabled: Optional[bool] = None,
            schemas_for_discoveries: Optional[Sequence[str]] = None,
            sensitive_type_ids_for_discoveries: Optional[Sequence[str]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            target_id: Optional[str] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> SensitiveDataModel
    func GetSensitiveDataModel(ctx *Context, name string, id IDInput, state *SensitiveDataModelState, opts ...ResourceOption) (*SensitiveDataModel, error)
    public static SensitiveDataModel Get(string name, Input<string> id, SensitiveDataModelState? state, CustomResourceOptions? opts = null)
    public static SensitiveDataModel get(String name, Output<String> id, SensitiveDataModelState 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.
    The following state arguments are supported:
    AppSuiteName string
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    CompartmentId string
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the sensitive data model.
    DisplayName string
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    IsAppDefinedRelationDiscoveryEnabled bool
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    IsIncludeAllSchemas bool
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    IsIncludeAllSensitiveTypes bool
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    IsSampleDataCollectionEnabled bool
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    SchemasForDiscoveries List<string>
    (Updatable) The schemas to be scanned by data discovery jobs.
    SensitiveTypeIdsForDiscoveries List<string>
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    State string
    The current state of the sensitive data model.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetId string

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeCreated string
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.
    AppSuiteName string
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    CompartmentId string
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the sensitive data model.
    DisplayName string
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    FreeformTags map[string]interface{}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    IsAppDefinedRelationDiscoveryEnabled bool
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    IsIncludeAllSchemas bool
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    IsIncludeAllSensitiveTypes bool
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    IsSampleDataCollectionEnabled bool
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    SchemasForDiscoveries []string
    (Updatable) The schemas to be scanned by data discovery jobs.
    SensitiveTypeIdsForDiscoveries []string
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    State string
    The current state of the sensitive data model.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetId string

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeCreated string
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.
    appSuiteName String
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    compartmentId String
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the sensitive data model.
    displayName String
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    freeformTags Map<String,Object>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    isAppDefinedRelationDiscoveryEnabled Boolean
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    isIncludeAllSchemas Boolean
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    isIncludeAllSensitiveTypes Boolean
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    isSampleDataCollectionEnabled Boolean
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    schemasForDiscoveries List<String>
    (Updatable) The schemas to be scanned by data discovery jobs.
    sensitiveTypeIdsForDiscoveries List<String>
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    state String
    The current state of the sensitive data model.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId String

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated String
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.
    appSuiteName string
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    compartmentId string
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) The description of the sensitive data model.
    displayName string
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    freeformTags {[key: string]: any}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    isAppDefinedRelationDiscoveryEnabled boolean
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    isIncludeAllSchemas boolean
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    isIncludeAllSensitiveTypes boolean
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    isSampleDataCollectionEnabled boolean
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    schemasForDiscoveries string[]
    (Updatable) The schemas to be scanned by data discovery jobs.
    sensitiveTypeIdsForDiscoveries string[]
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    state string
    The current state of the sensitive data model.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId string

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated string
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    timeUpdated string
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.
    app_suite_name str
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    compartment_id str
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) The description of the sensitive data model.
    display_name str
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, Any]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    is_app_defined_relation_discovery_enabled bool
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    is_include_all_schemas bool
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    is_include_all_sensitive_types bool
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    is_sample_data_collection_enabled bool
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    schemas_for_discoveries Sequence[str]
    (Updatable) The schemas to be scanned by data discovery jobs.
    sensitive_type_ids_for_discoveries Sequence[str]
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    state str
    The current state of the sensitive data model.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_id str

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    time_created str
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    time_updated str
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.
    appSuiteName String
    (Updatable) The application suite name identifying a collection of applications. It's useful only if maintaining a sensitive data model for a suite of applications.
    compartmentId String
    (Updatable) The OCID of the compartment where the sensitive data model should be created.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the sensitive data model.
    displayName String
    (Updatable) The display name of the sensitive data model. The name does not have to be unique, and it's changeable.
    freeformTags Map<Any>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    isAppDefinedRelationDiscoveryEnabled Boolean
    (Updatable) Indicates if data discovery jobs should identify potential application-level (non-dictionary) referential relationships between columns. Note that data discovery automatically identifies and adds database-level (dictionary-defined) relationships. This option helps identify application-level relationships that are not defined in the database dictionary, which in turn, helps identify additional sensitive columns and preserve referential integrity during data masking. It's disabled by default and should be used only if there is a need to identify application-level relationships.
    isIncludeAllSchemas Boolean
    Indicates if all the schemas in the associated target database should be scanned by data discovery jobs. If it is set to true, sensitive data is discovered in all schemas (except for schemas maintained by Oracle).
    isIncludeAllSensitiveTypes Boolean
    Indicates if all the existing sensitive types should be used by data discovery jobs. If it's set to true, the sensitiveTypeIdsForDiscovery attribute is ignored and all sensitive types are used for data discovery.
    isSampleDataCollectionEnabled Boolean
    (Updatable) Indicates if data discovery jobs should collect and store sample data values for the discovered columns. Sample data helps review the discovered columns and ensure that they actually contain sensitive data. As it collects original data from the target database, it's disabled by default and should be used only if it's acceptable to store sample data in Data Safe's repository in Oracle Cloud. Note that sample data values are not collected for columns with the following data types: LONG, LOB, RAW, XMLTYPE and BFILE.
    schemasForDiscoveries List<String>
    (Updatable) The schemas to be scanned by data discovery jobs.
    sensitiveTypeIdsForDiscoveries List<String>
    (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery.
    state String
    The current state of the sensitive data model.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId String

    (Updatable) The OCID of the reference target database to be associated with the sensitive data model. All operations such as performing data discovery and adding columns manually are done in the context of the associated target database.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated String
    The date and time the sensitive data model was created, in the format defined by RFC3339.
    timeUpdated String
    The date and time the sensitive data model was last updated, in the format defined by RFC3339.

    Import

    SensitiveDataModels can be imported using the id, e.g.

    $ pulumi import oci:DataSafe/sensitiveDataModel:SensitiveDataModel test_sensitive_data_model "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi