AppScan
Browse all 61 articles
API

Audit log and live streams

The append-only audit trail, its sinks and schedules, and the scan event streams.

MethodPathNeedsReturns
GET/organizations/current/audit?action=&targetType=&actorUserId=&since=audit.readnewest first, cursor paginated
GET/organizations/current/audit/actionsaudit.readthe distinct actions recorded, for filters
GET/organizations/current/audit/sinksaudit.readSIEM sinks the trail streams to
GET/organizations/current/audit/export-schedulesaudit.readscheduled exports
POST/scans/:scanId/stream-tokenscan.read201 { token, expiresAt }, two minutes, bound to the scan
GET/scans/:scanId/events?token=the stream tokenserver-sent events: status, step, finding, done

Owners and admins read the audit trail; it is tenant-scoped and kept for four hundred days. Streams carry the same frames as the free-scan stream, so one reader serves both.

Something here wrong, missing or out of date? Tell us and we will fix the page.