AuditPolicyEntryDetails

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

Bases: EntryDetails

Audit policy details.

Attributes:

DATASAFE_USER_EXCLUSION_STATUS_EXCLUDED_FAILED

A constant which can be used with the datasafe_user_exclusion_status property of a AuditPolicyEntryDetails.

DATASAFE_USER_EXCLUSION_STATUS_EXCLUDED_SUCCESS

A constant which can be used with the datasafe_user_exclusion_status property of a AuditPolicyEntryDetails.

DATASAFE_USER_EXCLUSION_STATUS_NOT_EXCLUDED

A constant which can be used with the datasafe_user_exclusion_status property of a AuditPolicyEntryDetails.

ENTRY_TYPE_AUDIT_POLICY

A constant which can be used with the entry_type property of a EntryDetails.

ENTRY_TYPE_FIREWALL_POLICY

A constant which can be used with the entry_type property of a EntryDetails.

datasafe_user_exclusion_status

[Required] Gets the datasafe_user_exclusion_status of this AuditPolicyEntryDetails.

entry_type

[Required] Gets the entry_type of this EntryDetails.

exclude_datasafe_user_failure_msg

Gets the exclude_datasafe_user_failure_msg of this AuditPolicyEntryDetails.

Methods:

__init__(**kwargs)

Initializes a new AuditPolicyEntryDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

DATASAFE_USER_EXCLUSION_STATUS_EXCLUDED_FAILED = 'EXCLUDED_FAILED'

A constant which can be used with the datasafe_user_exclusion_status property of a AuditPolicyEntryDetails. This constant has a value of “EXCLUDED_FAILED”

DATASAFE_USER_EXCLUSION_STATUS_EXCLUDED_SUCCESS = 'EXCLUDED_SUCCESS'

A constant which can be used with the datasafe_user_exclusion_status property of a AuditPolicyEntryDetails. This constant has a value of “EXCLUDED_SUCCESS”

DATASAFE_USER_EXCLUSION_STATUS_NOT_EXCLUDED = 'NOT_EXCLUDED'

A constant which can be used with the datasafe_user_exclusion_status property of a AuditPolicyEntryDetails. This constant has a value of “NOT_EXCLUDED”

ENTRY_TYPE_AUDIT_POLICY = 'AUDIT_POLICY'

A constant which can be used with the entry_type property of a EntryDetails. This constant has a value of “AUDIT_POLICY”

ENTRY_TYPE_FIREWALL_POLICY = 'FIREWALL_POLICY'

A constant which can be used with the entry_type property of a EntryDetails. This constant has a value of “FIREWALL_POLICY”

__init__(**kwargs)

Initializes a new AuditPolicyEntryDetails object with values from keyword arguments. The default value of the entry_type attribute of this class is AUDIT_POLICY and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • entry_type (str) – The value to assign to the entry_type property of this AuditPolicyEntryDetails. Allowed values for this property are: “FIREWALL_POLICY”, “AUDIT_POLICY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • datasafe_user_exclusion_status (str) – The value to assign to the datasafe_user_exclusion_status property of this AuditPolicyEntryDetails. Allowed values for this property are: “EXCLUDED_SUCCESS”, “EXCLUDED_FAILED”, “NOT_EXCLUDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • exclude_datasafe_user_failure_msg (str) – The value to assign to the exclude_datasafe_user_failure_msg property of this AuditPolicyEntryDetails.

property datasafe_user_exclusion_status

[Required] Gets the datasafe_user_exclusion_status of this AuditPolicyEntryDetails. The status of Data Safe user exclusion in the audit policy.

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

Returns

The datasafe_user_exclusion_status of this AuditPolicyEntryDetails.

Return type

str

property entry_type

[Required] Gets the entry_type of this EntryDetails. The security policy entry type. Allowed values: - FIREWALL_POLICY - The SQL Firewall policy entry type. - AUDIT_POLICY - The audit policy entry type.

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

Returns

The entry_type of this EntryDetails.

Return type

str

property exclude_datasafe_user_failure_msg

Gets the exclude_datasafe_user_failure_msg of this AuditPolicyEntryDetails. Specifies why exclusion of the Data Safe user did not succeed.

Returns

The exclude_datasafe_user_failure_msg of this AuditPolicyEntryDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.