StartAuditTrailDetails

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

Bases: object

The details used to start an audit trail.

Methods:

__init__(**kwargs)

Initializes a new StartAuditTrailDetails object with values from keyword arguments.

Attributes:

audit_collection_start_time

[Required] Gets the audit_collection_start_time of this StartAuditTrailDetails.

can_update_last_archive_time_on_target

Gets the can_update_last_archive_time_on_target of this StartAuditTrailDetails.

is_auto_purge_enabled

Gets the is_auto_purge_enabled of this StartAuditTrailDetails.

__init__(**kwargs)

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

Parameters
  • audit_collection_start_time (datetime) – The value to assign to the audit_collection_start_time property of this StartAuditTrailDetails.

  • is_auto_purge_enabled (bool) – The value to assign to the is_auto_purge_enabled property of this StartAuditTrailDetails.

  • can_update_last_archive_time_on_target (bool) – The value to assign to the can_update_last_archive_time_on_target property of this StartAuditTrailDetails.

property audit_collection_start_time

[Required] Gets the audit_collection_start_time of this StartAuditTrailDetails. The date from which the audit trail must start collecting data, in the format defined by RFC3339.

Returns

The audit_collection_start_time of this StartAuditTrailDetails.

Return type

datetime

property can_update_last_archive_time_on_target

Gets the can_update_last_archive_time_on_target of this StartAuditTrailDetails. Indicates if the Datasafe updates last archive time on target database. If isAutoPurgeEnabled field is enabled, this field must be true.

Returns

The can_update_last_archive_time_on_target of this StartAuditTrailDetails.

Return type

bool

property is_auto_purge_enabled

Gets the is_auto_purge_enabled of this StartAuditTrailDetails. Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database’s audit trail does not become too large.

Returns

The is_auto_purge_enabled of this StartAuditTrailDetails.

Return type

bool