import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Discovery Jobs Result resource in Oracle Cloud Infrastructure Data Safe service. * * Gets the details of the specified discovery result. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDiscoveryJobsResult = oci.datasafe.getDiscoveryJobsResult({ * discoveryJobId: testDiscoveryJob.id, * resultKey: discoveryJobsResultResultKey, * }); * ``` */ export declare function getDiscoveryJobsResult(args: GetDiscoveryJobsResultArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDiscoveryJobsResult. */ export interface GetDiscoveryJobsResultArgs { /** * The OCID of the discovery job. */ discoveryJobId: string; /** * The unique key that identifies the discovery result. */ resultKey: string; } /** * A collection of values returned by getDiscoveryJobsResult. */ export interface GetDiscoveryJobsResultResult { /** * Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column. */ readonly appDefinedChildColumnKeys: string[]; /** * The name of the application. An application is an entity that is identified by a schema and stores sensitive information for that schema. Its value will be same as schemaName, if no value is passed. */ readonly appName: string; /** * The name of the sensitive column. */ readonly columnName: string; /** * The confidence level of the discovery job result associated with the sensitive type. The confidence level for discovery job results can be either HIGH, MEDIUM or LOW. */ readonly confidenceLevel: string; /** * List containing maps as values. Example: `{"Operations": [ {"CostCenter": "42"} ] }` */ readonly confidenceLevelDetails: outputs.DataSafe.GetDiscoveryJobsResultConfidenceLevelDetail[]; /** * The data type of the sensitive column. */ readonly dataType: string; /** * Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column. */ readonly dbDefinedChildColumnKeys: string[]; /** * The OCID of the discovery job. */ readonly discoveryJobId: string; /** * The type of the discovery result. It can be one of the following three types: NEW: A new sensitive column in the target database that is not in the sensitive data model. DELETED: A column that is present in the sensitive data model but has been deleted from the target database. MODIFIED: A column that is present in the target database as well as the sensitive data model but some of its attributes have been modified. * * @deprecated The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported. */ readonly discoveryType: string; /** * The estimated number of data values the column has in the associated database. */ readonly estimatedDataValueCount: string; readonly id: string; /** * Indicates whether the discovery result has been processed. You can update this attribute using the PatchDiscoveryJobResults operation to track whether the discovery result has already been processed and applied to the sensitive data model. */ readonly isResultApplied: boolean; /** * The unique key that identifies the discovery result. * * @deprecated The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported. */ readonly key: string; /** * The attributes of a sensitive column that have been modified in the target database. It's populated only in the case of MODIFIED discovery results and shows the new values of the modified attributes. */ readonly modifiedAttributes: outputs.DataSafe.GetDiscoveryJobsResultModifiedAttribute[]; /** * The database object that contains the sensitive column. */ readonly object: string; /** * The type of the database object that contains the sensitive column. */ readonly objectType: string; /** * Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only. */ readonly parentColumnKeys: string[]; /** * Specifies how to process the discovery result. It's set to NONE by default. Use the PatchDiscoveryJobResults operation to update this attribute. You can choose one of the following options: ACCEPT: To accept the discovery result and update the sensitive data model to reflect the changes. REJECT: To reject the discovery result so that it doesn't change the sensitive data model. INVALIDATE: To invalidate a newly discovered column. It adds the column to the sensitive data model but marks it as invalid. It helps track false positives and ensure that they aren't reported by future discovery jobs. After specifying the planned action, you can use the ApplyDiscoveryJobResults operation to automatically process the discovery results. */ readonly plannedAction: string; /** * The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary. */ readonly relationType: string; readonly resultKey: string; /** * Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column. */ readonly sampleDataValues: string[]; /** * The database schema that contains the sensitive column. */ readonly schemaName: string; /** * The unique key that identifies the sensitive column represented by the discovery result. */ readonly sensitiveColumnkey: string; /** * The OCID of the sensitive type associated with the sensitive column. */ readonly sensitiveTypeId: string; } /** * This data source provides details about a specific Discovery Jobs Result resource in Oracle Cloud Infrastructure Data Safe service. * * Gets the details of the specified discovery result. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDiscoveryJobsResult = oci.datasafe.getDiscoveryJobsResult({ * discoveryJobId: testDiscoveryJob.id, * resultKey: discoveryJobsResultResultKey, * }); * ``` */ export declare function getDiscoveryJobsResultOutput(args: GetDiscoveryJobsResultOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDiscoveryJobsResult. */ export interface GetDiscoveryJobsResultOutputArgs { /** * The OCID of the discovery job. */ discoveryJobId: pulumi.Input; /** * The unique key that identifies the discovery result. */ resultKey: pulumi.Input; } //# sourceMappingURL=getDiscoveryJobsResult.d.ts.map