Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi
oci.DataSafe.getMaskingPoliciesMaskingColumn
Explore with Pulumi AI
This data source provides details about a specific Masking Policies Masking Column resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified masking column.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMaskingPoliciesMaskingColumn = oci.DataSafe.getMaskingPoliciesMaskingColumn({
maskingColumnKey: maskingPoliciesMaskingColumnMaskingColumnKey,
maskingPolicyId: testMaskingPolicy.id,
});
import pulumi
import pulumi_oci as oci
test_masking_policies_masking_column = oci.DataSafe.get_masking_policies_masking_column(masking_column_key=masking_policies_masking_column_masking_column_key,
masking_policy_id=test_masking_policy["id"])
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.GetMaskingPoliciesMaskingColumn(ctx, &datasafe.GetMaskingPoliciesMaskingColumnArgs{
MaskingColumnKey: maskingPoliciesMaskingColumnMaskingColumnKey,
MaskingPolicyId: testMaskingPolicy.Id,
}, 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 testMaskingPoliciesMaskingColumn = Oci.DataSafe.GetMaskingPoliciesMaskingColumn.Invoke(new()
{
MaskingColumnKey = maskingPoliciesMaskingColumnMaskingColumnKey,
MaskingPolicyId = testMaskingPolicy.Id,
});
});
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.GetMaskingPoliciesMaskingColumnArgs;
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 testMaskingPoliciesMaskingColumn = DataSafeFunctions.getMaskingPoliciesMaskingColumn(GetMaskingPoliciesMaskingColumnArgs.builder()
.maskingColumnKey(maskingPoliciesMaskingColumnMaskingColumnKey)
.maskingPolicyId(testMaskingPolicy.id())
.build());
}
}
variables:
testMaskingPoliciesMaskingColumn:
fn::invoke:
function: oci:DataSafe:getMaskingPoliciesMaskingColumn
arguments:
maskingColumnKey: ${maskingPoliciesMaskingColumnMaskingColumnKey}
maskingPolicyId: ${testMaskingPolicy.id}
Using getMaskingPoliciesMaskingColumn
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 getMaskingPoliciesMaskingColumn(args: GetMaskingPoliciesMaskingColumnArgs, opts?: InvokeOptions): Promise<GetMaskingPoliciesMaskingColumnResult>
function getMaskingPoliciesMaskingColumnOutput(args: GetMaskingPoliciesMaskingColumnOutputArgs, opts?: InvokeOptions): Output<GetMaskingPoliciesMaskingColumnResult>
def get_masking_policies_masking_column(masking_column_key: Optional[str] = None,
masking_policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMaskingPoliciesMaskingColumnResult
def get_masking_policies_masking_column_output(masking_column_key: Optional[pulumi.Input[str]] = None,
masking_policy_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMaskingPoliciesMaskingColumnResult]
func GetMaskingPoliciesMaskingColumn(ctx *Context, args *GetMaskingPoliciesMaskingColumnArgs, opts ...InvokeOption) (*GetMaskingPoliciesMaskingColumnResult, error)
func GetMaskingPoliciesMaskingColumnOutput(ctx *Context, args *GetMaskingPoliciesMaskingColumnOutputArgs, opts ...InvokeOption) GetMaskingPoliciesMaskingColumnResultOutput
> Note: This function is named GetMaskingPoliciesMaskingColumn
in the Go SDK.
public static class GetMaskingPoliciesMaskingColumn
{
public static Task<GetMaskingPoliciesMaskingColumnResult> InvokeAsync(GetMaskingPoliciesMaskingColumnArgs args, InvokeOptions? opts = null)
public static Output<GetMaskingPoliciesMaskingColumnResult> Invoke(GetMaskingPoliciesMaskingColumnInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMaskingPoliciesMaskingColumnResult> getMaskingPoliciesMaskingColumn(GetMaskingPoliciesMaskingColumnArgs args, InvokeOptions options)
public static Output<GetMaskingPoliciesMaskingColumnResult> getMaskingPoliciesMaskingColumn(GetMaskingPoliciesMaskingColumnArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getMaskingPoliciesMaskingColumn:getMaskingPoliciesMaskingColumn
arguments:
# arguments dictionary
The following arguments are supported:
- Masking
Column Key This property is required. string - The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- Masking
Policy Id This property is required. string - The OCID of the masking policy.
- Masking
Column Key This property is required. string - The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- Masking
Policy Id This property is required. string - The OCID of the masking policy.
- masking
Column Key This property is required. String - The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- masking
Policy Id This property is required. String - The OCID of the masking policy.
- masking
Column Key This property is required. string - The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- masking
Policy Id This property is required. string - The OCID of the masking policy.
- masking_
column_ key This property is required. str - The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- masking_
policy_ id This property is required. str - The OCID of the masking policy.
- masking
Column Key This property is required. String - The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- masking
Policy Id This property is required. String - The OCID of the masking policy.
getMaskingPoliciesMaskingColumn Result
The following output properties are available:
- Child
Columns List<string> - An array of child columns that are in referential relationship with the masking column.
- Column
Name string - The name of the substitution column.
- Data
Type string - The data type of the masking column.
- Id string
- Is
Masking boolEnabled - Indicates whether data masking is enabled for the masking column.
- Key string
- The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- Lifecycle
Details string - Details about the current state of the masking column.
- Masking
Column stringGroup - The group of the masking column. All the columns in a group are masked together to ensure that the masked data across these columns continue to retain the same logical relationship. For more details, check Group Masking in the Data Safe documentation.
- Masking
Column stringKey - Masking
Formats List<GetMasking Policies Masking Column Masking Format> - An array of masking formats assigned to the masking column.
- Masking
Policy stringId - The OCID of the masking policy that contains the masking column.
- Object string
- The name of the object (table or editioning view) that contains the database column.
- Object
Type string - The type of the object that contains the database column.
- Schema
Name string - The name of the schema that contains the database column.
- Sensitive
Type stringId - The OCID of the sensitive type associated with the masking column.
- State string
- The current state of the masking column.
- Time
Created string - The date and time the masking column was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the masking column was last updated, in the format defined by RFC3339.
- Child
Columns []string - An array of child columns that are in referential relationship with the masking column.
- Column
Name string - The name of the substitution column.
- Data
Type string - The data type of the masking column.
- Id string
- Is
Masking boolEnabled - Indicates whether data masking is enabled for the masking column.
- Key string
- The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- Lifecycle
Details string - Details about the current state of the masking column.
- Masking
Column stringGroup - The group of the masking column. All the columns in a group are masked together to ensure that the masked data across these columns continue to retain the same logical relationship. For more details, check Group Masking in the Data Safe documentation.
- Masking
Column stringKey - Masking
Formats []GetMasking Policies Masking Column Masking Format - An array of masking formats assigned to the masking column.
- Masking
Policy stringId - The OCID of the masking policy that contains the masking column.
- Object string
- The name of the object (table or editioning view) that contains the database column.
- Object
Type string - The type of the object that contains the database column.
- Schema
Name string - The name of the schema that contains the database column.
- Sensitive
Type stringId - The OCID of the sensitive type associated with the masking column.
- State string
- The current state of the masking column.
- Time
Created string - The date and time the masking column was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the masking column was last updated, in the format defined by RFC3339.
- child
Columns List<String> - An array of child columns that are in referential relationship with the masking column.
- column
Name String - The name of the substitution column.
- data
Type String - The data type of the masking column.
- id String
- is
Masking BooleanEnabled - Indicates whether data masking is enabled for the masking column.
- key String
- The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- lifecycle
Details String - Details about the current state of the masking column.
- masking
Column StringGroup - The group of the masking column. All the columns in a group are masked together to ensure that the masked data across these columns continue to retain the same logical relationship. For more details, check Group Masking in the Data Safe documentation.
- masking
Column StringKey - masking
Formats List<GetMasking Policies Masking Column Masking Format> - An array of masking formats assigned to the masking column.
- masking
Policy StringId - The OCID of the masking policy that contains the masking column.
- object String
- The name of the object (table or editioning view) that contains the database column.
- object
Type String - The type of the object that contains the database column.
- schema
Name String - The name of the schema that contains the database column.
- sensitive
Type StringId - The OCID of the sensitive type associated with the masking column.
- state String
- The current state of the masking column.
- time
Created String - The date and time the masking column was created, in the format defined by RFC3339.
- time
Updated String - The date and time the masking column was last updated, in the format defined by RFC3339.
- child
Columns string[] - An array of child columns that are in referential relationship with the masking column.
- column
Name string - The name of the substitution column.
- data
Type string - The data type of the masking column.
- id string
- is
Masking booleanEnabled - Indicates whether data masking is enabled for the masking column.
- key string
- The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- lifecycle
Details string - Details about the current state of the masking column.
- masking
Column stringGroup - The group of the masking column. All the columns in a group are masked together to ensure that the masked data across these columns continue to retain the same logical relationship. For more details, check Group Masking in the Data Safe documentation.
- masking
Column stringKey - masking
Formats GetMasking Policies Masking Column Masking Format[] - An array of masking formats assigned to the masking column.
- masking
Policy stringId - The OCID of the masking policy that contains the masking column.
- object string
- The name of the object (table or editioning view) that contains the database column.
- object
Type string - The type of the object that contains the database column.
- schema
Name string - The name of the schema that contains the database column.
- sensitive
Type stringId - The OCID of the sensitive type associated with the masking column.
- state string
- The current state of the masking column.
- time
Created string - The date and time the masking column was created, in the format defined by RFC3339.
- time
Updated string - The date and time the masking column was last updated, in the format defined by RFC3339.
- child_
columns Sequence[str] - An array of child columns that are in referential relationship with the masking column.
- column_
name str - The name of the substitution column.
- data_
type str - The data type of the masking column.
- id str
- is_
masking_ boolenabled - Indicates whether data masking is enabled for the masking column.
- key str
- The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- lifecycle_
details str - Details about the current state of the masking column.
- masking_
column_ strgroup - The group of the masking column. All the columns in a group are masked together to ensure that the masked data across these columns continue to retain the same logical relationship. For more details, check Group Masking in the Data Safe documentation.
- masking_
column_ strkey - masking_
formats Sequence[datasafe.Get Masking Policies Masking Column Masking Format] - An array of masking formats assigned to the masking column.
- masking_
policy_ strid - The OCID of the masking policy that contains the masking column.
- object str
- The name of the object (table or editioning view) that contains the database column.
- object_
type str - The type of the object that contains the database column.
- schema_
name str - The name of the schema that contains the database column.
- sensitive_
type_ strid - The OCID of the sensitive type associated with the masking column.
- state str
- The current state of the masking column.
- time_
created str - The date and time the masking column was created, in the format defined by RFC3339.
- time_
updated str - The date and time the masking column was last updated, in the format defined by RFC3339.
- child
Columns List<String> - An array of child columns that are in referential relationship with the masking column.
- column
Name String - The name of the substitution column.
- data
Type String - The data type of the masking column.
- id String
- is
Masking BooleanEnabled - Indicates whether data masking is enabled for the masking column.
- key String
- The unique key that identifies the masking column. It's numeric and unique within a masking policy.
- lifecycle
Details String - Details about the current state of the masking column.
- masking
Column StringGroup - The group of the masking column. All the columns in a group are masked together to ensure that the masked data across these columns continue to retain the same logical relationship. For more details, check Group Masking in the Data Safe documentation.
- masking
Column StringKey - masking
Formats List<Property Map> - An array of masking formats assigned to the masking column.
- masking
Policy StringId - The OCID of the masking policy that contains the masking column.
- object String
- The name of the object (table or editioning view) that contains the database column.
- object
Type String - The type of the object that contains the database column.
- schema
Name String - The name of the schema that contains the database column.
- sensitive
Type StringId - The OCID of the sensitive type associated with the masking column.
- state String
- The current state of the masking column.
- time
Created String - The date and time the masking column was created, in the format defined by RFC3339.
- time
Updated String - The date and time the masking column was last updated, in the format defined by RFC3339.
Supporting Types
GetMaskingPoliciesMaskingColumnMaskingFormat
- Condition
This property is required. string - A condition that must be true for applying the masking format. It can be any valid SQL construct that can be used in a SQL predicate. It enables you to do conditional masking so that you can mask the column data values differently using different masking formats and the associated conditions.
- Description
This property is required. string - The description of the format entry.
- Format
Entries This property is required. List<GetMasking Policies Masking Column Masking Format Format Entry> - An array of format entries. The combined output of all the format entries is used for masking the column data values.
- Condition
This property is required. string - A condition that must be true for applying the masking format. It can be any valid SQL construct that can be used in a SQL predicate. It enables you to do conditional masking so that you can mask the column data values differently using different masking formats and the associated conditions.
- Description
This property is required. string - The description of the format entry.
- Format
Entries This property is required. []GetMasking Policies Masking Column Masking Format Format Entry - An array of format entries. The combined output of all the format entries is used for masking the column data values.
- condition
This property is required. String - A condition that must be true for applying the masking format. It can be any valid SQL construct that can be used in a SQL predicate. It enables you to do conditional masking so that you can mask the column data values differently using different masking formats and the associated conditions.
- description
This property is required. String - The description of the format entry.
- format
Entries This property is required. List<GetMasking Policies Masking Column Masking Format Format Entry> - An array of format entries. The combined output of all the format entries is used for masking the column data values.
- condition
This property is required. string - A condition that must be true for applying the masking format. It can be any valid SQL construct that can be used in a SQL predicate. It enables you to do conditional masking so that you can mask the column data values differently using different masking formats and the associated conditions.
- description
This property is required. string - The description of the format entry.
- format
Entries This property is required. GetMasking Policies Masking Column Masking Format Format Entry[] - An array of format entries. The combined output of all the format entries is used for masking the column data values.
- condition
This property is required. str - A condition that must be true for applying the masking format. It can be any valid SQL construct that can be used in a SQL predicate. It enables you to do conditional masking so that you can mask the column data values differently using different masking formats and the associated conditions.
- description
This property is required. str - The description of the format entry.
- format_
entries This property is required. Sequence[datasafe.Get Masking Policies Masking Column Masking Format Format Entry] - An array of format entries. The combined output of all the format entries is used for masking the column data values.
- condition
This property is required. String - A condition that must be true for applying the masking format. It can be any valid SQL construct that can be used in a SQL predicate. It enables you to do conditional masking so that you can mask the column data values differently using different masking formats and the associated conditions.
- description
This property is required. String - The description of the format entry.
- format
Entries This property is required. List<Property Map> - An array of format entries. The combined output of all the format entries is used for masking the column data values.
GetMaskingPoliciesMaskingColumnMaskingFormatFormatEntry
- Column
Name This property is required. string - The name of the substitution column.
- Description
This property is required. string - The description of the format entry.
- End
Date This property is required. string - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- End
Length This property is required. int - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- End
Value This property is required. double - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- Fixed
Number This property is required. double - The constant number to be used for masking.
- Fixed
String This property is required. string - The constant string to be used for masking.
- Grouping
Columns This property is required. List<string> - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- Length
This property is required. int - The number of characters that should be there in the substring. It should be an integer and greater than zero.
- Library
Masking Format Id This property is required. string - The OCID of the library masking format.
- Pattern
This property is required. string - The pattern that should be used to mask data.
- Post
Processing Function This property is required. string - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- Random
Lists This property is required. List<string> - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- Regular
Expression This property is required. string - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- Replace
With This property is required. string - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number or null value.
- Schema
Name This property is required. string - The name of the schema that contains the database column.
- Sql
Expression This property is required. string - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- Start
Date This property is required. string - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- Start
Length This property is required. int - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- Start
Position This property is required. int - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- Start
Value This property is required. double - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- Table
Name This property is required. string - The name of the table that contains the substitution column.
- Type
This property is required. string - The type of the format entry.
- User
Defined Function This property is required. string - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- Column
Name This property is required. string - The name of the substitution column.
- Description
This property is required. string - The description of the format entry.
- End
Date This property is required. string - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- End
Length This property is required. int - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- End
Value This property is required. float64 - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- Fixed
Number This property is required. float64 - The constant number to be used for masking.
- Fixed
String This property is required. string - The constant string to be used for masking.
- Grouping
Columns This property is required. []string - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- Length
This property is required. int - The number of characters that should be there in the substring. It should be an integer and greater than zero.
- Library
Masking Format Id This property is required. string - The OCID of the library masking format.
- Pattern
This property is required. string - The pattern that should be used to mask data.
- Post
Processing Function This property is required. string - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- Random
Lists This property is required. []string - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- Regular
Expression This property is required. string - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- Replace
With This property is required. string - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number or null value.
- Schema
Name This property is required. string - The name of the schema that contains the database column.
- Sql
Expression This property is required. string - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- Start
Date This property is required. string - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- Start
Length This property is required. int - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- Start
Position This property is required. int - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- Start
Value This property is required. float64 - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- Table
Name This property is required. string - The name of the table that contains the substitution column.
- Type
This property is required. string - The type of the format entry.
- User
Defined Function This property is required. string - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- column
Name This property is required. String - The name of the substitution column.
- description
This property is required. String - The description of the format entry.
- end
Date This property is required. String - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- end
Length This property is required. Integer - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- end
Value This property is required. Double - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- fixed
Number This property is required. Double - The constant number to be used for masking.
- fixed
String This property is required. String - The constant string to be used for masking.
- grouping
Columns This property is required. List<String> - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- length
This property is required. Integer - The number of characters that should be there in the substring. It should be an integer and greater than zero.
- library
Masking Format Id This property is required. String - The OCID of the library masking format.
- pattern
This property is required. String - The pattern that should be used to mask data.
- post
Processing Function This property is required. String - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- random
Lists This property is required. List<String> - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- regular
Expression This property is required. String - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- replace
With This property is required. String - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number or null value.
- schema
Name This property is required. String - The name of the schema that contains the database column.
- sql
Expression This property is required. String - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- start
Date This property is required. String - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- start
Length This property is required. Integer - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- start
Position This property is required. Integer - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- start
Value This property is required. Double - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- table
Name This property is required. String - The name of the table that contains the substitution column.
- type
This property is required. String - The type of the format entry.
- user
Defined Function This property is required. String - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- column
Name This property is required. string - The name of the substitution column.
- description
This property is required. string - The description of the format entry.
- end
Date This property is required. string - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- end
Length This property is required. number - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- end
Value This property is required. number - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- fixed
Number This property is required. number - The constant number to be used for masking.
- fixed
String This property is required. string - The constant string to be used for masking.
- grouping
Columns This property is required. string[] - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- length
This property is required. number - The number of characters that should be there in the substring. It should be an integer and greater than zero.
- library
Masking Format Id This property is required. string - The OCID of the library masking format.
- pattern
This property is required. string - The pattern that should be used to mask data.
- post
Processing Function This property is required. string - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- random
Lists This property is required. string[] - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- regular
Expression This property is required. string - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- replace
With This property is required. string - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number or null value.
- schema
Name This property is required. string - The name of the schema that contains the database column.
- sql
Expression This property is required. string - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- start
Date This property is required. string - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- start
Length This property is required. number - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- start
Position This property is required. number - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- start
Value This property is required. number - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- table
Name This property is required. string - The name of the table that contains the substitution column.
- type
This property is required. string - The type of the format entry.
- user
Defined Function This property is required. string - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- column_
name This property is required. str - The name of the substitution column.
- description
This property is required. str - The description of the format entry.
- end_
date This property is required. str - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- end_
length This property is required. int - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- end_
value This property is required. float - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- fixed_
number This property is required. float - The constant number to be used for masking.
- fixed_
string This property is required. str - The constant string to be used for masking.
- grouping_
columns This property is required. Sequence[str] - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- length
This property is required. int - The number of characters that should be there in the substring. It should be an integer and greater than zero.
- library_
masking_ format_ id This property is required. str - The OCID of the library masking format.
- pattern
This property is required. str - The pattern that should be used to mask data.
- post_
processing_ function This property is required. str - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- random_
lists This property is required. Sequence[str] - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- regular_
expression This property is required. str - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- replace_
with This property is required. str - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number or null value.
- schema_
name This property is required. str - The name of the schema that contains the database column.
- sql_
expression This property is required. str - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- start_
date This property is required. str - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- start_
length This property is required. int - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- start_
position This property is required. int - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- start_
value This property is required. float - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- table_
name This property is required. str - The name of the table that contains the substitution column.
- type
This property is required. str - The type of the format entry.
- user_
defined_ function This property is required. str - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- column
Name This property is required. String - The name of the substitution column.
- description
This property is required. String - The description of the format entry.
- end
Date This property is required. String - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- end
Length This property is required. Number - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- end
Value This property is required. Number - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- fixed
Number This property is required. Number - The constant number to be used for masking.
- fixed
String This property is required. String - The constant string to be used for masking.
- grouping
Columns This property is required. List<String> - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- length
This property is required. Number - The number of characters that should be there in the substring. It should be an integer and greater than zero.
- library
Masking Format Id This property is required. String - The OCID of the library masking format.
- pattern
This property is required. String - The pattern that should be used to mask data.
- post
Processing Function This property is required. String - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- random
Lists This property is required. List<String> - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- regular
Expression This property is required. String - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- replace
With This property is required. String - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number or null value.
- schema
Name This property is required. String - The name of the schema that contains the database column.
- sql
Expression This property is required. String - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- start
Date This property is required. String - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- start
Length This property is required. Number - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- start
Position This property is required. Number - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- start
Value This property is required. Number - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- table
Name This property is required. String - The name of the table that contains the substitution column.
- type
This property is required. String - The type of the format entry.
- user
Defined Function This property is required. String - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.