1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getMaskingReportMaskingErrors
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.DataSafe.getMaskingReportMaskingErrors

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Masking Report Masking Errors in Oracle Cloud Infrastructure Data Safe service.

Gets a list of masking errors in a masking run based on the specified query parameters.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testMaskingReportMaskingErrors = oci.DataSafe.getMaskingReportMaskingErrors({
    maskingReportId: testMaskingReport.id,
    stepName: maskingReportMaskingErrorStepName,
});
Copy
import pulumi
import pulumi_oci as oci

test_masking_report_masking_errors = oci.DataSafe.get_masking_report_masking_errors(masking_report_id=test_masking_report["id"],
    step_name=masking_report_masking_error_step_name)
Copy
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.GetMaskingReportMaskingErrors(ctx, &datasafe.GetMaskingReportMaskingErrorsArgs{
			MaskingReportId: testMaskingReport.Id,
			StepName:        pulumi.StringRef(maskingReportMaskingErrorStepName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testMaskingReportMaskingErrors = Oci.DataSafe.GetMaskingReportMaskingErrors.Invoke(new()
    {
        MaskingReportId = testMaskingReport.Id,
        StepName = maskingReportMaskingErrorStepName,
    });

});
Copy
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.GetMaskingReportMaskingErrorsArgs;
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 testMaskingReportMaskingErrors = DataSafeFunctions.getMaskingReportMaskingErrors(GetMaskingReportMaskingErrorsArgs.builder()
            .maskingReportId(testMaskingReport.id())
            .stepName(maskingReportMaskingErrorStepName)
            .build());

    }
}
Copy
variables:
  testMaskingReportMaskingErrors:
    fn::invoke:
      function: oci:DataSafe:getMaskingReportMaskingErrors
      arguments:
        maskingReportId: ${testMaskingReport.id}
        stepName: ${maskingReportMaskingErrorStepName}
Copy

Using getMaskingReportMaskingErrors

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 getMaskingReportMaskingErrors(args: GetMaskingReportMaskingErrorsArgs, opts?: InvokeOptions): Promise<GetMaskingReportMaskingErrorsResult>
function getMaskingReportMaskingErrorsOutput(args: GetMaskingReportMaskingErrorsOutputArgs, opts?: InvokeOptions): Output<GetMaskingReportMaskingErrorsResult>
Copy
def get_masking_report_masking_errors(filters: Optional[Sequence[_datasafe.GetMaskingReportMaskingErrorsFilter]] = None,
                                      masking_report_id: Optional[str] = None,
                                      step_name: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetMaskingReportMaskingErrorsResult
def get_masking_report_masking_errors_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetMaskingReportMaskingErrorsFilterArgs]]]] = None,
                                      masking_report_id: Optional[pulumi.Input[str]] = None,
                                      step_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetMaskingReportMaskingErrorsResult]
Copy
func GetMaskingReportMaskingErrors(ctx *Context, args *GetMaskingReportMaskingErrorsArgs, opts ...InvokeOption) (*GetMaskingReportMaskingErrorsResult, error)
func GetMaskingReportMaskingErrorsOutput(ctx *Context, args *GetMaskingReportMaskingErrorsOutputArgs, opts ...InvokeOption) GetMaskingReportMaskingErrorsResultOutput
Copy

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

