Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.DataSafe.getMaskingReportMaskedColumns
Explore with Pulumi AI
This data source provides the list of Masking Reports Masked Columns in Oracle Cloud Infrastructure Data Safe service.
Gets a list of masked columns present in the specified masking report and based on the specified query parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMaskingReportsMaskedColumns = oci.DataSafe.getMaskingReportMaskedColumns({
maskingReportId: testMaskingReport.id,
columnNames: maskingReportsMaskedColumnColumnName,
maskingColumnGroups: maskingReportsMaskedColumnMaskingColumnGroup,
objects: maskingReportsMaskedColumnObject,
objectTypes: maskingReportsMaskedColumnObjectType,
schemaNames: maskingReportsMaskedColumnSchemaName,
sensitiveTypeId: testSensitiveType.id,
});
import pulumi
import pulumi_oci as oci
test_masking_reports_masked_columns = oci.DataSafe.get_masking_report_masked_columns(masking_report_id=test_masking_report["id"],
column_names=masking_reports_masked_column_column_name,
masking_column_groups=masking_reports_masked_column_masking_column_group,
objects=masking_reports_masked_column_object,
object_types=masking_reports_masked_column_object_type,
schema_names=masking_reports_masked_column_schema_name,
sensitive_type_id=test_sensitive_type["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.GetMaskingReportMaskedColumns(ctx, &datasafe.GetMaskingReportMaskedColumnsArgs{
MaskingReportId: testMaskingReport.Id,
ColumnNames: maskingReportsMaskedColumnColumnName,
MaskingColumnGroups: maskingReportsMaskedColumnMaskingColumnGroup,
Objects: maskingReportsMaskedColumnObject,
ObjectTypes: maskingReportsMaskedColumnObjectType,
SchemaNames: maskingReportsMaskedColumnSchemaName,
SensitiveTypeId: pulumi.StringRef(testSensitiveType.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 testMaskingReportsMaskedColumns = Oci.DataSafe.GetMaskingReportMaskedColumns.Invoke(new()
{
MaskingReportId = testMaskingReport.Id,
ColumnNames = maskingReportsMaskedColumnColumnName,
MaskingColumnGroups = maskingReportsMaskedColumnMaskingColumnGroup,
Objects = maskingReportsMaskedColumnObject,
ObjectTypes = maskingReportsMaskedColumnObjectType,
SchemaNames = maskingReportsMaskedColumnSchemaName,
SensitiveTypeId = testSensitiveType.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.GetMaskingReportMaskedColumnsArgs;
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 testMaskingReportsMaskedColumns = DataSafeFunctions.getMaskingReportMaskedColumns(GetMaskingReportMaskedColumnsArgs.builder()
.maskingReportId(testMaskingReport.id())
.columnNames(maskingReportsMaskedColumnColumnName)
.maskingColumnGroups(maskingReportsMaskedColumnMaskingColumnGroup)
.objects(maskingReportsMaskedColumnObject)
.objectTypes(maskingReportsMaskedColumnObjectType)
.schemaNames(maskingReportsMaskedColumnSchemaName)
.sensitiveTypeId(testSensitiveType.id())
.build());
}
}
variables:
testMaskingReportsMaskedColumns:
fn::invoke:
Function: oci:DataSafe:getMaskingReportMaskedColumns
Arguments:
maskingReportId: ${testMaskingReport.id}
columnNames: ${maskingReportsMaskedColumnColumnName}
maskingColumnGroups: ${maskingReportsMaskedColumnMaskingColumnGroup}
objects: ${maskingReportsMaskedColumnObject}
objectTypes: ${maskingReportsMaskedColumnObjectType}
schemaNames: ${maskingReportsMaskedColumnSchemaName}
sensitiveTypeId: ${testSensitiveType.id}
Using getMaskingReportMaskedColumns
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 getMaskingReportMaskedColumns(args: GetMaskingReportMaskedColumnsArgs, opts?: InvokeOptions): Promise<GetMaskingReportMaskedColumnsResult>
function getMaskingReportMaskedColumnsOutput(args: GetMaskingReportMaskedColumnsOutputArgs, opts?: InvokeOptions): Output<GetMaskingReportMaskedColumnsResult>
def get_masking_report_masked_columns(column_names: Optional[Sequence[str]] = None,
filters: Optional[Sequence[_datasafe.GetMaskingReportMaskedColumnsFilter]] = None,
masking_column_groups: Optional[Sequence[str]] = None,
masking_report_id: Optional[str] = None,
object_types: Optional[Sequence[str]] = None,
objects: Optional[Sequence[str]] = None,
schema_names: Optional[Sequence[str]] = None,
sensitive_type_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMaskingReportMaskedColumnsResult
def get_masking_report_masked_columns_output(column_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetMaskingReportMaskedColumnsFilterArgs]]]] = None,
masking_column_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
masking_report_id: Optional[pulumi.Input[str]] = None,
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
objects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
schema_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
sensitive_type_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMaskingReportMaskedColumnsResult]
func GetMaskingReportMaskedColumns(ctx *Context, args *GetMaskingReportMaskedColumnsArgs, opts ...InvokeOption) (*GetMaskingReportMaskedColumnsResult, error)
func GetMaskingReportMaskedColumnsOutput(ctx *Context, args *GetMaskingReportMaskedColumnsOutputArgs, opts ...InvokeOption) GetMaskingReportMaskedColumnsResultOutput
> Note: This function is named GetMaskingReportMaskedColumns
in the Go SDK.
public static class GetMaskingReportMaskedColumns
{
public static Task<GetMaskingReportMaskedColumnsResult> InvokeAsync(GetMaskingReportMaskedColumnsArgs args, InvokeOptions? opts = null)
public static Output<GetMaskingReportMaskedColumnsResult> Invoke(GetMaskingReportMaskedColumnsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMaskingReportMaskedColumnsResult> getMaskingReportMaskedColumns(GetMaskingReportMaskedColumnsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getMaskingReportMaskedColumns:getMaskingReportMaskedColumns
arguments:
# arguments dictionary
The following arguments are supported:
- Masking
Report stringId - The OCID of the masking report.
- Column
Names List<string> - A filter to return only a specific column based on column name.
- Filters
List<Get
Masking Report Masked Columns Filter> - Masking
Column List<string>Groups - A filter to return only the resources that match the specified masking column group.
- Object
Types List<string> - A filter to return only items related to a specific object type.
- Objects List<string>
- A filter to return only items related to a specific object name.
- Schema
Names List<string> - A filter to return only items related to specific schema name.
- Sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- Masking
Report stringId - The OCID of the masking report.
- Column
Names []string - A filter to return only a specific column based on column name.
- Filters
[]Get
Masking Report Masked Columns Filter - Masking
Column []stringGroups - A filter to return only the resources that match the specified masking column group.
- Object
Types []string - A filter to return only items related to a specific object type.
- Objects []string
- A filter to return only items related to a specific object name.
- Schema
Names []string - A filter to return only items related to specific schema name.
- Sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- masking
Report StringId - The OCID of the masking report.
- column
Names List<String> - A filter to return only a specific column based on column name.
- filters
List<Get
Masking Report Masked Columns Filter> - masking
Column List<String>Groups - A filter to return only the resources that match the specified masking column group.
- object
Types List<String> - A filter to return only items related to a specific object type.
- objects List<String>
- A filter to return only items related to a specific object name.
- schema
Names List<String> - A filter to return only items related to specific schema name.
- sensitive
Type StringId - A filter to return only items related to a specific sensitive type OCID.
- masking
Report stringId - The OCID of the masking report.
- column
Names string[] - A filter to return only a specific column based on column name.
- filters
Get
Masking Report Masked Columns Filter[] - masking
Column string[]Groups - A filter to return only the resources that match the specified masking column group.
- object
Types string[] - A filter to return only items related to a specific object type.
- objects string[]
- A filter to return only items related to a specific object name.
- schema
Names string[] - A filter to return only items related to specific schema name.
- sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- masking_
report_ strid - The OCID of the masking report.
- column_
names Sequence[str] - A filter to return only a specific column based on column name.
- filters
Sequence[datasafe.
Get Masking Report Masked Columns Filter] - masking_
column_ Sequence[str]groups - A filter to return only the resources that match the specified masking column group.
- object_
types Sequence[str] - A filter to return only items related to a specific object type.
- objects Sequence[str]
- A filter to return only items related to a specific object name.
- schema_
names Sequence[str] - A filter to return only items related to specific schema name.
- sensitive_
type_ strid - A filter to return only items related to a specific sensitive type OCID.
- masking
Report StringId - The OCID of the masking report.
- column
Names List<String> - A filter to return only a specific column based on column name.
- filters List<Property Map>
- masking
Column List<String>Groups - A filter to return only the resources that match the specified masking column group.
- object
Types List<String> - A filter to return only items related to a specific object type.
- objects List<String>
- A filter to return only items related to a specific object name.
- schema
Names List<String> - A filter to return only items related to specific schema name.
- sensitive
Type StringId - A filter to return only items related to a specific sensitive type OCID.
getMaskingReportMaskedColumns Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Masked
Column List<GetCollections Masking Report Masked Columns Masked Column Collection> - The list of masked_column_collection.
- Masking
Report stringId - Column
Names List<string> - The name of the masked column.
- Filters
List<Get
Masking Report Masked Columns Filter> - Masking
Column List<string>Groups - The masking group of the masked column.
- Object
Types List<string> - The type of the object (table or editioning view) that contains the masked column.
- Objects List<string>
- The name of the object (table or editioning view) that contains the masked column.
- Schema
Names List<string> - The name of the schema that contains the masked column.
- Sensitive
Type stringId - The OCID of the sensitive type associated with the masked column.
- Id string
- The provider-assigned unique ID for this managed resource.
- Masked
Column []GetCollections Masking Report Masked Columns Masked Column Collection - The list of masked_column_collection.
- Masking
Report stringId - Column
Names []string - The name of the masked column.
- Filters
[]Get
Masking Report Masked Columns Filter - Masking
Column []stringGroups - The masking group of the masked column.
- Object
Types []string - The type of the object (table or editioning view) that contains the masked column.
- Objects []string
- The name of the object (table or editioning view) that contains the masked column.
- Schema
Names []string - The name of the schema that contains the masked column.
- Sensitive
Type stringId - The OCID of the sensitive type associated with the masked column.
- id String
- The provider-assigned unique ID for this managed resource.
- masked
Column List<GetCollections Masking Report Masked Columns Masked Column Collection> - The list of masked_column_collection.
- masking
Report StringId - column
Names List<String> - The name of the masked column.
- filters
List<Get
Masking Report Masked Columns Filter> - masking
Column List<String>Groups - The masking group of the masked column.
- object
Types List<String> - The type of the object (table or editioning view) that contains the masked column.
- objects List<String>
- The name of the object (table or editioning view) that contains the masked column.
- schema
Names List<String> - The name of the schema that contains the masked column.
- sensitive
Type StringId - The OCID of the sensitive type associated with the masked column.
- id string
- The provider-assigned unique ID for this managed resource.
- masked
Column GetCollections Masking Report Masked Columns Masked Column Collection[] - The list of masked_column_collection.
- masking
Report stringId - column
Names string[] - The name of the masked column.
- filters
Get
Masking Report Masked Columns Filter[] - masking
Column string[]Groups - The masking group of the masked column.
- object
Types string[] - The type of the object (table or editioning view) that contains the masked column.
- objects string[]
- The name of the object (table or editioning view) that contains the masked column.
- schema
Names string[] - The name of the schema that contains the masked column.
- sensitive
Type stringId - The OCID of the sensitive type associated with the masked column.
- id str
- The provider-assigned unique ID for this managed resource.
- masked_
column_ Sequence[datasafe.collections Get Masking Report Masked Columns Masked Column Collection] - The list of masked_column_collection.
- masking_
report_ strid - column_
names Sequence[str] - The name of the masked column.
- filters
Sequence[datasafe.
Get Masking Report Masked Columns Filter] - masking_
column_ Sequence[str]groups - The masking group of the masked column.
- object_
types Sequence[str] - The type of the object (table or editioning view) that contains the masked column.
- objects Sequence[str]
- The name of the object (table or editioning view) that contains the masked column.
- schema_
names Sequence[str] - The name of the schema that contains the masked column.
- sensitive_
type_ strid - The OCID of the sensitive type associated with the masked column.
- id String
- The provider-assigned unique ID for this managed resource.
- masked
Column List<Property Map>Collections - The list of masked_column_collection.
- masking
Report StringId - column
Names List<String> - The name of the masked column.
- filters List<Property Map>
- masking
Column List<String>Groups - The masking group of the masked column.
- object
Types List<String> - The type of the object (table or editioning view) that contains the masked column.
- objects List<String>
- The name of the object (table or editioning view) that contains the masked column.
- schema
Names List<String> - The name of the schema that contains the masked column.
- sensitive
Type StringId - The OCID of the sensitive type associated with the masked column.
Supporting Types
GetMaskingReportMaskedColumnsFilter
GetMaskingReportMaskedColumnsMaskedColumnCollection
- Items
List<Get
Masking Report Masked Columns Masked Column Collection Item> - An array of masking column summary objects.
- Items
[]Get
Masking Report Masked Columns Masked Column Collection Item - An array of masking column summary objects.
- items
List<Get
Masking Report Masked Columns Masked Column Collection Item> - An array of masking column summary objects.
- items
Get
Masking Report Masked Columns Masked Column Collection Item[] - An array of masking column summary objects.
- items
Sequence[datasafe.
Get Masking Report Masked Columns Masked Column Collection Item] - An array of masking column summary objects.
- items List<Property Map>
- An array of masking column summary objects.
GetMaskingReportMaskedColumnsMaskedColumnCollectionItem
- Column
Name string - A filter to return only a specific column based on column name.
- Key string
- The unique key that identifies the masked column. It's numeric and unique within a masking policy.
- Masking
Column stringGroup - A filter to return only the resources that match the specified masking column group.
- Masking
Format stringUsed - The masking format used for masking the column.
- Object string
- A filter to return only items related to a specific object name.
- Object
Type string - A filter to return only items related to a specific object type.
- Parent
Column stringKey - The unique key that identifies the parent column of the masked column.
- Schema
Name string - A filter to return only items related to specific schema name.
- Sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- Total
Masked stringValues - The total number of values masked in the column.
- Column
Name string - A filter to return only a specific column based on column name.
- Key string
- The unique key that identifies the masked column. It's numeric and unique within a masking policy.
- Masking
Column stringGroup - A filter to return only the resources that match the specified masking column group.
- Masking
Format stringUsed - The masking format used for masking the column.
- Object string
- A filter to return only items related to a specific object name.
- Object
Type string - A filter to return only items related to a specific object type.
- Parent
Column stringKey - The unique key that identifies the parent column of the masked column.
- Schema
Name string - A filter to return only items related to specific schema name.
- Sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- Total
Masked stringValues - The total number of values masked in the column.
- column
Name String - A filter to return only a specific column based on column name.
- key String
- The unique key that identifies the masked column. It's numeric and unique within a masking policy.
- masking
Column StringGroup - A filter to return only the resources that match the specified masking column group.
- masking
Format StringUsed - The masking format used for masking the column.
- object String
- A filter to return only items related to a specific object name.
- object
Type String - A filter to return only items related to a specific object type.
- parent
Column StringKey - The unique key that identifies the parent column of the masked column.
- schema
Name String - A filter to return only items related to specific schema name.
- sensitive
Type StringId - A filter to return only items related to a specific sensitive type OCID.
- total
Masked StringValues - The total number of values masked in the column.
- column
Name string - A filter to return only a specific column based on column name.
- key string
- The unique key that identifies the masked column. It's numeric and unique within a masking policy.
- masking
Column stringGroup - A filter to return only the resources that match the specified masking column group.
- masking
Format stringUsed - The masking format used for masking the column.
- object string
- A filter to return only items related to a specific object name.
- object
Type string - A filter to return only items related to a specific object type.
- parent
Column stringKey - The unique key that identifies the parent column of the masked column.
- schema
Name string - A filter to return only items related to specific schema name.
- sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- total
Masked stringValues - The total number of values masked in the column.
- column_
name str - A filter to return only a specific column based on column name.
- key str
- The unique key that identifies the masked column. It's numeric and unique within a masking policy.
- masking_
column_ strgroup - A filter to return only the resources that match the specified masking column group.
- masking_
format_ strused - The masking format used for masking the column.
- object str
- A filter to return only items related to a specific object name.
- object_
type str - A filter to return only items related to a specific object type.
- parent_
column_ strkey - The unique key that identifies the parent column of the masked column.
- schema_
name str - A filter to return only items related to specific schema name.
- sensitive_
type_ strid - A filter to return only items related to a specific sensitive type OCID.
- total_
masked_ strvalues - The total number of values masked in the column.
- column
Name String - A filter to return only a specific column based on column name.
- key String
- The unique key that identifies the masked column. It's numeric and unique within a masking policy.
- masking
Column StringGroup - A filter to return only the resources that match the specified masking column group.
- masking
Format StringUsed - The masking format used for masking the column.
- object String
- A filter to return only items related to a specific object name.
- object
Type String - A filter to return only items related to a specific object type.
- parent
Column StringKey - The unique key that identifies the parent column of the masked column.
- schema
Name String - A filter to return only items related to specific schema name.
- sensitive
Type StringId - A filter to return only items related to a specific sensitive type OCID.
- total
Masked StringValues - The total number of values masked in the column.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.