Hanzo

Audit

Package auditlog is your org's tamper-evident audit trail: every security-relevant event, hash-chained and readable.

Package auditlog is your org's tamper-evident audit trail: every security-relevant event, hash-chained and readable.

Base URLhttps://api.hanzo.ai
Operations1
AuthAuthorization: Bearer $HANZO_API_KEY

audit

List reads the caller's OWN org audit trail, newest first, with the total the filter matched so a console can page it.

GET /v1/audit

List reads the caller's OWN org audit trail, newest first, with the total the filter matched so a console can page it.

Every filter is optional and applies WITHIN the caller's org — the org itself is the validated principal's and can never be widened by a request. Fails closed: an absent principal is a true "not signed in" (401), and a deployment with no local tamper-evident store answers an honest 501 rather than silently serving somebody else's trail.

ParameterInTypeRequiredDescription
subquerystringSub narrows the trail to one actor — the validated subject that made the request.
actionquerystringAction narrows it to one action name, e.g.
resourcequerystringResource narrows it to one resource TYPE, e.g.
resourceIdquerystringResourceID narrows it to one resource instance.
resultquerystringResult narrows it to one outcome: "success", "deny" or "error".
sincequerystringSince is the inclusive lower time bound, RFC3339.
untilquerystringUntil is the upper time bound, RFC3339, with the same tolerance.
pageSizequerystringPageSize is rows per page, default 100.
pquerystringPage is the 1-based page number, driving the offset.

All Hanzo APIs · Interactive reference

How is this guide?

On this page