getMaskingReport

This data source provides details about a specific Masking Report resource in Oracle Cloud Infrastructure Data Safe service.

Gets the details of the specified masking report.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testMaskingReport = Oci.DataSafe.GetMaskingReport.Invoke(new()
    {
        MaskingReportId = oci_data_safe_masking_report.Test_masking_report.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DataSafe.GetMaskingReport(ctx, &datasafe.GetMaskingReportArgs{
			MaskingReportId: oci_data_safe_masking_report.Test_masking_report.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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.GetMaskingReportArgs;
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 testMaskingReport = DataSafeFunctions.getMaskingReport(GetMaskingReportArgs.builder()
            .maskingReportId(oci_data_safe_masking_report.test_masking_report().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_masking_report = oci.DataSafe.get_masking_report(masking_report_id=oci_data_safe_masking_report["test_masking_report"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testMaskingReport = oci.DataSafe.getMaskingReport({
    maskingReportId: oci_data_safe_masking_report.test_masking_report.id,
});
variables:
  testMaskingReport:
    Fn::Invoke:
      Function: oci:DataSafe:getMaskingReport
      Arguments:
        maskingReportId: ${oci_data_safe_masking_report.test_masking_report.id}

Using getMaskingReport

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 getMaskingReport(args: GetMaskingReportArgs, opts?: InvokeOptions): Promise<GetMaskingReportResult>
function getMaskingReportOutput(args: GetMaskingReportOutputArgs, opts?: InvokeOptions): Output<GetMaskingReportResult>
def get_masking_report(masking_report_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetMaskingReportResult
def get_masking_report_output(masking_report_id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetMaskingReportResult]
func GetMaskingReport(ctx *Context, args *GetMaskingReportArgs, opts ...InvokeOption) (*GetMaskingReportResult, error)
func GetMaskingReportOutput(ctx *Context, args *GetMaskingReportOutputArgs, opts ...InvokeOption) GetMaskingReportResultOutput

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

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

The following arguments are supported:

MaskingReportId string

The OCID of the masking report.

MaskingReportId string

The OCID of the masking report.

maskingReportId String

The OCID of the masking report.

maskingReportId string

The OCID of the masking report.

masking_report_id str

The OCID of the masking report.

maskingReportId String

The OCID of the masking report.

getMaskingReport Result

The following output properties are available:

CompartmentId string

The OCID of the compartment that contains the masking report.

Id string

The provider-assigned unique ID for this managed resource.

MaskingPolicyId string

The OCID of the masking policy used.

MaskingReportId string
MaskingWorkRequestId string

The OCID of the masking work request that resulted in this masking report.

TargetId string

The OCID of the target database masked.

TimeMaskingFinished string

The date and time data masking finished, in the format defined by RFC3339

TimeMaskingStarted string

The date and time data masking started, in the format defined by RFC3339

TotalMaskedColumns string

The total number of masked columns.

TotalMaskedObjects string

The total number of unique objects (tables and editioning views) that contain the masked columns.

TotalMaskedSchemas string

The total number of unique schemas that contain the masked columns.

TotalMaskedSensitiveTypes string

The total number of unique sensitive types associated with the masked columns.

TotalMaskedValues string

The total number of masked values.

CompartmentId string

The OCID of the compartment that contains the masking report.

Id string

The provider-assigned unique ID for this managed resource.

MaskingPolicyId string

The OCID of the masking policy used.

MaskingReportId string
MaskingWorkRequestId string

The OCID of the masking work request that resulted in this masking report.

TargetId string

The OCID of the target database masked.

TimeMaskingFinished string

The date and time data masking finished, in the format defined by RFC3339

TimeMaskingStarted string

The date and time data masking started, in the format defined by RFC3339

TotalMaskedColumns string

The total number of masked columns.

TotalMaskedObjects string

The total number of unique objects (tables and editioning views) that contain the masked columns.

TotalMaskedSchemas string

The total number of unique schemas that contain the masked columns.

TotalMaskedSensitiveTypes string

The total number of unique sensitive types associated with the masked columns.

TotalMaskedValues string

The total number of masked values.

compartmentId String

The OCID of the compartment that contains the masking report.

id String

The provider-assigned unique ID for this managed resource.

maskingPolicyId String

The OCID of the masking policy used.

maskingReportId String
maskingWorkRequestId String

The OCID of the masking work request that resulted in this masking report.

targetId String

The OCID of the target database masked.

timeMaskingFinished String

The date and time data masking finished, in the format defined by RFC3339

timeMaskingStarted String

The date and time data masking started, in the format defined by RFC3339

totalMaskedColumns String

The total number of masked columns.

totalMaskedObjects String

The total number of unique objects (tables and editioning views) that contain the masked columns.

totalMaskedSchemas String

The total number of unique schemas that contain the masked columns.

totalMaskedSensitiveTypes String

The total number of unique sensitive types associated with the masked columns.

totalMaskedValues String

The total number of masked values.

compartmentId string

The OCID of the compartment that contains the masking report.

id string

The provider-assigned unique ID for this managed resource.

maskingPolicyId string

The OCID of the masking policy used.

maskingReportId string
maskingWorkRequestId string

The OCID of the masking work request that resulted in this masking report.

targetId string

The OCID of the target database masked.

timeMaskingFinished string

The date and time data masking finished, in the format defined by RFC3339

timeMaskingStarted string

The date and time data masking started, in the format defined by RFC3339

totalMaskedColumns string

The total number of masked columns.

totalMaskedObjects string

The total number of unique objects (tables and editioning views) that contain the masked columns.

totalMaskedSchemas string

The total number of unique schemas that contain the masked columns.

totalMaskedSensitiveTypes string

The total number of unique sensitive types associated with the masked columns.

totalMaskedValues string

The total number of masked values.

compartment_id str

The OCID of the compartment that contains the masking report.

id str

The provider-assigned unique ID for this managed resource.

masking_policy_id str

The OCID of the masking policy used.

masking_report_id str
masking_work_request_id str

The OCID of the masking work request that resulted in this masking report.

target_id str

The OCID of the target database masked.

time_masking_finished str

The date and time data masking finished, in the format defined by RFC3339

time_masking_started str

The date and time data masking started, in the format defined by RFC3339

total_masked_columns str

The total number of masked columns.

total_masked_objects str

The total number of unique objects (tables and editioning views) that contain the masked columns.

total_masked_schemas str

The total number of unique schemas that contain the masked columns.

total_masked_sensitive_types str

The total number of unique sensitive types associated with the masked columns.

total_masked_values str

The total number of masked values.

compartmentId String

The OCID of the compartment that contains the masking report.

id String

The provider-assigned unique ID for this managed resource.

maskingPolicyId String

The OCID of the masking policy used.

maskingReportId String
maskingWorkRequestId String

The OCID of the masking work request that resulted in this masking report.

targetId String

The OCID of the target database masked.

timeMaskingFinished String

The date and time data masking finished, in the format defined by RFC3339

timeMaskingStarted String

The date and time data masking started, in the format defined by RFC3339

totalMaskedColumns String

The total number of masked columns.

totalMaskedObjects String

The total number of unique objects (tables and editioning views) that contain the masked columns.

totalMaskedSchemas String

The total number of unique schemas that contain the masked columns.

totalMaskedSensitiveTypes String

The total number of unique sensitive types associated with the masked columns.

totalMaskedValues String

The total number of masked values.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.