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 Analytics in Oracle Cloud Infrastructure Data Safe service. * * Gets consolidated masking analytics data based on the specified query parameters. * If CompartmentIdInSubtreeQueryParam is specified as true, the behaviour * is equivalent to accessLevel "ACCESSIBLE" by default. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaskingAnalytics = oci.datasafe.getMaskingAnalytics({ * compartmentId: compartmentId, * compartmentIdInSubtree: maskingAnalyticCompartmentIdInSubtree === "true", * groupBy: maskingAnalyticGroupBy, * maskingPolicyId: testMaskingPolicy.id, * sensitiveTypeId: testSensitiveType.id, * targetDatabaseGroupId: testTargetDatabaseGroup.id, * targetId: testTarget.id, * }); * ``` */ export declare function getMaskingAnalytics(args: GetMaskingAnalyticsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMaskingAnalytics. */ export interface GetMaskingAnalyticsArgs { /** * 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.GetMaskingAnalyticsFilter[]; /** * Attribute by which the masking analytics data should be grouped. */ groupBy?: string; /** * A filter to return only the resources that match the specified masking policy OCID. */ maskingPolicyId?: string; /** * A filter to return only items related to a specific sensitive type OCID. */ sensitiveTypeId?: 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 getMaskingAnalytics. */ export interface GetMaskingAnalyticsResult { readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; readonly filters?: outputs.DataSafe.GetMaskingAnalyticsFilter[]; readonly groupBy?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of masking_analytics_collection. */ readonly maskingAnalyticsCollections: outputs.DataSafe.GetMaskingAnalyticsMaskingAnalyticsCollection[]; readonly maskingPolicyId?: string; /** * The OCID of the sensitive type masked. */ readonly sensitiveTypeId?: string; readonly targetDatabaseGroupId?: string; /** * The OCID of the target database. */ readonly targetId?: string; } /** * This data source provides the list of Masking Analytics in Oracle Cloud Infrastructure Data Safe service. * * Gets consolidated masking analytics data based on the specified query parameters. * If CompartmentIdInSubtreeQueryParam is specified as true, the behaviour * is equivalent to accessLevel "ACCESSIBLE" by default. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMaskingAnalytics = oci.datasafe.getMaskingAnalytics({ * compartmentId: compartmentId, * compartmentIdInSubtree: maskingAnalyticCompartmentIdInSubtree === "true", * groupBy: maskingAnalyticGroupBy, * maskingPolicyId: testMaskingPolicy.id, * sensitiveTypeId: testSensitiveType.id, * targetDatabaseGroupId: testTargetDatabaseGroup.id, * targetId: testTarget.id, * }); * ``` */ export declare function getMaskingAnalyticsOutput(args: GetMaskingAnalyticsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMaskingAnalytics. */ export interface GetMaskingAnalyticsOutputArgs { /** * 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>; /** * Attribute by which the masking analytics data should be grouped. */ groupBy?: pulumi.Input; /** * A filter to return only the resources that match the specified masking policy OCID. */ maskingPolicyId?: pulumi.Input; /** * A filter to return only items related to a specific sensitive type OCID. */ sensitiveTypeId?: 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=getMaskingAnalytics.d.ts.map