Skip to content

unitycatalog.audit

The classes of the audit API.

Classes

Name Description
AuditEvent One request that could change the catalog: a POST, PATCH, PUT or DELETE.
ListAuditEventsResponse  

class unitycatalog.audit.AuditEvent

One request that could change the catalog: a POST, PATCH, PUT or DELETE.

Attributes

  • id (str) – Unique identifier of the event.
  • method (str) – HTTP method of the request, such as POST or DELETE.
  • path (str) – Path of the request, with the query string.
  • principal (str) – Username of the principal that sent the request, or anonymous.
  • status (int) – HTTP status code of the response.
  • timestamp (int) – Time at which the response was sent, in epoch milliseconds.

class unitycatalog.audit.ListAuditEventsResponse

Attributes

  • events (list[AuditEvent]) – The events, newest first.
  • next_page_token (str | None) – Opaque token of the next page. Absent on the last page.