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.
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.
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
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