public static class GetMaskingReportMaskingErrors 
{
    public static Task<GetMaskingReportMaskingErrorsResult> InvokeAsync(GetMaskingReportMaskingErrorsArgs args, InvokeOptions? opts = null)
    public static Output<GetMaskingReportMaskingErrorsResult> Invoke(GetMaskingReportMaskingErrorsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMaskingReportMaskingErrorsResult> getMaskingReportMaskingErrors(GetMaskingReportMaskingErrorsArgs args, InvokeOptions options)
public static Output<GetMaskingReportMaskingErrorsResult> getMaskingReportMaskingErrors(GetMaskingReportMaskingErrorsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DataSafe/getMaskingReportMaskingErrors:getMaskingReportMaskingErrors
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

MaskingReportId This property is required. string
The OCID of the masking report.
Filters Changes to this property will trigger replacement. List<GetMaskingReportMaskingErrorsFilter>
StepName string
A filter to return only masking errors that match the specified step name.
MaskingReportId This property is required. string
The OCID of the masking report.
Filters Changes to this property will trigger replacement. []GetMaskingReportMaskingErrorsFilter
StepName string
A filter to return only masking errors that match the specified step name.
maskingReportId This property is required. String
The OCID of the masking report.
filters Changes to this property will trigger replacement. List<GetMaskingReportMaskingErrorsFilter>
stepName String
A filter to return only masking errors that match the specified step name.
maskingReportId This property is required. string
The OCID of the masking report.
filters Changes to this property will trigger replacement. GetMaskingReportMaskingErrorsFilter[]
stepName string
A filter to return only masking errors that match the specified step name.
masking_report_id This property is required. str
The OCID of the masking report.
filters Changes to this property will trigger replacement. Sequence[datasafe.GetMaskingReportMaskingErrorsFilter]
step_name str
A filter to return only masking errors that match the specified step name.
maskingReportId This property is required. String
The OCID of the masking report.
filters Changes to this property will trigger replacement. List<Property Map>
stepName String
A filter to return only masking errors that match the specified step name.

getMaskingReportMaskingErrors Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
MaskingErrorCollections List<GetMaskingReportMaskingErrorsMaskingErrorCollection>
The list of masking_error_collection.
MaskingReportId string
Filters List<GetMaskingReportMaskingErrorsFilter>
StepName string
The stepName of the masking error.
Id string
The provider-assigned unique ID for this managed resource.
MaskingErrorCollections []GetMaskingReportMaskingErrorsMaskingErrorCollection
The list of masking_error_collection.
MaskingReportId string
Filters []GetMaskingReportMaskingErrorsFilter
StepName string
The stepName of the masking error.
id String
The provider-assigned unique ID for this managed resource.
maskingErrorCollections List<GetMaskingReportMaskingErrorsMaskingErrorCollection>
The list of masking_error_collection.
maskingReportId String
filters List<GetMaskingReportMaskingErrorsFilter>
stepName String
The stepName of the masking error.
id string
The provider-assigned unique ID for this managed resource.
maskingErrorCollections GetMaskingReportMaskingErrorsMaskingErrorCollection[]
The list of masking_error_collection.
maskingReportId string
filters GetMaskingReportMaskingErrorsFilter[]
stepName string
The stepName of the masking error.
id str
The provider-assigned unique ID for this managed resource.
masking_error_collections Sequence[datasafe.GetMaskingReportMaskingErrorsMaskingErrorCollection]
The list of masking_error_collection.
masking_report_id str
filters Sequence[datasafe.GetMaskingReportMaskingErrorsFilter]
step_name str
The stepName of the masking error.
id String
The provider-assigned unique ID for this managed resource.
maskingErrorCollections List<Property Map>
The list of masking_error_collection.
maskingReportId String
filters List<Property Map>
stepName String
The stepName of the masking error.

Supporting Types

GetMaskingReportMaskingErrorsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

GetMaskingReportMaskingErrorsMaskingErrorCollection

Items This property is required. List<GetMaskingReportMaskingErrorsMaskingErrorCollectionItem>
An array of masking error objects.
Items This property is required. []GetMaskingReportMaskingErrorsMaskingErrorCollectionItem
An array of masking error objects.
items This property is required. List<GetMaskingReportMaskingErrorsMaskingErrorCollectionItem>
An array of masking error objects.
items This property is required. GetMaskingReportMaskingErrorsMaskingErrorCollectionItem[]
An array of masking error objects.
items This property is required. Sequence[datasafe.GetMaskingReportMaskingErrorsMaskingErrorCollectionItem]
An array of masking error objects.
items This property is required. List<Property Map>
An array of masking error objects.

GetMaskingReportMaskingErrorsMaskingErrorCollectionItem

Error This property is required. string
The text of the masking error.
FailedStatement This property is required. string
The statement resulting into the error.
StepName This property is required. string
A filter to return only masking errors that match the specified step name.
TimeCreated This property is required. string
The date and time the error entry was created, in the format defined by RFC3339.
Error This property is required. string
The text of the masking error.
FailedStatement This property is required. string
The statement resulting into the error.
StepName This property is required. string
A filter to return only masking errors that match the specified step name.
TimeCreated This property is required. string
The date and time the error entry was created, in the format defined by RFC3339.
error This property is required. String
The text of the masking error.
failedStatement This property is required. String
The statement resulting into the error.
stepName This property is required. String
A filter to return only masking errors that match the specified step name.
timeCreated This property is required. String
The date and time the error entry was created, in the format defined by RFC3339.
error This property is required. string
The text of the masking error.
failedStatement This property is required. string
The statement resulting into the error.
stepName This property is required. string
A filter to return only masking errors that match the specified step name.
timeCreated This property is required. string
The date and time the error entry was created, in the format defined by RFC3339.
error This property is required. str
The text of the masking error.
failed_statement This property is required. str
The statement resulting into the error.
step_name This property is required. str
A filter to return only masking errors that match the specified step name.
time_created This property is required. str
The date and time the error entry was created, in the format defined by RFC3339.
error This property is required. String
The text of the masking error.
failedStatement This property is required. String
The statement resulting into the error.
stepName This property is required. String
A filter to return only masking errors that match the specified step name.
timeCreated This property is required. String
The date and time the error entry was created, in the format defined by RFC3339.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi