SubsettingPolicyHealthReportLogSummary

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

Bases: object

A log entry related to the pre-subsetting health check.

Attributes:

HEALTH_CHECK_TYPE_ACTIVE_JOB_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_AUDIT_POLICY_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_CUSTOM_TABLESPACE_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_DATABASE_OR_SYSTEM_TRIGGERS_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_DV_ENABLE_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_INVALID_OBJECT_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_INVALID_PACKAGE_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_OLS_POLICY_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_PRIVILEGE_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_REDACTION_POLICY_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_STATE_STATS_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_SYSTEM_OBJECTS_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_TABLESPACE_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_TABLE_EXIST_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_TARGET_VALIDATION_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_TIME_TRAVEL_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_UNDO_TABLESPACE_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_VALID_RULES_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

HEALTH_CHECK_TYPE_VPD_POLICY_CHECK

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary.

MESSAGE_TYPE_ERROR

A constant which can be used with the message_type property of a SubsettingPolicyHealthReportLogSummary.

MESSAGE_TYPE_PASS

A constant which can be used with the message_type property of a SubsettingPolicyHealthReportLogSummary.

MESSAGE_TYPE_WARNING

A constant which can be used with the message_type property of a SubsettingPolicyHealthReportLogSummary.

description

[Required] Gets the description of this SubsettingPolicyHealthReportLogSummary.

health_check_type

Gets the health_check_type of this SubsettingPolicyHealthReportLogSummary.

message

[Required] Gets the message of this SubsettingPolicyHealthReportLogSummary.

message_type

[Required] Gets the message_type of this SubsettingPolicyHealthReportLogSummary.

remediation

Gets the remediation of this SubsettingPolicyHealthReportLogSummary.

timestamp

[Required] Gets the timestamp of this SubsettingPolicyHealthReportLogSummary.

Methods:

__init__(**kwargs)

Initializes a new SubsettingPolicyHealthReportLogSummary object with values from keyword arguments.

HEALTH_CHECK_TYPE_ACTIVE_JOB_CHECK = 'ACTIVE_JOB_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “ACTIVE_JOB_CHECK”

HEALTH_CHECK_TYPE_AUDIT_POLICY_CHECK = 'AUDIT_POLICY_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “AUDIT_POLICY_CHECK”

HEALTH_CHECK_TYPE_CUSTOM_TABLESPACE_CHECK = 'CUSTOM_TABLESPACE_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “CUSTOM_TABLESPACE_CHECK”

HEALTH_CHECK_TYPE_DATABASE_OR_SYSTEM_TRIGGERS_CHECK = 'DATABASE_OR_SYSTEM_TRIGGERS_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “DATABASE_OR_SYSTEM_TRIGGERS_CHECK”

HEALTH_CHECK_TYPE_DV_ENABLE_CHECK = 'DV_ENABLE_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “DV_ENABLE_CHECK”

HEALTH_CHECK_TYPE_INVALID_OBJECT_CHECK = 'INVALID_OBJECT_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “INVALID_OBJECT_CHECK”

HEALTH_CHECK_TYPE_INVALID_PACKAGE_CHECK = 'INVALID_PACKAGE_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “INVALID_PACKAGE_CHECK”

HEALTH_CHECK_TYPE_OLS_POLICY_CHECK = 'OLS_POLICY_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “OLS_POLICY_CHECK”

HEALTH_CHECK_TYPE_PRIVILEGE_CHECK = 'PRIVILEGE_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “PRIVILEGE_CHECK”

HEALTH_CHECK_TYPE_REDACTION_POLICY_CHECK = 'REDACTION_POLICY_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “REDACTION_POLICY_CHECK”

HEALTH_CHECK_TYPE_STATE_STATS_CHECK = 'STATE_STATS_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “STATE_STATS_CHECK”

HEALTH_CHECK_TYPE_SYSTEM_OBJECTS_CHECK = 'SYSTEM_OBJECTS_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “SYSTEM_OBJECTS_CHECK”

HEALTH_CHECK_TYPE_TABLESPACE_CHECK = 'TABLESPACE_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “TABLESPACE_CHECK”

HEALTH_CHECK_TYPE_TABLE_EXIST_CHECK = 'TABLE_EXIST_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “TABLE_EXIST_CHECK”

HEALTH_CHECK_TYPE_TARGET_VALIDATION_CHECK = 'TARGET_VALIDATION_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “TARGET_VALIDATION_CHECK”

HEALTH_CHECK_TYPE_TIME_TRAVEL_CHECK = 'TIME_TRAVEL_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “TIME_TRAVEL_CHECK”

HEALTH_CHECK_TYPE_UNDO_TABLESPACE_CHECK = 'UNDO_TABLESPACE_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “UNDO_TABLESPACE_CHECK”

HEALTH_CHECK_TYPE_VALID_RULES_CHECK = 'VALID_RULES_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “VALID_RULES_CHECK”

HEALTH_CHECK_TYPE_VPD_POLICY_CHECK = 'VPD_POLICY_CHECK'

A constant which can be used with the health_check_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “VPD_POLICY_CHECK”

MESSAGE_TYPE_ERROR = 'ERROR'

A constant which can be used with the message_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “ERROR”

MESSAGE_TYPE_PASS = 'PASS'

A constant which can be used with the message_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “PASS”

MESSAGE_TYPE_WARNING = 'WARNING'

A constant which can be used with the message_type property of a SubsettingPolicyHealthReportLogSummary. This constant has a value of “WARNING”

__init__(**kwargs)

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

