import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Masking Reports in Oracle Cloud Infrastructure Data Safe service. * * Gets a list of masking reports based on the specified query parameters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaskingReports = oci.datasafe.getMaskingReports({ * compartmentId: compartmentId, * accessLevel: maskingReportAccessLevel, * compartmentIdInSubtree: maskingReportCompartmentIdInSubtree === "true", * maskingPolicyId: testMaskingPolicy.id, * targetDatabaseGroupId: testTargetDatabaseGroup.id, * targetId: testTarget.id, * }); * ``` */ export declare function getMaskingReports(args: GetMaskingReportsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMaskingReports. */ export interface GetMaskingReportsArgs { /** * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. */ accessLevel?: string; /** * A filter to return only resources that match the specified compartment OCID. */ compartmentId: string; /** * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. */ compartmentIdInSubtree?: boolean; filters?: inputs.DataSafe.GetMaskingReportsFilter[]; /** * A filter to return only the resources that match the specified masking policy OCID. */ maskingPolicyId?: string; /** * A filter to return the target database group that matches the specified OCID. */ targetDatabaseGroupId?: string; /** * A filter to return only items related to a specific target OCID. */ targetId?: string; } /** * A collection of values returned by getMaskingReports. */ export interface GetMaskingReportsResult { readonly accessLevel?: string; /** * The OCID of the compartment that contains the masking report. */ readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; readonly filters?: outputs.DataSafe.GetMaskingReportsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The OCID of the masking policy used. */ readonly maskingPolicyId?: string; /** * The list of masking_report_collection. */ readonly maskingReportCollections: outputs.DataSafe.GetMaskingReportsMaskingReportCollection[]; readonly targetDatabaseGroupId?: string; /** * The OCID of the target database masked. */ readonly targetId?: string; } /** * This data source provides the list of Masking Reports in Oracle Cloud Infrastructure Data Safe service. * * Gets a list of masking reports based on the specified query parameters. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaskingReports = oci.datasafe.getMaskingReports({ * compartmentId: compartmentId, * accessLevel: maskingReportAccessLevel, * compartmentIdInSubtree: maskingReportCompartmentIdInSubtree === "true", * maskingPolicyId: testMaskingPolicy.id, * targetDatabaseGroupId: testTargetDatabaseGroup.id, * targetId: testTarget.id, * }); * ``` */ export declare function getMaskingReportsOutput(args: GetMaskingReportsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMaskingReports. */ export interface GetMaskingReportsOutputArgs { /** * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. */ accessLevel?: pulumi.Input; /** * A filter to return only resources that match the specified compartment OCID. */ compartmentId: pulumi.Input; /** * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. */ compartmentIdInSubtree?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only the resources that match the specified masking policy OCID. */ maskingPolicyId?: pulumi.Input; /** * A filter to return the target database group that matches the specified OCID. */ targetDatabaseGroupId?: pulumi.Input; /** * A filter to return only items related to a specific target OCID. */ targetId?: pulumi.Input; } //# sourceMappingURL=getMaskingReports.d.ts.map