DiscoveryJobResultSummary

class oci.data_safe.models.DiscoveryJobResultSummary(**kwargs)

Bases: object

Summary of a discovery job result.

Attributes

OBJECT_TYPE_EDITIONING_VIEW A constant which can be used with the object_type property of a DiscoveryJobResultSummary.
OBJECT_TYPE_TABLE A constant which can be used with the object_type property of a DiscoveryJobResultSummary.
RELATION_TYPE_APP_DEFINED A constant which can be used with the relation_type property of a DiscoveryJobResultSummary.
RELATION_TYPE_DB_DEFINED A constant which can be used with the relation_type property of a DiscoveryJobResultSummary.
RELATION_TYPE_NONE A constant which can be used with the relation_type property of a DiscoveryJobResultSummary.
column_name [Required] Gets the column_name of this DiscoveryJobResultSummary.
data_type [Required] Gets the data_type of this DiscoveryJobResultSummary.
discovery_job_id [Required] Gets the discovery_job_id of this DiscoveryJobResultSummary.
discovery_type [Required] Gets the discovery_type of this DiscoveryJobResultSummary.
estimated_data_value_count [Required] Gets the estimated_data_value_count of this DiscoveryJobResultSummary.
is_result_applied [Required] Gets the is_result_applied of this DiscoveryJobResultSummary.
key [Required] Gets the key of this DiscoveryJobResultSummary.
object_name [Required] Gets the object_name of this DiscoveryJobResultSummary.
object_type [Required] Gets the object_type of this DiscoveryJobResultSummary.
parent_column_keys Gets the parent_column_keys of this DiscoveryJobResultSummary.
planned_action [Required] Gets the planned_action of this DiscoveryJobResultSummary.
relation_type [Required] Gets the relation_type of this DiscoveryJobResultSummary.
sample_data_values Gets the sample_data_values of this DiscoveryJobResultSummary.
schema_name [Required] Gets the schema_name of this DiscoveryJobResultSummary.
sensitive_columnkey Gets the sensitive_columnkey of this DiscoveryJobResultSummary.
sensitive_type_id Gets the sensitive_type_id of this DiscoveryJobResultSummary.

Methods

__init__(**kwargs) Initializes a new DiscoveryJobResultSummary object with values from keyword arguments.
OBJECT_TYPE_EDITIONING_VIEW = 'EDITIONING_VIEW'

A constant which can be used with the object_type property of a DiscoveryJobResultSummary. This constant has a value of “EDITIONING_VIEW”

OBJECT_TYPE_TABLE = 'TABLE'

A constant which can be used with the object_type property of a DiscoveryJobResultSummary. This constant has a value of “TABLE”

RELATION_TYPE_APP_DEFINED = 'APP_DEFINED'

A constant which can be used with the relation_type property of a DiscoveryJobResultSummary. This constant has a value of “APP_DEFINED”

RELATION_TYPE_DB_DEFINED = 'DB_DEFINED'

A constant which can be used with the relation_type property of a DiscoveryJobResultSummary. This constant has a value of “DB_DEFINED”

RELATION_TYPE_NONE = 'NONE'

A constant which can be used with the relation_type property of a DiscoveryJobResultSummary. This constant has a value of “NONE”

__init__(**kwargs)

Initializes a new DiscoveryJobResultSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this DiscoveryJobResultSummary.
  • discovery_type (str) – The value to assign to the discovery_type property of this DiscoveryJobResultSummary.
  • sensitive_columnkey (str) – The value to assign to the sensitive_columnkey property of this DiscoveryJobResultSummary.
  • schema_name (str) – The value to assign to the schema_name property of this DiscoveryJobResultSummary.
  • object_name (str) – The value to assign to the object_name property of this DiscoveryJobResultSummary.
  • column_name (str) – The value to assign to the column_name property of this DiscoveryJobResultSummary.
  • object_type (str) – The value to assign to the object_type property of this DiscoveryJobResultSummary. Allowed values for this property are: “TABLE”, “EDITIONING_VIEW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • data_type (str) – The value to assign to the data_type property of this DiscoveryJobResultSummary.
  • sensitive_type_id (str) – The value to assign to the sensitive_type_id property of this DiscoveryJobResultSummary.
  • parent_column_keys (list[str]) – The value to assign to the parent_column_keys property of this DiscoveryJobResultSummary.
  • relation_type (str) – The value to assign to the relation_type property of this DiscoveryJobResultSummary. Allowed values for this property are: “NONE”, “APP_DEFINED”, “DB_DEFINED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • estimated_data_value_count (int) – The value to assign to the estimated_data_value_count property of this DiscoveryJobResultSummary.
  • sample_data_values (list[str]) – The value to assign to the sample_data_values property of this DiscoveryJobResultSummary.
  • planned_action (str) – The value to assign to the planned_action property of this DiscoveryJobResultSummary.
  • is_result_applied (bool) – The value to assign to the is_result_applied property of this DiscoveryJobResultSummary.
  • discovery_job_id (str) – The value to assign to the discovery_job_id property of this DiscoveryJobResultSummary.
