Skip to main content

Audit Log — Full Activity History

Every significant action on the platform is recorded in an append-only audit log. Entries are never modified or deleted within your plan's retention window — giving you a trustworthy history for compliance audits, incident investigations, and team accountability.

What is logged

Experiment transitions

Every state change — who triggered it, when, and why.

Approval decisions

Approve/reject decisions with the reviewer's identity.

Budget events

Reservations, settlements, alerts, and budget exhaustion events.

Agent events

Health check failures, status changes, and execution starts.

Credential access

Every decryption of a credential — with the requesting agent and experiment.

Team changes

Member invitations, role changes, and token creation/revocation.

Accessing the audit log

View in the app at /audit, or query via API with filtering:

bash
# All audit entries
GET https://fleetq.net/api/v1/audit

# Filter by event type and date range
GET https://fleetq.net/api/v1/audit?event=experiment.transitioned&from=2026-01-01&to=2026-01-31

# Filter by actor (user ID)
GET https://fleetq.net/api/v1/audit?actor_id=01jf4a2b-...

Exporting the audit log

Use the Export menu on the audit log page to download your team's entries as a file. Two formats are available:

  • CSV: one row per entry, ready for spreadsheets. Cells that begin with =, +, - or @ get a leading apostrophe so they are never run as formulas.
  • JSON Lines (OCSF): one JSON object per line, shaped as an OCSF (Open Cybersecurity Schema Framework) event (class_uid, severity_id, time, actor, ...).

The export uses the filters currently set on the page: search text, event category and the from/to date range. Only team owners and admins can export, and every export is itself recorded as an audit.exported entry with the format and filters used.

bash
# Download the OCSF JSON Lines export (same session as the app)
GET https://fleetq.net/audit/export?format=jsonl&event=experiment&from=2026-01-01&to=2026-01-31

# Ship it to a SIEM: most accept newline-delimited JSON through file or HTTP ingestion
curl -X POST "$SIEM_INGEST_URL" \
  -H "Authorization: Bearer $SIEM_TOKEN" \
  -H "Content-Type: application/x-ndjson" \
  --data-binary @audit-log-2026-01-31-120000.jsonl

For programmatic access, the /api/v1/audit endpoint remains cursor-paginated.

Streaming to a SIEM

To receive every new audit entry as it happens, create a webhook endpoint subscribed to the audit.entry.created event, either on the webhooks settings page or through the API. Each delivery carries one entry, as the same OCSF record that the JSON Lines export produces.

This event is opt-in: endpoints subscribed to * do not receive it. List audit.entry.created by name.

bash
# Create an endpoint that receives the audit stream
POST https://fleetq.net/api/v1/webhooks
{
  "name": "SIEM",
  "url": "YOUR_SIEM_INGEST_URL",
  "events": ["audit.entry.created"],
  "secret": "your-signing-secret"
}

# Each delivery body
{
  "event": "audit.entry.created",
  "timestamp": "2026-01-31T12:00:00+00:00",
  "data": { "class_uid": 3001, "severity_id": 1, "time": 1769860800000, "actor": { ... }, ... }
}

When the endpoint has a secret, each request carries X-Fleetq-Signature: sha256={hex}, an HMAC-SHA256 of the raw request body with that secret. Compute the same HMAC on your side and compare before accepting the event.

Retention periods

The audit:cleanup command runs daily at 02:00 and removes entries older than your plan's retention window:

Plan Retention
Free7 days
Starter30 days
Pro90 days
Enterprise365 days (custom unlimited available)
Enterprise customers can configure unlimited retention. Contact support to enable archival to S3 or GCS.

Compliance use cases

  • SOC 2: Evidence that access to credentials and data is logged and attributable
  • GDPR: Track who accessed data, when, and for what purpose
  • Internal audits: Investigate why an experiment ran, who approved it, and what it cost
  • Incident response: Reconstruct the exact sequence of events around a failure or security incident

Next step

Start from a ready-made agent template, then run it on FleetQ Cloud or your own server.