import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * **Deprecated. This resource does not support create and update operations.** * * This resource provides the Discovery Jobs Result resource in Oracle Cloud Infrastructure Data Safe service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDiscoveryJobsResult = new oci.datasafe.DiscoveryJobsResult("test_discovery_jobs_result", {}); * ``` * * ## Import * * DiscoveryJobsResults can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataSafe/discoveryJobsResult:DiscoveryJobsResult test_discovery_jobs_result "discoveryJobs/{discoveryJobId}/results/{resultKey}" * ``` */ export declare class DiscoveryJobsResult extends pulumi.CustomResource { /** * Get an existing DiscoveryJobsResult resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DiscoveryJobsResultState, opts?: pulumi.CustomResourceOptions): DiscoveryJobsResult; /** * Returns true if the given object is an instance of DiscoveryJobsResult. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DiscoveryJobsResult; /** * Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column. */ readonly appDefinedChildColumnKeys: pulumi.Output; /** * 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: pulumi.Output; /** * The name of the sensitive column. */ readonly columnName: pulumi.Output; readonly confidenceLevel: pulumi.Output; readonly confidenceLevelDetails: pulumi.Output; /** * The data type of the sensitive column. */ readonly dataType: pulumi.Output; /** * Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column. */ readonly dbDefinedChildColumnKeys: pulumi.Output; /** * The OCID of the discovery job. * * @deprecated The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported. */ readonly discoveryJobId: pulumi.Output; /** * 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: pulumi.Output; /** * The estimated number of data values the column has in the associated database. */ readonly estimatedDataValueCount: pulumi.Output; /** * Indicates if 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: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * The database object that contains the sensitive column. */ readonly object: pulumi.Output; /** * The type of the database object that contains the sensitive column. */ readonly objectType: pulumi.Output; /** * Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only. */ readonly parentColumnKeys: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * The database schema that contains the sensitive column. */ readonly schemaName: pulumi.Output; /** * The unique key that identifies the sensitive column represented by the discovery result. */ readonly sensitiveColumnkey: pulumi.Output; /** * The OCID of the sensitive type associated with the sensitive column. */ readonly sensitiveTypeId: pulumi.Output; /** * Create a DiscoveryJobsResult resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DiscoveryJobsResultArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DiscoveryJobsResult resources. */ export interface DiscoveryJobsResultState { /** * Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column. */ appDefinedChildColumnKeys?: pulumi.Input[] | undefined>; /** * 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. */ appName?: pulumi.Input; /** * The name of the sensitive column. */ columnName?: pulumi.Input; confidenceLevel?: pulumi.Input; confidenceLevelDetails?: pulumi.Input[] | undefined>; /** * The data type of the sensitive column. */ dataType?: pulumi.Input; /** * Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column. */ dbDefinedChildColumnKeys?: pulumi.Input[] | undefined>; /** * The OCID of the discovery job. * * @deprecated The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported. */ discoveryJobId?: pulumi.Input; /** * 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. */ discoveryType?: pulumi.Input; /** * The estimated number of data values the column has in the associated database. */ estimatedDataValueCount?: pulumi.Input; /** * Indicates if 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. */ isResultApplied?: pulumi.Input; /** * 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. */ key?: pulumi.Input; /** * 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. */ modifiedAttributes?: pulumi.Input[] | undefined>; /** * The database object that contains the sensitive column. */ object?: pulumi.Input; /** * The type of the database object that contains the sensitive column. */ objectType?: pulumi.Input; /** * Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only. */ parentColumnKeys?: pulumi.Input[] | undefined>; /** * 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. */ plannedAction?: pulumi.Input; /** * 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. */ relationType?: pulumi.Input; /** * 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. */ sampleDataValues?: pulumi.Input[] | undefined>; /** * The database schema that contains the sensitive column. */ schemaName?: pulumi.Input; /** * The unique key that identifies the sensitive column represented by the discovery result. */ sensitiveColumnkey?: pulumi.Input; /** * The OCID of the sensitive type associated with the sensitive column. */ sensitiveTypeId?: pulumi.Input; } /** * The set of arguments for constructing a DiscoveryJobsResult resource. */ export interface DiscoveryJobsResultArgs { /** * The OCID of the discovery job. * * @deprecated The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported. */ discoveryJobId: pulumi.Input; } //# sourceMappingURL=discoveryJobsResult.d.ts.map