1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getSensitiveDataModels
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DataSafe.getSensitiveDataModels

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Sensitive Data Models in Oracle Cloud Infrastructure Data Safe service.

    Gets a list of sensitive data models based on the specified query parameters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSensitiveDataModels = oci.DataSafe.getSensitiveDataModels({
        compartmentId: compartmentId,
        accessLevel: sensitiveDataModelAccessLevel,
        compartmentIdInSubtree: sensitiveDataModelCompartmentIdInSubtree,
        displayName: sensitiveDataModelDisplayName,
        sensitiveDataModelId: testSensitiveDataModel.id,
        state: sensitiveDataModelState,
        targetId: testTarget.id,
        timeCreatedGreaterThanOrEqualTo: sensitiveDataModelTimeCreatedGreaterThanOrEqualTo,
        timeCreatedLessThan: sensitiveDataModelTimeCreatedLessThan,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_sensitive_data_models = oci.DataSafe.get_sensitive_data_models(compartment_id=compartment_id,
        access_level=sensitive_data_model_access_level,
        compartment_id_in_subtree=sensitive_data_model_compartment_id_in_subtree,
        display_name=sensitive_data_model_display_name,
        sensitive_data_model_id=test_sensitive_data_model["id"],
        state=sensitive_data_model_state,
        target_id=test_target["id"],
        time_created_greater_than_or_equal_to=sensitive_data_model_time_created_greater_than_or_equal_to,
        time_created_less_than=sensitive_data_model_time_created_less_than)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.GetSensitiveDataModels(ctx, &datasafe.GetSensitiveDataModelsArgs{
    			CompartmentId:                   compartmentId,
    			AccessLevel:                     pulumi.StringRef(sensitiveDataModelAccessLevel),
    			CompartmentIdInSubtree:          pulumi.BoolRef(sensitiveDataModelCompartmentIdInSubtree),
    			DisplayName:                     pulumi.StringRef(sensitiveDataModelDisplayName),
    			SensitiveDataModelId:            pulumi.StringRef(testSensitiveDataModel.Id),
    			State:                           pulumi.StringRef(sensitiveDataModelState),
    			TargetId:                        pulumi.StringRef(testTarget.Id),
    			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(sensitiveDataModelTimeCreatedGreaterThanOrEqualTo),
    			TimeCreatedLessThan:             pulumi.StringRef(sensitiveDataModelTimeCreatedLessThan),
    		}, nil)
    		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 testSensitiveDataModels = Oci.DataSafe.GetSensitiveDataModels.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = sensitiveDataModelAccessLevel,
            CompartmentIdInSubtree = sensitiveDataModelCompartmentIdInSubtree,
            DisplayName = sensitiveDataModelDisplayName,
            SensitiveDataModelId = testSensitiveDataModel.Id,
            State = sensitiveDataModelState,
            TargetId = testTarget.Id,
            TimeCreatedGreaterThanOrEqualTo = sensitiveDataModelTimeCreatedGreaterThanOrEqualTo,
            TimeCreatedLessThan = sensitiveDataModelTimeCreatedLessThan,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetSensitiveDataModelsArgs;
    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) {
            final var testSensitiveDataModels = DataSafeFunctions.getSensitiveDataModels(GetSensitiveDataModelsArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(sensitiveDataModelAccessLevel)
                .compartmentIdInSubtree(sensitiveDataModelCompartmentIdInSubtree)
                .displayName(sensitiveDataModelDisplayName)
                .sensitiveDataModelId(testSensitiveDataModel.id())
                .state(sensitiveDataModelState)
                .targetId(testTarget.id())
                .timeCreatedGreaterThanOrEqualTo(sensitiveDataModelTimeCreatedGreaterThanOrEqualTo)
                .timeCreatedLessThan(sensitiveDataModelTimeCreatedLessThan)
                .build());
    
        }
    }
    
    variables:
      testSensitiveDataModels:
        fn::invoke:
          Function: oci:DataSafe:getSensitiveDataModels
          Arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${sensitiveDataModelAccessLevel}
            compartmentIdInSubtree: ${sensitiveDataModelCompartmentIdInSubtree}
            displayName: ${sensitiveDataModelDisplayName}
            sensitiveDataModelId: ${testSensitiveDataModel.id}
            state: ${sensitiveDataModelState}
            targetId: ${testTarget.id}
            timeCreatedGreaterThanOrEqualTo: ${sensitiveDataModelTimeCreatedGreaterThanOrEqualTo}
            timeCreatedLessThan: ${sensitiveDataModelTimeCreatedLessThan}
    

    Using getSensitiveDataModels

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSensitiveDataModels(args: GetSensitiveDataModelsArgs, opts?: InvokeOptions): Promise<GetSensitiveDataModelsResult>
    function getSensitiveDataModelsOutput(args: GetSensitiveDataModelsOutputArgs, opts?: InvokeOptions): Output<GetSensitiveDataModelsResult>
    def get_sensitive_data_models(access_level: Optional[str] = None,
                                  compartment_id: Optional[str] = None,
                                  compartment_id_in_subtree: Optional[bool] = None,
                                  display_name: Optional[str] = None,
                                  filters: Optional[Sequence[_datasafe.GetSensitiveDataModelsFilter]] = None,
                                  sensitive_data_model_id: Optional[str] = None,
                                  state: Optional[str] = None,
                                  target_id: Optional[str] = None,
                                  time_created_greater_than_or_equal_to: Optional[str] = None,
                                  time_created_less_than: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetSensitiveDataModelsResult
    def get_sensitive_data_models_output(access_level: Optional[pulumi.Input[str]] = None,
                                  compartment_id: Optional[pulumi.Input[str]] = None,
                                  compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                                  display_name: Optional[pulumi.Input[str]] = None,
                                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetSensitiveDataModelsFilterArgs]]]] = None,
                                  sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
                                  state: Optional[pulumi.Input[str]] = None,
                                  target_id: Optional[pulumi.Input[str]] = None,
                                  time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                  time_created_less_than: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetSensitiveDataModelsResult]
    func GetSensitiveDataModels(ctx *Context, args *GetSensitiveDataModelsArgs, opts ...InvokeOption) (*GetSensitiveDataModelsResult, error)
    func GetSensitiveDataModelsOutput(ctx *Context, args *GetSensitiveDataModelsOutputArgs, opts ...InvokeOption) GetSensitiveDataModelsResultOutput

    > Note: This function is named GetSensitiveDataModels in the Go SDK.

    public static class GetSensitiveDataModels 
    {
        public static Task<GetSensitiveDataModelsResult> InvokeAsync(GetSensitiveDataModelsArgs args, InvokeOptions? opts = null)
        public static Output<GetSensitiveDataModelsResult> Invoke(GetSensitiveDataModelsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSensitiveDataModelsResult> getSensitiveDataModels(GetSensitiveDataModelsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getSensitiveDataModels:getSensitiveDataModels
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    DisplayName string
    A filter to return only resources that match the specified display name.
    Filters List<GetSensitiveDataModelsFilter>
    SensitiveDataModelId string
    A filter to return only the resources that match the specified sensitive data model OCID.
    State string
    A filter to return only the resources that match the specified lifecycle state.
    TargetId string
    A filter to return only items related to a specific target OCID.
    TimeCreatedGreaterThanOrEqualTo string

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    TimeCreatedLessThan string

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    DisplayName string
    A filter to return only resources that match the specified display name.
    Filters []GetSensitiveDataModelsFilter
    SensitiveDataModelId string
    A filter to return only the resources that match the specified sensitive data model OCID.
    State string
    A filter to return only the resources that match the specified lifecycle state.
    TargetId string
    A filter to return only items related to a specific target OCID.
    TimeCreatedGreaterThanOrEqualTo string

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    TimeCreatedLessThan string

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    displayName String
    A filter to return only resources that match the specified display name.
    filters List<GetSensitiveDataModelsFilter>
    sensitiveDataModelId String
    A filter to return only the resources that match the specified sensitive data model OCID.
    state String
    A filter to return only the resources that match the specified lifecycle state.
    targetId String
    A filter to return only items related to a specific target OCID.
    timeCreatedGreaterThanOrEqualTo String

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    timeCreatedLessThan String

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    accessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    displayName string
    A filter to return only resources that match the specified display name.
    filters GetSensitiveDataModelsFilter[]
    sensitiveDataModelId string
    A filter to return only the resources that match the specified sensitive data model OCID.
    state string
    A filter to return only the resources that match the specified lifecycle state.
    targetId string
    A filter to return only items related to a specific target OCID.
    timeCreatedGreaterThanOrEqualTo string

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    timeCreatedLessThan string

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    access_level str
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartment_id_in_subtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    display_name str
    A filter to return only resources that match the specified display name.
    filters Sequence[datasafe.GetSensitiveDataModelsFilter]
    sensitive_data_model_id str
    A filter to return only the resources that match the specified sensitive data model OCID.
    state str
    A filter to return only the resources that match the specified lifecycle state.
    target_id str
    A filter to return only items related to a specific target OCID.
    time_created_greater_than_or_equal_to str

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    time_created_less_than str

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    displayName String
    A filter to return only resources that match the specified display name.
    filters List<Property Map>
    sensitiveDataModelId String
    A filter to return only the resources that match the specified sensitive data model OCID.
    state String
    A filter to return only the resources that match the specified lifecycle state.
    targetId String
    A filter to return only items related to a specific target OCID.
    timeCreatedGreaterThanOrEqualTo String

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    timeCreatedLessThan String

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    getSensitiveDataModels Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the sensitive data model.
    Id string
    The provider-assigned unique ID for this managed resource.
    SensitiveDataModelCollections List<GetSensitiveDataModelsSensitiveDataModelCollection>
    The list of sensitive_data_model_collection.
    AccessLevel string
    CompartmentIdInSubtree bool
    DisplayName string
    The display name of the sensitive data model.
    Filters List<GetSensitiveDataModelsFilter>
    SensitiveDataModelId string
    State string
    The current state of the sensitive data model.
    TargetId string
    The OCID of the reference target database 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.
    TimeCreatedGreaterThanOrEqualTo string
    TimeCreatedLessThan string
    CompartmentId string
    The OCID of the compartment that contains the sensitive data model.
    Id string
    The provider-assigned unique ID for this managed resource.
    SensitiveDataModelCollections []GetSensitiveDataModelsSensitiveDataModelCollection
    The list of sensitive_data_model_collection.
    AccessLevel string
    CompartmentIdInSubtree bool
    DisplayName string
    The display name of the sensitive data model.
    Filters []GetSensitiveDataModelsFilter
    SensitiveDataModelId string
    State string
    The current state of the sensitive data model.
    TargetId string
    The OCID of the reference target database 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.
    TimeCreatedGreaterThanOrEqualTo string
    TimeCreatedLessThan string
    compartmentId String
    The OCID of the compartment that contains the sensitive data model.
    id String
    The provider-assigned unique ID for this managed resource.
    sensitiveDataModelCollections List<GetSensitiveDataModelsSensitiveDataModelCollection>
    The list of sensitive_data_model_collection.
    accessLevel String
    compartmentIdInSubtree Boolean
    displayName String
    The display name of the sensitive data model.
    filters List<GetSensitiveDataModelsFilter>
    sensitiveDataModelId String
    state String
    The current state of the sensitive data model.
    targetId String
    The OCID of the reference target database 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.
    timeCreatedGreaterThanOrEqualTo String
    timeCreatedLessThan String
    compartmentId string
    The OCID of the compartment that contains the sensitive data model.
    id string
    The provider-assigned unique ID for this managed resource.
    sensitiveDataModelCollections GetSensitiveDataModelsSensitiveDataModelCollection[]
    The list of sensitive_data_model_collection.
    accessLevel string
    compartmentIdInSubtree boolean
    displayName string
    The display name of the sensitive data model.
    filters GetSensitiveDataModelsFilter[]
    sensitiveDataModelId string
    state string
    The current state of the sensitive data model.
    targetId string
    The OCID of the reference target database 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.
    timeCreatedGreaterThanOrEqualTo string
    timeCreatedLessThan string
    compartment_id str
    The OCID of the compartment that contains the sensitive data model.
    id str
    The provider-assigned unique ID for this managed resource.
    sensitive_data_model_collections Sequence[datasafe.GetSensitiveDataModelsSensitiveDataModelCollection]
    The list of sensitive_data_model_collection.
    access_level str
    compartment_id_in_subtree bool
    display_name str
    The display name of the sensitive data model.
    filters Sequence[datasafe.GetSensitiveDataModelsFilter]
    sensitive_data_model_id str
    state str
    The current state of the sensitive data model.
    target_id str
    The OCID of the reference target database 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.
    time_created_greater_than_or_equal_to str
    time_created_less_than str
    compartmentId String
    The OCID of the compartment that contains the sensitive data model.
    id String
    The provider-assigned unique ID for this managed resource.
    sensitiveDataModelCollections List<Property Map>
    The list of sensitive_data_model_collection.
    accessLevel String
    compartmentIdInSubtree Boolean
    displayName String
    The display name of the sensitive data model.
    filters List<Property Map>
    sensitiveDataModelId String
    state String
    The current state of the sensitive data model.
    targetId String
    The OCID of the reference target database 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.
    timeCreatedGreaterThanOrEqualTo String
    timeCreatedLessThan String

    Supporting Types

    GetSensitiveDataModelsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetSensitiveDataModelsSensitiveDataModelCollection

    GetSensitiveDataModelsSensitiveDataModelCollectionItem

    AppSuiteName string
    The application suite name identifying a collection of applications. The default value is GENERIC. It's useful only if maintaining a sensitive data model for a suite of applications.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DefinedTags Dictionary<string, string>
    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
    The description of the sensitive data model.
    DisplayName string
    A filter to return only resources that match the specified display name.
    FreeformTags Dictionary<string, string>
    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"}
    Id string
    The OCID of the sensitive data model.
    IsAppDefinedRelationDiscoveryEnabled bool
    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
    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>
    The schemas to be scanned by data discovery jobs.
    SensitiveTypeIdsForDiscoveries List<string>
    The OCIDs of the sensitive types to be used by data discovery jobs.
    State string
    A filter to return only the resources that match the specified lifecycle state.
    SystemTags Dictionary<string, string>
    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"}
    TablesForDiscoveries List<GetSensitiveDataModelsSensitiveDataModelCollectionItemTablesForDiscovery>
    The data discovery jobs will scan the tables specified here, including both schemas and tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}].
    TargetId string
    A filter to return only items related to a specific target OCID.
    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
    The application suite name identifying a collection of applications. The default value is GENERIC. It's useful only if maintaining a sensitive data model for a suite of applications.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DefinedTags map[string]string
    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
    The description of the sensitive data model.
    DisplayName string
    A filter to return only resources that match the specified display name.
    FreeformTags map[string]string
    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"}
    Id string
    The OCID of the sensitive data model.
    IsAppDefinedRelationDiscoveryEnabled bool
    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
    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
    The schemas to be scanned by data discovery jobs.
    SensitiveTypeIdsForDiscoveries []string
    The OCIDs of the sensitive types to be used by data discovery jobs.
    State string
    A filter to return only the resources that match the specified lifecycle state.
    SystemTags map[string]string
    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"}
    TablesForDiscoveries []GetSensitiveDataModelsSensitiveDataModelCollectionItemTablesForDiscovery
    The data discovery jobs will scan the tables specified here, including both schemas and tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}].
    TargetId string
    A filter to return only items related to a specific target OCID.
    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
    The application suite name identifying a collection of applications. The default value is GENERIC. It's useful only if maintaining a sensitive data model for a suite of applications.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    definedTags Map<String,String>
    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
    The description of the sensitive data model.
    displayName String
    A filter to return only resources that match the specified display name.
    freeformTags Map<String,String>
    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"}
    id String
    The OCID of the sensitive data model.
    isAppDefinedRelationDiscoveryEnabled Boolean
    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
    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>
    The schemas to be scanned by data discovery jobs.
    sensitiveTypeIdsForDiscoveries List<String>
    The OCIDs of the sensitive types to be used by data discovery jobs.
    state String
    A filter to return only the resources that match the specified lifecycle state.
    systemTags Map<String,String>
    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"}
    tablesForDiscoveries List<GetSensitiveDataModelsSensitiveDataModelCollectionItemTablesForDiscovery>
    The data discovery jobs will scan the tables specified here, including both schemas and tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}].
    targetId String
    A filter to return only items related to a specific target OCID.
    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
    The application suite name identifying a collection of applications. The default value is GENERIC. It's useful only if maintaining a sensitive data model for a suite of applications.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    definedTags {[key: string]: string}
    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
    The description of the sensitive data model.
    displayName string
    A filter to return only resources that match the specified display name.
    freeformTags {[key: string]: string}
    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"}
    id string
    The OCID of the sensitive data model.
    isAppDefinedRelationDiscoveryEnabled boolean
    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
    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[]
    The schemas to be scanned by data discovery jobs.
    sensitiveTypeIdsForDiscoveries string[]
    The OCIDs of the sensitive types to be used by data discovery jobs.
    state string
    A filter to return only the resources that match the specified lifecycle state.
    systemTags {[key: string]: string}
    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"}
    tablesForDiscoveries GetSensitiveDataModelsSensitiveDataModelCollectionItemTablesForDiscovery[]
    The data discovery jobs will scan the tables specified here, including both schemas and tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}].
    targetId string
    A filter to return only items related to a specific target OCID.
    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
    The application suite name identifying a collection of applications. The default value is GENERIC. It's useful only if maintaining a sensitive data model for a suite of applications.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    defined_tags Mapping[str, str]
    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
    The description of the sensitive data model.
    display_name str
    A filter to return only resources that match the specified display name.
    freeform_tags Mapping[str, str]
    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"}
    id str
    The OCID of the sensitive data model.
    is_app_defined_relation_discovery_enabled bool
    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
    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]
    The schemas to be scanned by data discovery jobs.
    sensitive_type_ids_for_discoveries Sequence[str]
    The OCIDs of the sensitive types to be used by data discovery jobs.
    state str
    A filter to return only the resources that match the specified lifecycle state.
    system_tags Mapping[str, str]
    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"}
    tables_for_discoveries Sequence[datasafe.GetSensitiveDataModelsSensitiveDataModelCollectionItemTablesForDiscovery]
    The data discovery jobs will scan the tables specified here, including both schemas and tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}].
    target_id str
    A filter to return only items related to a specific target OCID.
    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
    The application suite name identifying a collection of applications. The default value is GENERIC. It's useful only if maintaining a sensitive data model for a suite of applications.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    definedTags Map<String>
    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
    The description of the sensitive data model.
    displayName String
    A filter to return only resources that match the specified display name.
    freeformTags Map<String>
    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"}
    id String
    The OCID of the sensitive data model.
    isAppDefinedRelationDiscoveryEnabled Boolean
    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
    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>
    The schemas to be scanned by data discovery jobs.
    sensitiveTypeIdsForDiscoveries List<String>
    The OCIDs of the sensitive types to be used by data discovery jobs.
    state String
    A filter to return only the resources that match the specified lifecycle state.
    systemTags Map<String>
    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"}
    tablesForDiscoveries List<Property Map>
    The data discovery jobs will scan the tables specified here, including both schemas and tables. For instance, the input could be in the format: [{schemaName: "HR", tableName: ["T1", "T2"]}, {schemaName: "OE", tableName : ["T3", "T4"]}].
    targetId String
    A filter to return only items related to a specific target OCID.
    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.

    GetSensitiveDataModelsSensitiveDataModelCollectionItemTablesForDiscovery

    SchemaName string
    This contains the name of the schema.
    TableNames List<string>
    This contains an optional list of the table names.
    SchemaName string
    This contains the name of the schema.
    TableNames []string
    This contains an optional list of the table names.
    schemaName String
    This contains the name of the schema.
    tableNames List<String>
    This contains an optional list of the table names.
    schemaName string
    This contains the name of the schema.
    tableNames string[]
    This contains an optional list of the table names.
    schema_name str
    This contains the name of the schema.
    table_names Sequence[str]
    This contains an optional list of the table names.
    schemaName String
    This contains the name of the schema.
    tableNames List<String>
    This contains an optional list of the table names.

    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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi