Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DataSafe.getMaskingReport
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMaskingReport = oci.DataSafe.getMaskingReport({
    maskingReportId: testMaskingReportOciDataSafeMaskingReport.id,
});
import pulumi
import pulumi_oci as oci
test_masking_report = oci.DataSafe.get_masking_report(masking_report_id=test_masking_report_oci_data_safe_masking_report["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.GetMaskingReport(ctx, &datasafe.GetMaskingReportArgs{
			MaskingReportId: testMaskingReportOciDataSafeMaskingReport.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 testMaskingReport = Oci.DataSafe.GetMaskingReport.Invoke(new()
    {
        MaskingReportId = testMaskingReportOciDataSafeMaskingReport.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.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(testMaskingReportOciDataSafeMaskingReport.id())
            .build());
    }
}
variables:
  testMaskingReport:
    fn::invoke:
      function: oci:DataSafe:getMaskingReport
      arguments:
        maskingReportId: ${testMaskingReportOciDataSafeMaskingReport.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)
public static Output<GetMaskingReportResult> getMaskingReport(GetMaskingReportArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataSafe/getMaskingReport:getMaskingReport
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MaskingReport stringId 
- The OCID of the masking report.
- MaskingReport stringId 
- The OCID of the masking report.
- maskingReport StringId 
- The OCID of the masking report.
- maskingReport stringId 
- The OCID of the masking report.
- masking_report_ strid 
- The OCID of the masking report.
- maskingReport StringId 
- 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.
- IsDrop boolTemp Tables Enabled 
- Indicates if the temporary tables created during the masking operation were dropped after masking.
- IsRedo boolLogging Enabled 
- Indicates if redo logging was enabled during the masking operation.
- IsRefresh boolStats Enabled 
- Indicates if statistics gathering was enabled during the masking operation.
- MaskingPolicy stringId 
- The OCID of the masking policy used.
- MaskingReport stringId 
- MaskingStatus string
- The status of the masking job.
- MaskingWork stringRequest Id 
- The OCID of the masking work request that resulted in this masking report.
- ParallelDegree string
- Indicates if parallel execution was enabled during the masking operation.
- Recompile string
- Indicates how invalid objects were recompiled post the masking operation.
- State string
- The current state of the masking report.
- TargetId string
- The OCID of the target database masked.
- TimeCreated string
- The date and time the masking report was created, in the format defined by RFC3339.
- TimeMasking stringFinished 
- The date and time data masking finished, in the format defined by RFC3339
- TimeMasking stringStarted 
- The date and time data masking started, in the format defined by RFC3339
- TotalMasked stringColumns 
- The total number of masked columns.
- TotalMasked stringObjects 
- The total number of unique objects (tables and editioning views) that contain the masked columns.
- TotalMasked stringSchemas 
- The total number of unique schemas that contain the masked columns.
- TotalMasked stringSensitive Types 
- The total number of unique sensitive types associated with the masked columns.
- TotalMasked stringValues 
- The total number of masked values.
- TotalPost stringMasking Script Errors 
- The total number of errors in post-masking script.
- TotalPre stringMasking Script Errors 
- The total number of errors in pre-masking script.
- CompartmentId string
- The OCID of the compartment that contains the masking report.
- Id string
- The provider-assigned unique ID for this managed resource.
- IsDrop boolTemp Tables Enabled 
- Indicates if the temporary tables created during the masking operation were dropped after masking.
- IsRedo boolLogging Enabled 
- Indicates if redo logging was enabled during the masking operation.
- IsRefresh boolStats Enabled 
- Indicates if statistics gathering was enabled during the masking operation.
- MaskingPolicy stringId 
- The OCID of the masking policy used.
- MaskingReport stringId 
- MaskingStatus string
- The status of the masking job.
- MaskingWork stringRequest Id 
- The OCID of the masking work request that resulted in this masking report.
- ParallelDegree string
- Indicates if parallel execution was enabled during the masking operation.
- Recompile string
- Indicates how invalid objects were recompiled post the masking operation.
- State string
- The current state of the masking report.
- TargetId string
- The OCID of the target database masked.
- TimeCreated string
- The date and time the masking report was created, in the format defined by RFC3339.
- TimeMasking stringFinished 
- The date and time data masking finished, in the format defined by RFC3339
- TimeMasking stringStarted 
- The date and time data masking started, in the format defined by RFC3339
- TotalMasked stringColumns 
- The total number of masked columns.
- TotalMasked stringObjects 
- The total number of unique objects (tables and editioning views) that contain the masked columns.
- TotalMasked stringSchemas 
- The total number of unique schemas that contain the masked columns.
- TotalMasked stringSensitive Types 
- The total number of unique sensitive types associated with the masked columns.
- TotalMasked stringValues 
- The total number of masked values.
- TotalPost stringMasking Script Errors 
- The total number of errors in post-masking script.
- TotalPre stringMasking Script Errors 
- The total number of errors in pre-masking script.
- compartmentId String
- The OCID of the compartment that contains the masking report.
- id String
- The provider-assigned unique ID for this managed resource.
- isDrop BooleanTemp Tables Enabled 
- Indicates if the temporary tables created during the masking operation were dropped after masking.
- isRedo BooleanLogging Enabled 
- Indicates if redo logging was enabled during the masking operation.
- isRefresh BooleanStats Enabled 
- Indicates if statistics gathering was enabled during the masking operation.
- maskingPolicy StringId 
- The OCID of the masking policy used.
- maskingReport StringId 
- maskingStatus String
- The status of the masking job.
- maskingWork StringRequest Id 
- The OCID of the masking work request that resulted in this masking report.
- parallelDegree String
- Indicates if parallel execution was enabled during the masking operation.
- recompile String
- Indicates how invalid objects were recompiled post the masking operation.
- state String
- The current state of the masking report.
- targetId String
- The OCID of the target database masked.
- timeCreated String
- The date and time the masking report was created, in the format defined by RFC3339.
- timeMasking StringFinished 
- The date and time data masking finished, in the format defined by RFC3339
- timeMasking StringStarted 
- The date and time data masking started, in the format defined by RFC3339
- totalMasked StringColumns 
- The total number of masked columns.
- totalMasked StringObjects 
- The total number of unique objects (tables and editioning views) that contain the masked columns.
- totalMasked StringSchemas 
- The total number of unique schemas that contain the masked columns.
- totalMasked StringSensitive Types 
- The total number of unique sensitive types associated with the masked columns.
- totalMasked StringValues 
- The total number of masked values.
- totalPost StringMasking Script Errors 
- The total number of errors in post-masking script.
- totalPre StringMasking Script Errors 
- The total number of errors in pre-masking script.
- compartmentId string
- The OCID of the compartment that contains the masking report.
- id string
- The provider-assigned unique ID for this managed resource.
- isDrop booleanTemp Tables Enabled 
- Indicates if the temporary tables created during the masking operation were dropped after masking.
- isRedo booleanLogging Enabled 
- Indicates if redo logging was enabled during the masking operation.
- isRefresh booleanStats Enabled 
- Indicates if statistics gathering was enabled during the masking operation.
- maskingPolicy stringId 
- The OCID of the masking policy used.
- maskingReport stringId 
- maskingStatus string
- The status of the masking job.
- maskingWork stringRequest Id 
- The OCID of the masking work request that resulted in this masking report.
- parallelDegree string
- Indicates if parallel execution was enabled during the masking operation.
- recompile string
- Indicates how invalid objects were recompiled post the masking operation.
- state string
- The current state of the masking report.
- targetId string
- The OCID of the target database masked.
- timeCreated string
- The date and time the masking report was created, in the format defined by RFC3339.
- timeMasking stringFinished 
- The date and time data masking finished, in the format defined by RFC3339
- timeMasking stringStarted 
- The date and time data masking started, in the format defined by RFC3339
- totalMasked stringColumns 
- The total number of masked columns.
- totalMasked stringObjects 
- The total number of unique objects (tables and editioning views) that contain the masked columns.
- totalMasked stringSchemas 
- The total number of unique schemas that contain the masked columns.
- totalMasked stringSensitive Types 
- The total number of unique sensitive types associated with the masked columns.
- totalMasked stringValues 
- The total number of masked values.
- totalPost stringMasking Script Errors 
- The total number of errors in post-masking script.
- totalPre stringMasking Script Errors 
- The total number of errors in pre-masking script.
- compartment_id str
- The OCID of the compartment that contains the masking report.
- id str
- The provider-assigned unique ID for this managed resource.
- is_drop_ booltemp_ tables_ enabled 
- Indicates if the temporary tables created during the masking operation were dropped after masking.
- is_redo_ boollogging_ enabled 
- Indicates if redo logging was enabled during the masking operation.
- is_refresh_ boolstats_ enabled 
- Indicates if statistics gathering was enabled during the masking operation.
- masking_policy_ strid 
- The OCID of the masking policy used.
- masking_report_ strid 
- masking_status str
- The status of the masking job.
- masking_work_ strrequest_ id 
- The OCID of the masking work request that resulted in this masking report.
- parallel_degree str
- Indicates if parallel execution was enabled during the masking operation.
- recompile str
- Indicates how invalid objects were recompiled post the masking operation.
- state str
- The current state of the masking report.
- target_id str
- The OCID of the target database masked.
- time_created str
- The date and time the masking report was created, in the format defined by RFC3339.
- time_masking_ strfinished 
- The date and time data masking finished, in the format defined by RFC3339
- time_masking_ strstarted 
- The date and time data masking started, in the format defined by RFC3339
- total_masked_ strcolumns 
- The total number of masked columns.
- total_masked_ strobjects 
- The total number of unique objects (tables and editioning views) that contain the masked columns.
- total_masked_ strschemas 
- The total number of unique schemas that contain the masked columns.
- total_masked_ strsensitive_ types 
- The total number of unique sensitive types associated with the masked columns.
- total_masked_ strvalues 
- The total number of masked values.
- total_post_ strmasking_ script_ errors 
- The total number of errors in post-masking script.
- total_pre_ strmasking_ script_ errors 
- The total number of errors in pre-masking script.
- compartmentId String
- The OCID of the compartment that contains the masking report.
- id String
- The provider-assigned unique ID for this managed resource.
- isDrop BooleanTemp Tables Enabled 
- Indicates if the temporary tables created during the masking operation were dropped after masking.
- isRedo BooleanLogging Enabled 
- Indicates if redo logging was enabled during the masking operation.
- isRefresh BooleanStats Enabled 
- Indicates if statistics gathering was enabled during the masking operation.
- maskingPolicy StringId 
- The OCID of the masking policy used.
- maskingReport StringId 
- maskingStatus String
- The status of the masking job.
- maskingWork StringRequest Id 
- The OCID of the masking work request that resulted in this masking report.
- parallelDegree String
- Indicates if parallel execution was enabled during the masking operation.
- recompile String
- Indicates how invalid objects were recompiled post the masking operation.
- state String
- The current state of the masking report.
- targetId String
- The OCID of the target database masked.
- timeCreated String
- The date and time the masking report was created, in the format defined by RFC3339.
- timeMasking StringFinished 
- The date and time data masking finished, in the format defined by RFC3339
- timeMasking StringStarted 
- The date and time data masking started, in the format defined by RFC3339
- totalMasked StringColumns 
- The total number of masked columns.
- totalMasked StringObjects 
- The total number of unique objects (tables and editioning views) that contain the masked columns.
- totalMasked StringSchemas 
- The total number of unique schemas that contain the masked columns.
- totalMasked StringSensitive Types 
- The total number of unique sensitive types associated with the masked columns.
- totalMasked StringValues 
- The total number of masked values.
- totalPost StringMasking Script Errors 
- The total number of errors in post-masking script.
- totalPre StringMasking Script Errors 
- The total number of errors in pre-masking script.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.