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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDiscoveryJobsResult = new oci.datasafe.DiscoveryJobsResult("test_discovery_jobs_result", {});
import pulumi
import pulumi_oci as oci
test_discovery_jobs_result = oci.data_safe.DiscoveryJobsResult("test_discovery_jobs_result")
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataSafe.NewDiscoveryJobsResult(ctx, "test_discovery_jobs_result", nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDiscoveryJobsResult = new Oci.DataSafe.DiscoveryJobsResult("test_discovery_jobs_result");
});
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");
}
}
resources:
testDiscoveryJobsResult:
type: oci:DataSafe:DiscoveryJobsResult
name: test_discovery_jobs_result
Create DiscoveryJobsResult Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DiscoveryJobsResult(name: string, args: DiscoveryJobsResultArgs, opts?: CustomResourceOptions);
@overload
def DiscoveryJobsResult(resource_name: str,
args: DiscoveryJobsResultArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DiscoveryJobsResult(resource_name: str,
opts: Optional[ResourceOptions] = None,
discovery_job_id: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var discoveryJobsResultResource = new Oci.DataSafe.DiscoveryJobsResult("discoveryJobsResultResource");
example, err := DataSafe.NewDiscoveryJobsResult(ctx, "discoveryJobsResultResource", nil)
var discoveryJobsResultResource = new DiscoveryJobsResult("discoveryJobsResultResource");
discovery_jobs_result_resource = oci.data_safe.DiscoveryJobsResult("discoveryJobsResultResource")
const discoveryJobsResultResource = new oci.datasafe.DiscoveryJobsResult("discoveryJobsResultResource", {});
type: oci:DataSafe:DiscoveryJobsResult
properties: {}
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DiscoveryJobsResult resource accepts the following input properties:
- Discovery
Job stringId - The OCID of the discovery job.
- Discovery
Job stringId - The OCID of the discovery job.
- discovery
Job StringId - The OCID of the discovery job.
- discovery
Job stringId - The OCID of the discovery job.
- discovery_
job_ strid - The OCID of the discovery job.
- discovery
Job StringId - The OCID of the discovery job.
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- modified_
attributes Sequence[datasafe.Discovery Jobs 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- modified_
attributes Sequence[datasafe.Discovery Jobs 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.
- 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.
- 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.
- 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}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.