column_name

[Required] Gets the column_name of this DiscoveryJobResultSummary. The name of the sensitive column.

Returns:The column_name of this DiscoveryJobResultSummary.
Return type:str
data_type

[Required] Gets the data_type of this DiscoveryJobResultSummary. The data type of the sensitive column.

Returns:The data_type of this DiscoveryJobResultSummary.
Return type:str
discovery_job_id

[Required] Gets the discovery_job_id of this DiscoveryJobResultSummary. The OCID of the discovery job.

Returns:The discovery_job_id of this DiscoveryJobResultSummary.
Return type:str
discovery_type

[Required] Gets the discovery_type of this DiscoveryJobResultSummary. 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.

Returns:The discovery_type of this DiscoveryJobResultSummary.
Return type:str
estimated_data_value_count

[Required] Gets the estimated_data_value_count of this DiscoveryJobResultSummary. The estimated number of data values the column has in the associated database.

Returns:The estimated_data_value_count of this DiscoveryJobResultSummary.
Return type:int
is_result_applied

[Required] Gets the is_result_applied of this DiscoveryJobResultSummary. Indicates whether 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.

Returns:The is_result_applied of this DiscoveryJobResultSummary.
Return type:bool
key

[Required] Gets the key of this DiscoveryJobResultSummary. The unique key that identifies the discovery result.

Returns:The key of this DiscoveryJobResultSummary.
Return type:str
object_name

[Required] Gets the object_name of this DiscoveryJobResultSummary. The database object that contains the sensitive column.

Returns:The object_name of this DiscoveryJobResultSummary.
Return type:str
object_type

[Required] Gets the object_type of this DiscoveryJobResultSummary. The type of the database object that contains the sensitive column.

Allowed values for this property are: “TABLE”, “EDITIONING_VIEW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The object_type of this DiscoveryJobResultSummary.
Return type:str
parent_column_keys

Gets the parent_column_keys of this DiscoveryJobResultSummary. Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.

Returns:The parent_column_keys of this DiscoveryJobResultSummary.
Return type:list[str]
planned_action

[Required] Gets the planned_action of this DiscoveryJobResultSummary. 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.

Returns:The planned_action of this DiscoveryJobResultSummary.
Return type:str
relation_type

[Required] Gets the relation_type of this DiscoveryJobResultSummary. 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.

Allowed values for this property are: “NONE”, “APP_DEFINED”, “DB_DEFINED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The relation_type of this DiscoveryJobResultSummary.
Return type:str
sample_data_values

Gets the sample_data_values of this DiscoveryJobResultSummary. 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.

Returns:The sample_data_values of this DiscoveryJobResultSummary.
Return type:list[str]
schema_name

[Required] Gets the schema_name of this DiscoveryJobResultSummary. The database schema that contains the sensitive column.

Returns:The schema_name of this DiscoveryJobResultSummary.
Return type:str
sensitive_columnkey

Gets the sensitive_columnkey of this DiscoveryJobResultSummary. The unique key that identifies the sensitive column represented by the discovery result.

Returns:The sensitive_columnkey of this DiscoveryJobResultSummary.
Return type:str
sensitive_type_id

Gets the sensitive_type_id of this DiscoveryJobResultSummary. The OCID of the sensitive type associated with the sensitive column.

Returns:The sensitive_type_id of this DiscoveryJobResultSummary.
Return type:str