1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getMaskingReport
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.DataSafe.getMaskingReport

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    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: oci_data_safe_masking_report.test_masking_report.id,
    });
    
    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"])
    
    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
    	})
    }
    
    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 = oci_data_safe_masking_report.Test_masking_report.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(oci_data_safe_masking_report.test_masking_report().id())
                .build());
    
        }
    }
    
    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.
    IsDropTempTablesEnabled bool
    Indicates if the temporary tables created during the masking operation were dropped after masking.
    IsRedoLoggingEnabled bool
    Indicates if redo logging was enabled during the masking operation.
    IsRefreshStatsEnabled bool
    Indicates if statistics gathering was enabled during the masking operation.
    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.
    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.
    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.
    IsDropTempTablesEnabled bool
    Indicates if the temporary tables created during the masking operation were dropped after masking.
    IsRedoLoggingEnabled bool
    Indicates if redo logging was enabled during the masking operation.
    IsRefreshStatsEnabled bool
    Indicates if statistics gathering was enabled during the masking operation.
    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.
    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.
    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.
    isDropTempTablesEnabled Boolean
    Indicates if the temporary tables created during the masking operation were dropped after masking.
    isRedoLoggingEnabled Boolean
    Indicates if redo logging was enabled during the masking operation.
    isRefreshStatsEnabled Boolean
    Indicates if statistics gathering was enabled during the masking operation.
    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.
    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.
    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.
    isDropTempTablesEnabled boolean
    Indicates if the temporary tables created during the masking operation were dropped after masking.
    isRedoLoggingEnabled boolean
    Indicates if redo logging was enabled during the masking operation.
    isRefreshStatsEnabled boolean
    Indicates if statistics gathering was enabled during the masking operation.
    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.
    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.
    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.
    is_drop_temp_tables_enabled bool
    Indicates if the temporary tables created during the masking operation were dropped after masking.
    is_redo_logging_enabled bool
    Indicates if redo logging was enabled during the masking operation.
    is_refresh_stats_enabled bool
    Indicates if statistics gathering was enabled during the masking operation.
    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.
    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_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.
    isDropTempTablesEnabled Boolean
    Indicates if the temporary tables created during the masking operation were dropped after masking.
    isRedoLoggingEnabled Boolean
    Indicates if redo logging was enabled during the masking operation.
    isRefreshStatsEnabled Boolean
    Indicates if statistics gathering was enabled during the masking operation.
    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.
    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.
    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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi