oci.DataSafe.DiscoveryJobsResult
Explore with Pulumi AI
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
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDiscoveryJobsResult = new Oci.DataSafe.DiscoveryJobsResult("testDiscoveryJobsResult");
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataSafe.NewDiscoveryJobsResult(ctx, "testDiscoveryJobsResult", nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DiscoveryJobsResult;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testDiscoveryJobsResult = new DiscoveryJobsResult("testDiscoveryJobsResult");
}
}
import pulumi
import pulumi_oci as oci
test_discovery_jobs_result = oci.data_safe.DiscoveryJobsResult("testDiscoveryJobsResult")
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDiscoveryJobsResult = new oci.datasafe.DiscoveryJobsResult("testDiscoveryJobsResult", {});
resources:
testDiscoveryJobsResult:
type: oci:DataSafe:DiscoveryJobsResult
Create DiscoveryJobsResult Resource
new DiscoveryJobsResult(name: string, args: DiscoveryJobsResultArgs, opts?: CustomResourceOptions);
@overload
def DiscoveryJobsResult(resource_name: str,
opts: Optional[ResourceOptions] = None,
discovery_job_id: Optional[str] = None)
@overload
def DiscoveryJobsResult(resource_name: str,
args: DiscoveryJobsResultArgs,
opts: Optional[ResourceOptions] = None)
func NewDiscoveryJobsResult(ctx *Context, name string, args DiscoveryJobsResultArgs, opts ...ResourceOption) (*DiscoveryJobsResult, error)
public DiscoveryJobsResult(string name, DiscoveryJobsResultArgs args, CustomResourceOptions? opts = null)
public DiscoveryJobsResult(String name, DiscoveryJobsResultArgs args)
public DiscoveryJobsResult(String name, DiscoveryJobsResultArgs args, CustomResourceOptions options)
type: oci:DataSafe:DiscoveryJobsResult
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiscoveryJobsResultArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DiscoveryJobsResultArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DiscoveryJobsResultArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiscoveryJobsResultArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DiscoveryJobsResultArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DiscoveryJobsResult Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DiscoveryJobsResult resource accepts the following input properties:
- Discovery
Job stringId The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Discovery
Job stringId The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- discovery
Job StringId The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- discovery
Job stringId The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- discovery_
job_ strid The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- discovery
Job StringId The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
Outputs
All input properties are implicitly available as output properties. Additionally, the DiscoveryJobsResult resource produces the following output properties:
- App
Defined List<string>Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- App
Name 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.
- Column
Name string The name of the sensitive column.
- Data
Type string The data type of the sensitive column.
- Db
Defined List<string>Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- Discovery
Type 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Estimated
Data stringValue Count The estimated number of data values the column has in the associated database.
- Id string
The provider-assigned unique ID for this managed resource.
- Is
Result boolApplied 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.
- Key string
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Modified
Attributes List<DiscoveryJobs Result Modified Attribute> 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.
- Object string
The database object that contains the sensitive column.
- Object
Type string The type of the database object that contains the sensitive column.
- Parent
Column List<string>Keys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- Planned
Action 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.
- Relation
Type 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.
- Sample
Data List<string>Values 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.
- Schema
Name string The database schema that contains the sensitive column.
- Sensitive
Columnkey string The unique key that identifies the sensitive column represented by the discovery result.
- Sensitive
Type stringId The OCID of the sensitive type associated with the sensitive column.
- App
Defined []stringChild Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- App
Name 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.
- Column
Name string The name of the sensitive column.
- Data
Type string The data type of the sensitive column.
- Db
Defined []stringChild Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- Discovery
Type 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Estimated
Data stringValue Count The estimated number of data values the column has in the associated database.
- Id string
The provider-assigned unique ID for this managed resource.
- Is
Result boolApplied 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.
- Key string
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Modified
Attributes []DiscoveryJobs Result Modified Attribute 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.
- Object string
The database object that contains the sensitive column.
- Object
Type string The type of the database object that contains the sensitive column.
- Parent
Column []stringKeys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- Planned
Action 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.
- Relation
Type 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.
- Sample
Data []stringValues 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.
- Schema
Name string The database schema that contains the sensitive column.
- Sensitive
Columnkey string The unique key that identifies the sensitive column represented by the discovery result.
- Sensitive
Type stringId The OCID of the sensitive type associated with the sensitive column.
- app
Defined List<String>Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app
Name 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.
- column
Name String The name of the sensitive column.
- data
Type String The data type of the sensitive column.
- db
Defined List<String>Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discovery
Type 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- estimated
Data StringValue Count The estimated number of data values the column has in the associated database.
- id String
The provider-assigned unique ID for this managed resource.
- is
Result BooleanApplied 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.
- key String
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- modified
Attributes List<DiscoveryJobs Result Modified Attribute> 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.
- object String
The database object that contains the sensitive column.
- object
Type String The type of the database object that contains the sensitive column.
- parent
Column List<String>Keys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- planned
Action 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.
- relation
Type 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.
- sample
Data List<String>Values 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.
- schema
Name String The database schema that contains the sensitive column.
- sensitive
Columnkey String The unique key that identifies the sensitive column represented by the discovery result.
- sensitive
Type StringId The OCID of the sensitive type associated with the sensitive column.
- app
Defined string[]Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app
Name 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.
- column
Name string The name of the sensitive column.
- data
Type string The data type of the sensitive column.
- db
Defined string[]Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discovery
Type 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- estimated
Data stringValue Count The estimated number of data values the column has in the associated database.
- id string
The provider-assigned unique ID for this managed resource.
- is
Result booleanApplied 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.
- key string
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- modified
Attributes DiscoveryJobs Result Modified Attribute[] 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.
- object string
The database object that contains the sensitive column.
- object
Type string The type of the database object that contains the sensitive column.
- parent
Column string[]Keys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- planned
Action 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.
- relation
Type 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.
- sample
Data string[]Values 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.
- schema
Name string The database schema that contains the sensitive column.
- sensitive
Columnkey string The unique key that identifies the sensitive column represented by the discovery result.
- sensitive
Type stringId The OCID of the sensitive type associated with the sensitive column.
- app_
defined_ Sequence[str]child_ column_ keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app_
name str 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.
- column_
name str The name of the sensitive column.
- data_
type str The data type of the sensitive column.
- db_
defined_ Sequence[str]child_ column_ keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discovery_
type str 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- estimated_
data_ strvalue_ count The estimated number of data values the column has in the associated database.
- id str
The provider-assigned unique ID for this managed resource.
- is_
result_ boolapplied 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.
- key str
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- modified_
attributes DiscoveryJobs Result Modified Attribute] 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.
- object str
The database object that contains the sensitive column.
- object_
type str The type of the database object that contains the sensitive column.
- parent_
column_ Sequence[str]keys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- planned_
action str 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.
- relation_
type str 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.
- sample_
data_ Sequence[str]values 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.
- schema_
name str The database schema that contains the sensitive column.
- sensitive_
columnkey str The unique key that identifies the sensitive column represented by the discovery result.
- sensitive_
type_ strid The OCID of the sensitive type associated with the sensitive column.
- app
Defined List<String>Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app
Name 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.
- column
Name String The name of the sensitive column.
- data
Type String The data type of the sensitive column.
- db
Defined List<String>Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discovery
Type 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- estimated
Data StringValue Count The estimated number of data values the column has in the associated database.
- id String
The provider-assigned unique ID for this managed resource.
- is
Result BooleanApplied 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.
- key String
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- modified
Attributes List<Property Map> 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.
- object String
The database object that contains the sensitive column.
- object
Type String The type of the database object that contains the sensitive column.
- parent
Column List<String>Keys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- planned
Action 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.
- relation
Type 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.
- sample
Data List<String>Values 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.
- schema
Name String The database schema that contains the sensitive column.
- sensitive
Columnkey String The unique key that identifies the sensitive column represented by the discovery result.
- sensitive
Type StringId The OCID of the sensitive type associated with the sensitive column.
Look up Existing DiscoveryJobsResult Resource
Get an existing DiscoveryJobsResult resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DiscoveryJobsResultState, opts?: CustomResourceOptions): DiscoveryJobsResult
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_defined_child_column_keys: Optional[Sequence[str]] = None,
app_name: Optional[str] = None,
column_name: Optional[str] = None,
data_type: Optional[str] = None,
db_defined_child_column_keys: Optional[Sequence[str]] = None,
discovery_job_id: Optional[str] = None,
discovery_type: Optional[str] = None,
estimated_data_value_count: Optional[str] = None,
is_result_applied: Optional[bool] = None,
key: Optional[str] = None,
modified_attributes: Optional[Sequence[_datasafe.DiscoveryJobsResultModifiedAttributeArgs]] = None,
object: Optional[str] = None,
object_type: Optional[str] = None,
parent_column_keys: Optional[Sequence[str]] = None,
planned_action: Optional[str] = None,
relation_type: Optional[str] = None,
sample_data_values: Optional[Sequence[str]] = None,
schema_name: Optional[str] = None,
sensitive_columnkey: Optional[str] = None,
sensitive_type_id: Optional[str] = None) -> DiscoveryJobsResult
func GetDiscoveryJobsResult(ctx *Context, name string, id IDInput, state *DiscoveryJobsResultState, opts ...ResourceOption) (*DiscoveryJobsResult, error)
public static DiscoveryJobsResult Get(string name, Input<string> id, DiscoveryJobsResultState? state, CustomResourceOptions? opts = null)
public static DiscoveryJobsResult get(String name, Output<String> id, DiscoveryJobsResultState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App
Defined List<string>Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- App
Name 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.
- Column
Name string The name of the sensitive column.
- Data
Type string The data type of the sensitive column.
- Db
Defined List<string>Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- Discovery
Job stringId The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Discovery
Type 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Estimated
Data stringValue Count The estimated number of data values the column has in the associated database.
- Is
Result boolApplied 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.
- Key string
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Modified
Attributes List<DiscoveryJobs Result Modified Attribute> 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.
- Object string
The database object that contains the sensitive column.
- Object
Type string The type of the database object that contains the sensitive column.
- Parent
Column List<string>Keys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- Planned
Action 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.
- Relation
Type 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.
- Sample
Data List<string>Values 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.
- Schema
Name string The database schema that contains the sensitive column.
- Sensitive
Columnkey string The unique key that identifies the sensitive column represented by the discovery result.
- Sensitive
Type stringId The OCID of the sensitive type associated with the sensitive column.
- App
Defined []stringChild Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- App
Name 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.
- Column
Name string The name of the sensitive column.
- Data
Type string The data type of the sensitive column.
- Db
Defined []stringChild Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- Discovery
Job stringId The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Discovery
Type 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Estimated
Data stringValue Count The estimated number of data values the column has in the associated database.
- Is
Result boolApplied 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.
- Key string
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- Modified
Attributes []DiscoveryJobs Result Modified Attribute Args 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.
- Object string
The database object that contains the sensitive column.
- Object
Type string The type of the database object that contains the sensitive column.
- Parent
Column []stringKeys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- Planned
Action 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.
- Relation
Type 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.
- Sample
Data []stringValues 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.
- Schema
Name string The database schema that contains the sensitive column.
- Sensitive
Columnkey string The unique key that identifies the sensitive column represented by the discovery result.
- Sensitive
Type stringId The OCID of the sensitive type associated with the sensitive column.
- app
Defined List<String>Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app
Name 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.
- column
Name String The name of the sensitive column.
- data
Type String The data type of the sensitive column.
- db
Defined List<String>Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discovery
Job StringId The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- discovery
Type 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- estimated
Data StringValue Count The estimated number of data values the column has in the associated database.
- is
Result BooleanApplied 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.
- key String
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- modified
Attributes List<DiscoveryJobs Result Modified Attribute> 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.
- object String
The database object that contains the sensitive column.
- object
Type String The type of the database object that contains the sensitive column.
- parent
Column List<String>Keys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- planned
Action 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.
- relation
Type 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.
- sample
Data List<String>Values 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.
- schema
Name String The database schema that contains the sensitive column.
- sensitive
Columnkey String The unique key that identifies the sensitive column represented by the discovery result.
- sensitive
Type StringId The OCID of the sensitive type associated with the sensitive column.
- app
Defined string[]Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app
Name 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.
- column
Name string The name of the sensitive column.
- data
Type string The data type of the sensitive column.
- db
Defined string[]Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discovery
Job stringId The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- discovery
Type 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- estimated
Data stringValue Count The estimated number of data values the column has in the associated database.
- is
Result booleanApplied 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.
- key string
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- modified
Attributes DiscoveryJobs Result Modified Attribute[] 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.
- object string
The database object that contains the sensitive column.
- object
Type string The type of the database object that contains the sensitive column.
- parent
Column string[]Keys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- planned
Action 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.
- relation
Type 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.
- sample
Data string[]Values 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.
- schema
Name string The database schema that contains the sensitive column.
- sensitive
Columnkey string The unique key that identifies the sensitive column represented by the discovery result.
- sensitive
Type stringId The OCID of the sensitive type associated with the sensitive column.
- app_
defined_ Sequence[str]child_ column_ keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app_
name str 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.
- column_
name str The name of the sensitive column.
- data_
type str The data type of the sensitive column.
- db_
defined_ Sequence[str]child_ column_ keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discovery_
job_ strid The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- discovery_
type str 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- estimated_
data_ strvalue_ count The estimated number of data values the column has in the associated database.
- is_
result_ boolapplied 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.
- key str
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- modified_
attributes DiscoveryJobs Result Modified Attribute Args] 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.
- object str
The database object that contains the sensitive column.
- object_
type str The type of the database object that contains the sensitive column.
- parent_
column_ Sequence[str]keys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- planned_
action str 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.
- relation_
type str 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.
- sample_
data_ Sequence[str]values 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.
- schema_
name str The database schema that contains the sensitive column.
- sensitive_
columnkey str The unique key that identifies the sensitive column represented by the discovery result.
- sensitive_
type_ strid The OCID of the sensitive type associated with the sensitive column.
- app
Defined List<String>Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app
Name 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.
- column
Name String The name of the sensitive column.
- data
Type String The data type of the sensitive column.
- db
Defined List<String>Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discovery
Job StringId The OCID of the discovery job.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- discovery
Type 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.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- estimated
Data StringValue Count The estimated number of data values the column has in the associated database.
- is
Result BooleanApplied 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.
- key String
The unique key that identifies the discovery result.
The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.
- modified
Attributes List<Property Map> 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.
- object String
The database object that contains the sensitive column.
- object
Type String The type of the database object that contains the sensitive column.
- parent
Column List<String>Keys Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- planned
Action 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.
- relation
Type 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.
- sample
Data List<String>Values 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.
- schema
Name String The database schema that contains the sensitive column.
- sensitive
Columnkey String The unique key that identifies the sensitive column represented by the discovery result.
- sensitive
Type StringId The OCID of the sensitive type associated with the sensitive column.
Supporting Types
DiscoveryJobsResultModifiedAttribute, DiscoveryJobsResultModifiedAttributeArgs
- App
Defined List<string>Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- Db
Defined List<string>Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- App
Defined []stringChild Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- Db
Defined []stringChild Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- app
Defined List<String>Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- db
Defined List<String>Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- app
Defined string[]Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- db
Defined string[]Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- app_
defined_ Sequence[str]child_ column_ keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- db_
defined_ Sequence[str]child_ column_ keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- app
Defined List<String>Child Column Keys Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- db
Defined List<String>Child Column Keys Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
Import
DiscoveryJobsResults can be imported using the id
, e.g.
$ pulumi import oci:DataSafe/discoveryJobsResult:DiscoveryJobsResult test_discovery_jobs_result "discoveryJobs/{discoveryJobId}/results/{resultKey}"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.