oci logo
Oracle Cloud Infrastructure v0.13.0, Mar 28 23

oci.DataSafe.DiscoveryJobsResult

Deprecated. This resource does not support create and update operations.

This resource provides the Discovery Jobs Result resource in Oracle Cloud Infrastructure Data Safe service.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDiscoveryJobsResult = new Oci.DataSafe.DiscoveryJobsResult("testDiscoveryJobsResult");

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DataSafe.NewDiscoveryJobsResult(ctx, "testDiscoveryJobsResult", nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DiscoveryJobsResult;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var testDiscoveryJobsResult = new DiscoveryJobsResult("testDiscoveryJobsResult");

    }
}
import pulumi
import pulumi_oci as oci

test_discovery_jobs_result = oci.data_safe.DiscoveryJobsResult("testDiscoveryJobsResult")
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDiscoveryJobsResult = new oci.datasafe.DiscoveryJobsResult("testDiscoveryJobsResult", {});
resources:
  testDiscoveryJobsResult:
    type: oci:DataSafe:DiscoveryJobsResult

Create DiscoveryJobsResult Resource

new DiscoveryJobsResult(name: string, args: DiscoveryJobsResultArgs, opts?: CustomResourceOptions);
@overload
def DiscoveryJobsResult(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        discovery_job_id: Optional[str] = None)
@overload
def DiscoveryJobsResult(resource_name: str,
                        args: DiscoveryJobsResultArgs,
                        opts: Optional[ResourceOptions] = None)
func NewDiscoveryJobsResult(ctx *Context, name string, args DiscoveryJobsResultArgs, opts ...ResourceOption) (*DiscoveryJobsResult, error)
public DiscoveryJobsResult(string name, DiscoveryJobsResultArgs args, CustomResourceOptions? opts = null)
public DiscoveryJobsResult(String name, DiscoveryJobsResultArgs args)
public DiscoveryJobsResult(String name, DiscoveryJobsResultArgs args, CustomResourceOptions options)
type: oci:DataSafe:DiscoveryJobsResult
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DiscoveryJobsResultArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DiscoveryJobsResultArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DiscoveryJobsResultArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DiscoveryJobsResultArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DiscoveryJobsResultArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DiscoveryJobsResult Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DiscoveryJobsResult resource accepts the following input properties:

DiscoveryJobId string

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

DiscoveryJobId string

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

discoveryJobId String

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

discoveryJobId string

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

discovery_job_id str

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

discoveryJobId String

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

Outputs

All input properties are implicitly available as output properties. Additionally, the DiscoveryJobsResult resource produces the following output properties:

AppDefinedChildColumnKeys List<string>

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.

DbDefinedChildColumnKeys List<string>

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

EstimatedDataValueCount string

The estimated number of data values the column has in the associated database.

Id string

The provider-assigned unique ID for this managed resource.

IsResultApplied bool

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

ModifiedAttributes List<DiscoveryJobsResultModifiedAttribute>

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.

ParentColumnKeys List<string>

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.

SampleDataValues List<string>

Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.

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.

SensitiveTypeId string

The OCID of the sensitive type associated with the sensitive column.

AppDefinedChildColumnKeys []string

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.

DbDefinedChildColumnKeys []string

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

EstimatedDataValueCount string

The estimated number of data values the column has in the associated database.

Id string

The provider-assigned unique ID for this managed resource.

IsResultApplied bool

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

ModifiedAttributes []DiscoveryJobsResultModifiedAttribute

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.

ParentColumnKeys []string

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.

SampleDataValues []string

Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.

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.

SensitiveTypeId string

The OCID of the sensitive type associated with the sensitive column.

appDefinedChildColumnKeys List<String>

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.

dbDefinedChildColumnKeys List<String>

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

estimatedDataValueCount String

The estimated number of data values the column has in the associated database.

id String

The provider-assigned unique ID for this managed resource.

isResultApplied Boolean

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

modifiedAttributes List<DiscoveryJobsResultModifiedAttribute>

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.

parentColumnKeys List<String>

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.

sampleDataValues List<String>

Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.

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.

sensitiveTypeId String

The OCID of the sensitive type associated with the sensitive column.

appDefinedChildColumnKeys string[]

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.

dbDefinedChildColumnKeys string[]

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

estimatedDataValueCount string

The estimated number of data values the column has in the associated database.

id string

The provider-assigned unique ID for this managed resource.

isResultApplied boolean

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

modifiedAttributes DiscoveryJobsResultModifiedAttribute[]

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.

parentColumnKeys string[]

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.

sampleDataValues string[]

Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.

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.

sensitiveTypeId string

The OCID of the sensitive type associated with the sensitive column.

app_defined_child_column_keys Sequence[str]

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_child_column_keys Sequence[str]

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

estimated_data_value_count str

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_applied bool

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

