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/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:
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Access
Level 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.
- 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 string - A filter to return only resources that match the specified display name.
- Filters
List<Get
Sensitive Data Models Filter> - Sensitive
Data 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.
- Target
Id string - A filter to return only items related to a specific target OCID.
- Time
Created 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
- Time
Created stringLess Than 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 string - A filter to return only resources that match the specified compartment OCID.
- Access
Level 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.
- 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 string - A filter to return only resources that match the specified display name.
- Filters
[]Get
Sensitive Data Models Filter - Sensitive
Data 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.
- Target
Id string - A filter to return only items related to a specific target OCID.
- Time
Created 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
- Time
Created stringLess Than 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 String - A filter to return only resources that match the specified compartment OCID.
- access
Level 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.
- compartment
Id 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.
- display
Name String - A filter to return only resources that match the specified display name.
- filters
List<Get
Sensitive Data Models Filter> - sensitive
Data 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.
- target
Id String - A filter to return only items related to a specific target OCID.
- time
Created 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
- time
Created StringLess Than 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 string - A filter to return only resources that match the specified compartment OCID.
- access
Level 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.
- compartment
Id 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.
- display
Name string - A filter to return only resources that match the specified display name.
- filters
Get
Sensitive Data Models Filter[] - sensitive
Data 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.
- target
Id string - A filter to return only items related to a specific target OCID.
- time
Created 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
- time
Created stringLess Than 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_ 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
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 String - A filter to return only resources that match the specified compartment OCID.
- access
Level 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.
- compartment
Id 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.
- display
Name String - A filter to return only resources that match the specified display name.
- filters List<Property Map>
- sensitive
Data 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.
- target
Id String - A filter to return only items related to a specific target OCID.
- time
Created 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
- time
Created StringLess Than 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:
- Compartment
Id string - The OCID of the compartment that contains the sensitive data model.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sensitive
Data List<GetModel Collections Sensitive Data Models Sensitive Data Model Collection> - The list of sensitive_data_model_collection.
- Access
Level string - Compartment
Id boolIn Subtree - Display
Name string - The display name of the sensitive data model.
- Filters
List<Get
Sensitive Data Models Filter> - Sensitive
Data stringModel Id - State string
- The current state of the sensitive data model.
- Target
Id 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.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than
- Compartment
Id string - The OCID of the compartment that contains the sensitive data model.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sensitive
Data []GetModel Collections Sensitive Data Models Sensitive Data Model Collection - The list of sensitive_data_model_collection.
- Access
Level string - Compartment
Id boolIn Subtree - Display
Name string - The display name of the sensitive data model.
- Filters
[]Get
Sensitive Data Models Filter - Sensitive
Data stringModel Id - State string
- The current state of the sensitive data model.
- Target
Id 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.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than
- compartment
Id String - The OCID of the compartment that contains the sensitive data model.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitive
Data List<GetModel Collections Sensitive Data Models Sensitive Data Model Collection> - The list of sensitive_data_model_collection.
- access
Level String - compartment
Id BooleanIn Subtree - display
Name String - The display name of the sensitive data model.
- filters
List<Get
Sensitive Data Models Filter> - sensitive
Data StringModel Id - state String
- The current state of the sensitive data model.
- target
Id 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.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than
- compartment
Id string - The OCID of the compartment that contains the sensitive data model.
- id string
- The provider-assigned unique ID for this managed resource.
- sensitive
Data GetModel Collections Sensitive Data Models Sensitive Data Model Collection[] - The list of sensitive_data_model_collection.
- access
Level string - compartment
Id booleanIn Subtree - display
Name string - The display name of the sensitive data model.
- filters
Get
Sensitive Data Models Filter[] - sensitive
Data stringModel Id - state string
- The current state of the sensitive data model.
- target
Id 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.
- time
Created stringGreater Than Or Equal To - time
Created 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
- compartment
Id String - The OCID of the compartment that contains the sensitive data model.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitive
Data List<Property Map>Model Collections - The list of sensitive_data_model_collection.
- access
Level String - compartment
Id BooleanIn Subtree - display
Name String - The display name of the sensitive data model.
- filters List<Property Map>
- sensitive
Data StringModel Id - state String
- The current state of the sensitive data model.
- target
Id 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.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than
Supporting Types
GetSensitiveDataModelsFilter
GetSensitiveDataModelsSensitiveDataModelCollection
GetSensitiveDataModelsSensitiveDataModelCollectionItem
- App
Suite 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.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- 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.
- Display
Name string - A filter to return only resources that match the specified display name.
- 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.
- 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 List<string>Discoveries - The schemas to be scanned by data discovery jobs.
- Sensitive
Type 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, 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"}
- Tables
For List<GetDiscoveries Sensitive Data Models Sensitive Data Model Collection Item Tables For Discovery> - 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 string - A filter to return only items related to a specific target OCID.
- Time
Created string - The date and time the sensitive data model was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the sensitive data model was last updated, in the format defined by RFC3339.
- App
Suite 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.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- 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.
- Display
Name string - A filter to return only resources that match the specified display name.
- 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.
- 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 []stringDiscoveries - The schemas to be scanned by data discovery jobs.
- Sensitive
Type []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]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"}
- Tables
For []GetDiscoveries Sensitive Data Models Sensitive Data Model Collection Item Tables For Discovery - 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 string - A filter to return only items related to a specific target OCID.
- Time
Created string - The date and time the sensitive data model was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the sensitive data model was last updated, in the format defined by RFC3339.
- app
Suite 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.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- 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.
- display
Name String - A filter to return only resources that match the specified display name.
- 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.
- is
App 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.
- is
Include 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).
- is
Include 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.
- is
Sample 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.
- schemas
For List<String>Discoveries - The schemas to be scanned by data discovery jobs.
- sensitive
Type 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,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"}
- tables
For List<GetDiscoveries Sensitive Data Models Sensitive Data Model Collection Item Tables For Discovery> - 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 String - A filter to return only items related to a specific target OCID.
- time
Created String - The date and time the sensitive data model was created, in the format defined by RFC3339.
- time
Updated String - The date and time the sensitive data model was last updated, in the format defined by RFC3339.
- app
Suite 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.
- compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- {[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.
- display
Name string - A filter to return only resources that match the specified display name.
- {[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.
- is
App 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.
- is
Include 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).
- is
Include 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.
- is
Sample 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.
- schemas
For string[]Discoveries - The schemas to be scanned by data discovery jobs.
- sensitive
Type 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]: 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"}
- tables
For GetDiscoveries Sensitive Data Models Sensitive Data Model Collection Item Tables For Discovery[] - 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 string - A filter to return only items related to a specific target OCID.
- time
Created string - The date and time the sensitive data model was created, in the format defined by RFC3339.
- time
Updated 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, 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.
- 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_ 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, 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_ Sequence[datasafe.discoveries Get Sensitive Data Models Sensitive Data Model Collection Item Tables For Discovery] - 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.
- app
Suite 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.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- 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.
- display
Name String - A filter to return only resources that match the specified display name.
- 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.
- is
App 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.
- is
Include 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).
- is
Include 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.
- is
Sample 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.
- schemas
For List<String>Discoveries - The schemas to be scanned by data discovery jobs.
- sensitive
Type 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>
- 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 List<Property Map>Discoveries - 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 String - A filter to return only items related to a specific target OCID.
- time
Created String - The date and time the sensitive data model was created, in the format defined by RFC3339.
- time
Updated String - The date and time the sensitive data model was last updated, in the format defined by RFC3339.
GetSensitiveDataModelsSensitiveDataModelCollectionItemTablesForDiscovery
- Schema
Name string - This contains the name of the schema.
- Table
Names List<string> - This contains an optional list of the table names.
- Schema
Name string - This contains the name of the schema.
- Table
Names []string - This contains an optional list of the table names.
- schema
Name String - This contains the name of the schema.
- table
Names List<String> - This contains an optional list of the table names.
- schema
Name string - This contains the name of the schema.
- table
Names 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.
- schema
Name String - This contains the name of the schema.
- table
Names 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.