Parameters
  • message_type (str) – The value to assign to the message_type property of this SubsettingPolicyHealthReportLogSummary. Allowed values for this property are: “PASS”, “WARNING”, “ERROR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • timestamp (datetime) – The value to assign to the timestamp property of this SubsettingPolicyHealthReportLogSummary.

  • message (str) – The value to assign to the message property of this SubsettingPolicyHealthReportLogSummary.

  • remediation (str) – The value to assign to the remediation property of this SubsettingPolicyHealthReportLogSummary.

  • description (str) – The value to assign to the description property of this SubsettingPolicyHealthReportLogSummary.

  • health_check_type (str) – The value to assign to the health_check_type property of this SubsettingPolicyHealthReportLogSummary. Allowed values for this property are: “INVALID_OBJECT_CHECK”, “PRIVILEGE_CHECK”, “TABLESPACE_CHECK”, “DATABASE_OR_SYSTEM_TRIGGERS_CHECK”, “UNDO_TABLESPACE_CHECK”, “STATE_STATS_CHECK”, “OLS_POLICY_CHECK”, “VPD_POLICY_CHECK”, “DV_ENABLE_CHECK”, “REDACTION_POLICY_CHECK”, “ACTIVE_JOB_CHECK”, “TARGET_VALIDATION_CHECK”, “TABLE_EXIST_CHECK”, “TIME_TRAVEL_CHECK”, “SYSTEM_OBJECTS_CHECK”, “INVALID_PACKAGE_CHECK”, “AUDIT_POLICY_CHECK”, “VALID_RULES_CHECK”, “CUSTOM_TABLESPACE_CHECK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property description

[Required] Gets the description of this SubsettingPolicyHealthReportLogSummary. A human-readable description for the log entry.

Returns

The description of this SubsettingPolicyHealthReportLogSummary.

Return type

str

property health_check_type

Gets the health_check_type of this SubsettingPolicyHealthReportLogSummary. An enum type entry for each health check in the subsetting policy. Each enum describes a type of health check. INVALID_OBJECT_CHECK checks if there exist any invalid objects in the subsetting tables. PRIVILEGE_CHECK checks if the subsetting user has sufficient privilege to run subsetting. TABLESPACE_CHECK checks if the user has sufficient default and TEMP tablespace. Also verifies that the specified tablespace by the user is valid, if user has provided one DATABASE_OR_SYSTEM_TRIGGERS_CHECK checks if there exist any database/system triggers available. UNDO_TABLESPACE_CHECK checks if for all the instances of undo tablespace the AUTOEXTEND feature is enabled. If it’s not enabled, it further checks if the undo tablespace has any space remaining. STATE_STATS_CHECK checks if all the statistics of the subsetting table is upto date or not. OLS_POLICY_CHECK , VPD_POLICY_CHECK and REDACTION_POLICY_CHECK checks if the subsetting tables has Oracle Label Security (OLS) or Virtual Private Database (VPD) or Redaction policies enabled. DV_ENABLE_CHECK checks if database has Database Vault(DV) enabled ACTIVE_JOB_CHECK checks if there is any active subsetting job running on the target database. TABLE_EXIST_CHECK checks if the subsetting tables are available in the target database. TIME_TRAVEL_CHECK checks if the subsetting tables have Time Travel enabled. SYSTEM_OBJECTS_CHECK checks if the subsetting tables have dependent objects present in SYS schema. INVALID_PACKAGE_CHECK checks if any of the required packages are in invalid state. AUDIT_POLICY_CHECK checks if the subsetting tables have Audit policies enabled. VALID_RULES_CHECK if the subsetting rules on the tables are valid. CUSTOM_TABLESPACE_CHECK runs only when a custom tablespace is specified for the subsetting job. It checks if each policy schema can allocate space in that tablespace.

Allowed values for this property are: “INVALID_OBJECT_CHECK”, “PRIVILEGE_CHECK”, “TABLESPACE_CHECK”, “DATABASE_OR_SYSTEM_TRIGGERS_CHECK”, “UNDO_TABLESPACE_CHECK”, “STATE_STATS_CHECK”, “OLS_POLICY_CHECK”, “VPD_POLICY_CHECK”, “DV_ENABLE_CHECK”, “REDACTION_POLICY_CHECK”, “ACTIVE_JOB_CHECK”, “TARGET_VALIDATION_CHECK”, “TABLE_EXIST_CHECK”, “TIME_TRAVEL_CHECK”, “SYSTEM_OBJECTS_CHECK”, “INVALID_PACKAGE_CHECK”, “AUDIT_POLICY_CHECK”, “VALID_RULES_CHECK”, “CUSTOM_TABLESPACE_CHECK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The health_check_type of this SubsettingPolicyHealthReportLogSummary.

Return type

str

property message

[Required] Gets the message of this SubsettingPolicyHealthReportLogSummary. A human-readable log entry.

Returns

The message of this SubsettingPolicyHealthReportLogSummary.

Return type

str

property message_type

[Required] Gets the message_type of this SubsettingPolicyHealthReportLogSummary. The log entry type.

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

Returns

The message_type of this SubsettingPolicyHealthReportLogSummary.

Return type

str

property remediation

Gets the remediation of this SubsettingPolicyHealthReportLogSummary. A human-readable log entry to remedy any error or warnings in the subsetting policy.

Returns

The remediation of this SubsettingPolicyHealthReportLogSummary.

Return type

str

property timestamp

[Required] Gets the timestamp of this SubsettingPolicyHealthReportLogSummary. The date and time the log entry was created, in the format defined by RFC3339.

Returns

The timestamp of this SubsettingPolicyHealthReportLogSummary.

Return type

datetime