modified_attributes DiscoveryJobsResultModifiedAttribute]

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_keys Sequence[str]

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_values Sequence[str]

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_id str

The OCID of the sensitive type associated with the sensitive column.

appDefinedChildColumnKeys List<String>

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.

dbDefinedChildColumnKeys List<String>

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

estimatedDataValueCount String

The estimated number of data values the column has in the associated database.

id String

The provider-assigned unique ID for this managed resource.

isResultApplied Boolean

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

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.

parentColumnKeys List<String>

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.

sampleDataValues List<String>

Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.

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.

sensitiveTypeId String

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.
The following state arguments are supported:
AppDefinedChildColumnKeys List<string>

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.

DbDefinedChildColumnKeys List<string>

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

DiscoveryJobId string

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

EstimatedDataValueCount string

The estimated number of data values the column has in the associated database.

IsResultApplied bool

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

ModifiedAttributes List<DiscoveryJobsResultModifiedAttributeArgs>

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.

ParentColumnKeys List<string>

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.

SampleDataValues List<string>

Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.

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.

SensitiveTypeId string

The OCID of the sensitive type associated with the sensitive column.

AppDefinedChildColumnKeys []string

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.

DbDefinedChildColumnKeys []string

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

DiscoveryJobId string

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

EstimatedDataValueCount string

The estimated number of data values the column has in the associated database.

IsResultApplied bool

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

ModifiedAttributes []DiscoveryJobsResultModifiedAttributeArgs

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.

ParentColumnKeys []string

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.

SampleDataValues []string

Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.

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.

SensitiveTypeId string

The OCID of the sensitive type associated with the sensitive column.

appDefinedChildColumnKeys List<String>

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.

dbDefinedChildColumnKeys List<String>

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

discoveryJobId String

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

estimatedDataValueCount String

The estimated number of data values the column has in the associated database.

isResultApplied Boolean

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

modifiedAttributes List<DiscoveryJobsResultModifiedAttributeArgs>

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.

parentColumnKeys List<String>

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.

sampleDataValues List<String>

Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.

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.

sensitiveTypeId String

The OCID of the sensitive type associated with the sensitive column.

appDefinedChildColumnKeys string[]

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.

dbDefinedChildColumnKeys string[]

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

discoveryJobId string

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

estimatedDataValueCount string

The estimated number of data values the column has in the associated database.

isResultApplied boolean

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

modifiedAttributes DiscoveryJobsResultModifiedAttributeArgs[]

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.

parentColumnKeys string[]

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.

sampleDataValues string[]

Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.

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.

sensitiveTypeId string

The OCID of the sensitive type associated with the sensitive column.

app_defined_child_column_keys Sequence[str]

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_child_column_keys Sequence[str]

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

discovery_job_id str

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

discovery_type str

The type of the discovery result. It can be one of the following three types: NEW: A new sensitive column in the target database that is not in the sensitive data model. DELETED: A column that is present in the sensitive data model but has been deleted from the target database. MODIFIED: A column that is present in the target database as well as the sensitive data model but some of its attributes have been modified.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

estimated_data_value_count str

The estimated number of data values the column has in the associated database.

is_result_applied bool

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

modified_attributes DiscoveryJobsResultModifiedAttributeArgs]

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_keys Sequence[str]

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_values Sequence[str]

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_id str

The OCID of the sensitive type associated with the sensitive column.

appDefinedChildColumnKeys List<String>

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.

dbDefinedChildColumnKeys List<String>

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

discoveryJobId String

The OCID of the discovery job.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

estimatedDataValueCount String

The estimated number of data values the column has in the associated database.

isResultApplied Boolean

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.

Deprecated:

The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.

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.

parentColumnKeys List<String>

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.

sampleDataValues List<String>

Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.

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.

sensitiveTypeId String

The OCID of the sensitive type associated with the sensitive column.

Supporting Types

DiscoveryJobsResultModifiedAttribute

AppDefinedChildColumnKeys List<string>

Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.

DbDefinedChildColumnKeys List<string>

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

AppDefinedChildColumnKeys []string

Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.

DbDefinedChildColumnKeys []string

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

appDefinedChildColumnKeys List<String>

Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.

dbDefinedChildColumnKeys List<String>

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

appDefinedChildColumnKeys string[]

Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.

dbDefinedChildColumnKeys string[]

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

app_defined_child_column_keys Sequence[str]

Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.

db_defined_child_column_keys Sequence[str]

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

appDefinedChildColumnKeys List<String>

Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.

dbDefinedChildColumnKeys List<String>

Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.

Import

DiscoveryJobsResults can be imported using the id, e.g.

 $ pulumi import oci:DataSafe/discoveryJobsResult:DiscoveryJobsResult test_discovery_jobs_result "discoveryJobs/{discoveryJobId}/results/{resultKey}"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.