AuditDetails
- class q2_sdk.hq.models.audit_details.AuditDetails[source]
Bases:
objectAudit Details class that is available on self.audit_details in AuditActionHandlers
- audit_id: int
AuditID from the Q2_Audit table
- audit_uuid: str
AuditUuid generated for the cloud system
- audit_action: str
Q2_AuditAction.ShortName for the ActionID associated with the Audit event
- start_date_time: str
DateTime of the Start of the Audit event
- workstation: str
Unique Identifier assigned to the device at time of session creation
- ui_source_id: int
UISourceID from the Q2_UISource table. (1 = OLB, 3 = Backoffice, 8 = Q2API)
- session_id: str
OLB SessionId associated with this audit event
- action_id: int
Q2_AuditAction.ID for the Audit event
- details: ObjectifiedElement | None
LXML ObjectifiedElement of audit event details
- error_return_code: str | None
Error Return code for the audit event (0 = Success). Error return codes are defined in the Q2_HydraErrorReturnCode table
- client_address: str
IP Address of the caller of HQ (generally Ardent or SDK extensions, not end user IP)
- hq_id: str
ID of HQ instance. Defined in the Q2_HydraIdentity table
- transaction_id: int
(Optional) If a transaction is associated with this event, this will the be ID to the Q2_GeneratedTransaction table.
- customer_id: int
Q2_Customer.CustomerID of Customer that triggered this audit event
- user_id: int
Q2_User.UserID of User that triggered this audit event
- user_logon_id: int
Q2_UserLogon.UserLogonID of Customer that triggered this audit event
- host_account_id: int
(Optional) If a Host Account is associated with this event, this will the be ID to the Q2_HostAccount table.
- end_date_time: int
DateTime of the end of the Audit event
- zone_id: int
ZoneID of the Group that the user who triggered the event is assigned to