abacusai.audit_log

Classes

AuditLog

An audit log entry

Module Contents

class abacusai.audit_log.AuditLog(client, createdAt=None, userId=None, objectId=None, action=None, source=None, refreshPolicyId=None, pipelineId=None)

Bases: abacusai.return_class.AbstractApiClass

An audit log entry

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • createdAt (str) – The timestamp when the audit log entry was created

  • userId (str) – The hashed ID of the user who performed the action

  • objectId (str) – The hashed ID of the object that was affected by the action

  • action (str) – The action performed (create, modify, start, stop, delete, share, hide, credential_change, login)

  • source (str) – The source of the action (api, ui, pipeline, cli, system)

  • refreshPolicyId (str) – The hashed ID of the refresh policy if applicable

  • pipelineId (str) – The hashed ID of the pipeline if applicable

created_at = None
user_id = None
object_id = None
action = None
source = None
refresh_policy_id = None
pipeline_id = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict