ProvisionAuditConditions

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

Bases: object

Represents audit policies with corresponding audit provisioning conditions.

Methods:

__init__(**kwargs)

Initializes a new ProvisionAuditConditions object with values from keyword arguments.

Attributes:

audit_policy_name

[Required] Gets the audit_policy_name of this ProvisionAuditConditions.

enable_conditions

Gets the enable_conditions of this ProvisionAuditConditions.

is_enabled

[Required] Gets the is_enabled of this ProvisionAuditConditions.

is_priv_users_managed_by_data_safe

[Required] Gets the is_priv_users_managed_by_data_safe of this ProvisionAuditConditions.

__init__(**kwargs)

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

Parameters
  • audit_policy_name (str) – The value to assign to the audit_policy_name property of this ProvisionAuditConditions.

  • is_priv_users_managed_by_data_safe (bool) – The value to assign to the is_priv_users_managed_by_data_safe property of this ProvisionAuditConditions.

  • is_enabled (bool) – The value to assign to the is_enabled property of this ProvisionAuditConditions.

  • enable_conditions (list[oci.data_safe.models.EnableConditions]) – The value to assign to the enable_conditions property of this ProvisionAuditConditions.

property audit_policy_name

[Required] Gets the audit_policy_name of this ProvisionAuditConditions. Indicates the audit policy name available for provisioning from Data Safe. Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

Returns

The audit_policy_name of this ProvisionAuditConditions.

Return type

str

property enable_conditions

Gets the enable_conditions of this ProvisionAuditConditions. Indicates the users/roles in the target database for which the audit policy will be enforced, and the success/failure event condition to generate the audit event.

Returns

The enable_conditions of this ProvisionAuditConditions.

Return type

list[oci.data_safe.models.EnableConditions]

property is_enabled

[Required] Gets the is_enabled of this ProvisionAuditConditions. Indicates whether the policy has to be enabled or disabled in the target database. Set this to true if you want the audit policy to be enabled in the target database. If the seeded audit policy is not already created in the database, the provisioning creates and enables them. If this is set to false, the policy will be disabled in the target database.

Returns

The is_enabled of this ProvisionAuditConditions.

Return type

bool

property is_priv_users_managed_by_data_safe

[Required] Gets the is_priv_users_managed_by_data_safe of this ProvisionAuditConditions. Indicates whether the privileged user list is managed by Data Safe.

Returns

The is_priv_users_managed_by_data_safe of this ProvisionAuditConditions.

Return type

bool