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 Discovery Analytics in Oracle Cloud Infrastructure Data Safe service. * * Gets consolidated discovery 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 testDiscoveryAnalytics = oci.datasafe.getDiscoveryAnalytics({ * compartmentId: compartmentId, * compartmentIdInSubtree: discoveryAnalyticCompartmentIdInSubtree === "true", * groupBy: discoveryAnalyticGroupBy, * isCommon: discoveryAnalyticIsCommon === "true", * sensitiveDataModelId: testSensitiveDataModel.id, * sensitiveTypeGroupId: testSensitiveTypeGroup.id, * sensitiveTypeId: testSensitiveType.id, * targetDatabaseGroupId: testTargetDatabaseGroup.id, * targetId: testTarget.id, * }); * ``` */ export declare function getDiscoveryAnalytics(args: GetDiscoveryAnalyticsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDiscoveryAnalytics. */ export interface GetDiscoveryAnalyticsArgs { /** * 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.GetDiscoveryAnalyticsFilter[]; /** * Attribute by which the discovery analytics data should be grouped. */ groupBy?: string; /** * A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery. */ isCommon?: boolean; /** * A filter to return only the resources that match the specified sensitive data model OCID. */ sensitiveDataModelId?: string; /** * An optional filter to return only resources that match the specified OCID of the sensitive type group resource. */ sensitiveTypeGroupId?: 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 getDiscoveryAnalytics. */ export interface GetDiscoveryAnalyticsResult { readonly compartmentId: string; readonly compartmentIdInSubtree?: boolean; /** * The list of discovery_analytics_collection. */ readonly discoveryAnalyticsCollections: outputs.DataSafe.GetDiscoveryAnalyticsDiscoveryAnalyticsCollection[]; readonly filters?: outputs.DataSafe.GetDiscoveryAnalyticsFilter[]; readonly groupBy?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isCommon?: boolean; /** * The OCID of the sensitive data model. */ readonly sensitiveDataModelId?: string; readonly sensitiveTypeGroupId?: string; /** * The OCID of the sensitive type. */ readonly sensitiveTypeId?: string; readonly targetDatabaseGroupId?: string; /** * The OCID of the target database. */ readonly targetId?: string; } /** * This data source provides the list of Discovery Analytics in Oracle Cloud Infrastructure Data Safe service. * * Gets consolidated discovery 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 testDiscoveryAnalytics = oci.datasafe.getDiscoveryAnalytics({ * compartmentId: compartmentId, * compartmentIdInSubtree: discoveryAnalyticCompartmentIdInSubtree === "true", * groupBy: discoveryAnalyticGroupBy, * isCommon: discoveryAnalyticIsCommon === "true", * sensitiveDataModelId: testSensitiveDataModel.id, * sensitiveTypeGroupId: testSensitiveTypeGroup.id, * sensitiveTypeId: testSensitiveType.id, * targetDatabaseGroupId: testTargetDatabaseGroup.id, * targetId: testTarget.id, * }); * ``` */ export declare function getDiscoveryAnalyticsOutput(args: GetDiscoveryAnalyticsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDiscoveryAnalytics. */ export interface GetDiscoveryAnalyticsOutputArgs { /** * 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 discovery analytics data should be grouped. */ groupBy?: pulumi.Input; /** * A filter to return only the common sensitive type resources. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery. */ isCommon?: pulumi.Input; /** * A filter to return only the resources that match the specified sensitive data model OCID. */ sensitiveDataModelId?: pulumi.Input; /** * An optional filter to return only resources that match the specified OCID of the sensitive type group resource. */ sensitiveTypeGroupId?: 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=getDiscoveryAnalytics.d.ts.map