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:
- DiscoveryJob stringId 
- The OCID of the discovery job.
- DiscoveryJob stringId 
- The OCID of the discovery job.
- discoveryJob StringId 
- The OCID of the discovery job.
- discoveryJob stringId 
- The OCID of the discovery job.
- discovery_job_ strid 
- The OCID of the discovery job.
- discoveryJob 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:
- AppDefined List<string>Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- AppName 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.
- ColumnName string
- The name of the sensitive column.
- DataType string
- The data type of the sensitive column.
- DbDefined List<string>Child Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- DiscoveryType 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.
- EstimatedData 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.
- IsResult 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.
- ModifiedAttributes 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.
- ObjectType string
- The type of the database object that contains the sensitive column.
- ParentColumn List<string>Keys 
- Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- PlannedAction 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.
- RelationType 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.
- SampleData 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.
- SchemaName string
- The database schema that contains the sensitive column.
- SensitiveColumnkey string
- The unique key that identifies the sensitive column represented by the discovery result.
- SensitiveType stringId 
- The OCID of the sensitive type associated with the sensitive column.
- AppDefined []stringChild Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- AppName 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.
- ColumnName string
- The name of the sensitive column.
- DataType string
- The data type of the sensitive column.
- DbDefined []stringChild Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- DiscoveryType 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.
- EstimatedData 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.
- IsResult 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.
- ModifiedAttributes []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.
- ObjectType string
- The type of the database object that contains the sensitive column.
- ParentColumn []stringKeys 
- Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- PlannedAction 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.
- RelationType 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.
- SampleData []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.
- SchemaName string
- The database schema that contains the sensitive column.
- SensitiveColumnkey string
- The unique key that identifies the sensitive column represented by the discovery result.
- SensitiveType stringId 
- The OCID of the sensitive type associated with the sensitive column.
- appDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- appName 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.
- columnName String
- The name of the sensitive column.
- dataType String
- The data type of the sensitive column.
- dbDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discoveryType 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.
- estimatedData 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.
- isResult 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.
- modifiedAttributes 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.
- objectType String
- The type of the database object that contains the sensitive column.
- parentColumn List<String>Keys 
- Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- plannedAction 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.
- relationType 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.
- sampleData 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.
- schemaName String
- The database schema that contains the sensitive column.
- sensitiveColumnkey String
- The unique key that identifies the sensitive column represented by the discovery result.
- sensitiveType StringId 
- The OCID of the sensitive type associated with the sensitive column.
- appDefined string[]Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- appName 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.
- columnName string
- The name of the sensitive column.
- dataType string
- The data type of the sensitive column.
- dbDefined string[]Child Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discoveryType 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.
- estimatedData 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.
- isResult 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.
- modifiedAttributes 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.
- objectType string
- The type of the database object that contains the sensitive column.
- parentColumn string[]Keys 
- Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- plannedAction 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.
- relationType 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.
- sampleData 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.
- schemaName string
- The database schema that contains the sensitive column.
- sensitiveColumnkey string
- The unique key that identifies the sensitive column represented by the discovery result.
- sensitiveType 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[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.
- appDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- appName 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.
- columnName String
- The name of the sensitive column.
- dataType String
- The data type of the sensitive column.
- dbDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discoveryType 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.
- estimatedData 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.
- isResult 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.
- modifiedAttributes 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.
- objectType String
- The type of the database object that contains the sensitive column.
- parentColumn List<String>Keys 
- Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- plannedAction 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.
- relationType 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.
- sampleData 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.
- schemaName String
- The database schema that contains the sensitive column.
- sensitiveColumnkey String
- The unique key that identifies the sensitive column represented by the discovery result.
- sensitiveType 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[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) -> DiscoveryJobsResultfunc 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)resources:  _:    type: oci:DataSafe:DiscoveryJobsResult    get:      id: ${id}- 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.
- AppDefined List<string>Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- AppName 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.
- ColumnName string
- The name of the sensitive column.
- DataType string
- The data type of the sensitive column.
- DbDefined List<string>Child Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- DiscoveryJob stringId 
- The OCID of the discovery job.
- DiscoveryType 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.
- EstimatedData stringValue Count 
- The estimated number of data values the column has in the associated database.
- IsResult 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.
- ModifiedAttributes 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.
- ObjectType string
- The type of the database object that contains the sensitive column.
- ParentColumn List<string>Keys 
- Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- PlannedAction 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.
- RelationType 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.
- SampleData 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.
- SchemaName string
- The database schema that contains the sensitive column.
- SensitiveColumnkey string
- The unique key that identifies the sensitive column represented by the discovery result.
- SensitiveType stringId 
- The OCID of the sensitive type associated with the sensitive column.
- AppDefined []stringChild Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- AppName 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.
- ColumnName string
- The name of the sensitive column.
- DataType string
- The data type of the sensitive column.
- DbDefined []stringChild Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- DiscoveryJob stringId 
- The OCID of the discovery job.
- DiscoveryType 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.
- EstimatedData stringValue Count 
- The estimated number of data values the column has in the associated database.
- IsResult 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.
- ModifiedAttributes []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.
- ObjectType string
- The type of the database object that contains the sensitive column.
- ParentColumn []stringKeys 
- Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- PlannedAction 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.
- RelationType 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.
- SampleData []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.
- SchemaName string
- The database schema that contains the sensitive column.
- SensitiveColumnkey string
- The unique key that identifies the sensitive column represented by the discovery result.
- SensitiveType stringId 
- The OCID of the sensitive type associated with the sensitive column.
- appDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- appName 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.
- columnName String
- The name of the sensitive column.
- dataType String
- The data type of the sensitive column.
- dbDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discoveryJob StringId 
- The OCID of the discovery job.
- discoveryType 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.
- estimatedData StringValue Count 
- The estimated number of data values the column has in the associated database.
- isResult 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.
- modifiedAttributes 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.
- objectType String
- The type of the database object that contains the sensitive column.
- parentColumn List<String>Keys 
- Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- plannedAction 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.
- relationType 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.
- sampleData 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.
- schemaName String
- The database schema that contains the sensitive column.
- sensitiveColumnkey String
- The unique key that identifies the sensitive column represented by the discovery result.
- sensitiveType StringId 
- The OCID of the sensitive type associated with the sensitive column.
- appDefined string[]Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- appName 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.
- columnName string
- The name of the sensitive column.
- dataType string
- The data type of the sensitive column.
- dbDefined string[]Child Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discoveryJob stringId 
- The OCID of the discovery job.
- discoveryType 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.
- estimatedData stringValue Count 
- The estimated number of data values the column has in the associated database.
- isResult 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.
- modifiedAttributes 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.
- objectType string
- The type of the database object that contains the sensitive column.
- parentColumn string[]Keys 
- Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- plannedAction 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.
- relationType 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.
- sampleData 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.
- schemaName string
- The database schema that contains the sensitive column.
- sensitiveColumnkey string
- The unique key that identifies the sensitive column represented by the discovery result.
- sensitiveType 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[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.
- appDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- appName 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.
- columnName String
- The name of the sensitive column.
- dataType String
- The data type of the sensitive column.
- dbDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- discoveryJob StringId 
- The OCID of the discovery job.
- discoveryType 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.
- estimatedData StringValue Count 
- The estimated number of data values the column has in the associated database.
- isResult 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.
- modifiedAttributes 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.
- objectType String
- The type of the database object that contains the sensitive column.
- parentColumn List<String>Keys 
- Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- plannedAction 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.
- relationType 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.
- sampleData 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.
- schemaName String
- The database schema that contains the sensitive column.
- sensitiveColumnkey String
- The unique key that identifies the sensitive column represented by the discovery result.
- sensitiveType StringId 
- The OCID of the sensitive type associated with the sensitive column.
Supporting Types
DiscoveryJobsResultModifiedAttribute, DiscoveryJobsResultModifiedAttributeArgs          
- AppDefined List<string>Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- DbDefined List<string>Child Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- AppDefined []stringChild Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- DbDefined []stringChild Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- appDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- dbDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- appDefined string[]Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- dbDefined 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.
- appDefined List<String>Child Column Keys 
- Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- dbDefined 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 ociTerraform Provider.