oci.DataSafe.getSensitiveDataModels
Explore with Pulumi AI
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/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 dictionaryThe 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.
- CompartmentId boolIn Subtree 
- 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<GetSensitive Data Models Filter> 
- SensitiveData stringModel Id 
- 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.
- TimeCreated stringGreater Than Or Equal To 
- 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 
- TimeCreated stringLess Than 
- Search for resources that were created before a specific date. Specifying this parameter corresponding - timeCreatedLessThanparameter 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.
- CompartmentId boolIn Subtree 
- 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
[]GetSensitive Data Models Filter 
- SensitiveData stringModel Id 
- 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.
- TimeCreated stringGreater Than Or Equal To 
- 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 
- TimeCreated stringLess Than 
- Search for resources that were created before a specific date. Specifying this parameter corresponding - timeCreatedLessThanparameter 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.
- compartmentId BooleanIn Subtree 
- 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<GetSensitive Data Models Filter> 
- sensitiveData StringModel Id 
- 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.
- timeCreated StringGreater Than Or Equal To 
- 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 
- timeCreated StringLess Than 
- Search for resources that were created before a specific date. Specifying this parameter corresponding - timeCreatedLessThanparameter 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.
- compartmentId booleanIn Subtree 
- 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
GetSensitive Data Models Filter[] 
- sensitiveData stringModel Id 
- 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.
- timeCreated stringGreater Than Or Equal To 
- 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 
- timeCreated stringLess Than 
- Search for resources that were created before a specific date. Specifying this parameter corresponding - timeCreatedLessThanparameter 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_ boolin_ subtree 
- 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.Get Sensitive Data Models Filter] 
- sensitive_data_ strmodel_ id 
- 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_ strgreater_ than_ or_ equal_ to 
- 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_ strless_ than 
- Search for resources that were created before a specific date. Specifying this parameter corresponding - timeCreatedLessThanparameter 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.
- compartmentId BooleanIn Subtree 
- 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>
- sensitiveData StringModel Id 
- 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.
- timeCreated StringGreater Than Or Equal To 
- 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 
- timeCreated StringLess Than 
- Search for resources that were created before a specific date. Specifying this parameter corresponding - timeCreatedLessThanparameter 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.
- SensitiveData List<GetModel Collections Sensitive Data Models Sensitive Data Model Collection> 
- The list of sensitive_data_model_collection.
- AccessLevel string
- CompartmentId boolIn Subtree 
- DisplayName string
- The display name of the sensitive data model.
- Filters
List<GetSensitive Data Models Filter> 
- SensitiveData stringModel Id 
- 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.
- TimeCreated stringGreater Than Or Equal To 
- TimeCreated stringLess Than 
- CompartmentId string
- The OCID of the compartment that contains the sensitive data model.
- Id string
- The provider-assigned unique ID for this managed resource.
- SensitiveData []GetModel Collections Sensitive Data Models Sensitive Data Model Collection 
- The list of sensitive_data_model_collection.
- AccessLevel string
- CompartmentId boolIn Subtree 
- DisplayName string
- The display name of the sensitive data model.
- Filters
[]GetSensitive Data Models Filter 
- SensitiveData stringModel Id 
- 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.
- TimeCreated stringGreater Than Or Equal To 
- TimeCreated stringLess Than 
- compartmentId String
- The OCID of the compartment that contains the sensitive data model.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitiveData List<GetModel Collections Sensitive Data Models Sensitive Data Model Collection> 
- The list of sensitive_data_model_collection.
- accessLevel String
- compartmentId BooleanIn Subtree 
- displayName String
- The display name of the sensitive data model.
- filters
List<GetSensitive Data Models Filter> 
- sensitiveData StringModel Id 
- 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.
- timeCreated StringGreater Than Or Equal To 
- timeCreated StringLess Than 
- compartmentId string
- The OCID of the compartment that contains the sensitive data model.
- id string
- The provider-assigned unique ID for this managed resource.
- sensitiveData GetModel Collections Sensitive Data Models Sensitive Data Model Collection[] 
- The list of sensitive_data_model_collection.
- accessLevel string
- compartmentId booleanIn Subtree 
- displayName string
- The display name of the sensitive data model.
- filters
GetSensitive Data Models Filter[] 
- sensitiveData stringModel Id 
- 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.
- timeCreated stringGreater Than Or Equal To 
- timeCreated stringLess Than 
- 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_ Sequence[datasafe.model_ collections Get Sensitive Data Models Sensitive Data Model Collection] 
- The list of sensitive_data_model_collection.
- access_level str
- compartment_id_ boolin_ subtree 
- display_name str
- The display name of the sensitive data model.
- filters
Sequence[datasafe.Get Sensitive Data Models Filter] 
- sensitive_data_ strmodel_ id 
- 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_ strgreater_ than_ or_ equal_ to 
- time_created_ strless_ than 
- compartmentId String
- The OCID of the compartment that contains the sensitive data model.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitiveData List<Property Map>Model Collections 
- The list of sensitive_data_model_collection.
- accessLevel String
- compartmentId BooleanIn Subtree 
- displayName String
- The display name of the sensitive data model.
- filters List<Property Map>
- sensitiveData StringModel Id 
- 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.
- timeCreated StringGreater Than Or Equal To 
- timeCreated StringLess Than 
Supporting Types
GetSensitiveDataModelsFilter    
GetSensitiveDataModelsSensitiveDataModelCollection       
GetSensitiveDataModelsSensitiveDataModelCollectionItem        
- AppSuite stringName 
- 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.
- Dictionary<string, object>
- 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.
- Dictionary<string, object>
- 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.
- IsApp boolDefined Relation Discovery Enabled 
- 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.
- IsInclude boolAll Schemas 
- 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).
- IsInclude boolAll Sensitive Types 
- 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.
- IsSample boolData Collection Enabled 
- 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.
- SchemasFor List<string>Discoveries 
- The schemas to be scanned by data discovery jobs.
- SensitiveType List<string>Ids For Discoveries 
- 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.
- 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
- 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.
- AppSuite stringName 
- 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.
- map[string]interface{}
- 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.
- map[string]interface{}
- 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.
- IsApp boolDefined Relation Discovery Enabled 
- 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.
- IsInclude boolAll Schemas 
- 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).
- IsInclude boolAll Sensitive Types 
- 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.
- IsSample boolData Collection Enabled 
- 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.
- SchemasFor []stringDiscoveries 
- The schemas to be scanned by data discovery jobs.
- SensitiveType []stringIds For Discoveries 
- 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.
- 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
- 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.
- appSuite StringName 
- 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.
- Map<String,Object>
- 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.
- Map<String,Object>
- 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.
- isApp BooleanDefined Relation Discovery Enabled 
- 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.
- isInclude BooleanAll Schemas 
- 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).
- isInclude BooleanAll Sensitive Types 
- 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.
- isSample BooleanData Collection Enabled 
- 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.
- schemasFor List<String>Discoveries 
- The schemas to be scanned by data discovery jobs.
- sensitiveType List<String>Ids For Discoveries 
- 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.
- 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
- 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.
- appSuite stringName 
- 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.
- {[key: string]: any}
- 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.
- {[key: string]: any}
- 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.
- isApp booleanDefined Relation Discovery Enabled 
- 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.
- isInclude booleanAll Schemas 
- 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).
- isInclude booleanAll Sensitive Types 
- 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.
- isSample booleanData Collection Enabled 
- 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.
- schemasFor string[]Discoveries 
- The schemas to be scanned by data discovery jobs.
- sensitiveType string[]Ids For Discoveries 
- 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.
- {[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
- 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_ strname 
- 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.
- Mapping[str, Any]
- 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.
- Mapping[str, Any]
- 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_ booldefined_ relation_ discovery_ enabled 
- 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_ boolall_ schemas 
- 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_ boolall_ sensitive_ types 
- 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_ booldata_ collection_ enabled 
- 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_ Sequence[str]discoveries 
- The schemas to be scanned by data discovery jobs.
- sensitive_type_ Sequence[str]ids_ for_ discoveries 
- 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.
- 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
- 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.
- appSuite StringName 
- 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.
- Map<Any>
- 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.
- Map<Any>
- 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.
- isApp BooleanDefined Relation Discovery Enabled 
- 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.
- isInclude BooleanAll Schemas 
- 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).
- isInclude BooleanAll Sensitive Types 
- 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.
- isSample BooleanData Collection Enabled 
- 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.
- schemasFor List<String>Discoveries 
- The schemas to be scanned by data discovery jobs.
- sensitiveType List<String>Ids For Discoveries 
- 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.
- 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
- 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.