Activity and export
Export the audit log as JSON lines for your own systems, and check that the log has not been altered.
Auditors and security teams ask the same two things: "give me what happened" and "prove nobody edited it". Wardn answers the first with an export of the Activity log and the second with a check of its hash chain. For reading the log day to day, see Timelines and Activity.
What the log holds
Each Activity entry is one deliberate action, with:
| Field | Meaning |
|---|---|
id | The entry's id. |
timestamp | When it happened. |
userId | The person who did it. Null for something Wardn did on its own. |
action | What was done, such as deployment.restore or role-binding.created. |
resourceType, resourceName | What it was done to. |
details | Facts about the action: ids, counts, the reason a person gave. |
summary, detail | The one-line description the web app shows, and a longer one when needed. |
chainHash | A hash that links the entry to the one before it. |
Entries are written in the same transaction as the change they describe, so there is no change without an entry, and the entry cannot be written without the change. Reasons people give for bypasses, restores and terminal sessions are in details.
Export
Open Audit › Activity, apply the filters you want (Resource type), and choose Export. Pick a range (Last 7 days, Last 30 days, Last 90 days, Last year, Last 2 years) or Custom range…, which opens Export audit log with a start and an end date. The browser downloads one JSON object per line.
The answer streams as application/x-ndjson, newest first, so you can pipe it into jq or a log shipper without loading it all:
api "$WARDN_API_URL/api/v1/activity/export?from=2026-11-01T00:00:00Z" \
| jq -r 'select(.action | startswith("guardrail.")) | [.timestamp, .action, .resourceName] | @tsv'Limits
An export is bounded, so one request cannot take Wardn down. It stops at whichever comes first:
- the last 730 days (a
fromolder than that is moved to 730 days ago), - 100,000 entries,
- 64 MiB.
For a longer history, export in slices by date range and keep the files. Run the export on a schedule with an API token whose ceiling is audit:read on the organization.
Who can export
The export follows the same rule as the log itself. Someone who reads the whole feed (an Owner, or a holder of Organization reader or a role with audit:read on the organization) exports every entry. Anyone else exports only their own actions and the entries about places they can see; entries about roles, grants, tokens, integrations and settings are in the whole feed only. See Who sees what.
Check the log
Every entry carries a chainHash that depends on the entry before it in your organization's log. Change, delete or reorder any entry, and every hash after it stops matching. Verification recomputes the chain and reports the first break.
api "$WARDN_API_URL/api/v1/activity/verification"{ "valid": true, "entriesChecked": 48213 }When the chain is broken, valid is false and firstBrokenEntryId names the first entry that no longer fits, so you know where to look and which exports predate the break. Verification reads every entry, so it needs audit:read across the whole organization. The web app has no screen for it; run it from a script or before each audit.
Export is how you keep a copy outside Wardn: the chain proves the log inside Wardn is intact, and an exported file proves what it said when you took it. Keep both for a compliance review.
Permissions
| Action | Permission |
|---|---|
| Read and export Activity | audit:read, or the reach of your teams and grants for a partial feed |
| Verify the chain | audit:read on the whole organization |
Next
Remediations
What agents propose, the diff of exactly what Wardn would do, and who decides.
Integration health
How Wardn tells you whether GitHub, Slack, Microsoft Teams, Discord, Prometheus, PagerDuty, ServiceNow and Jira are working, what waits when one is not, who is told when one goes down, and how to test, pause and disconnect them.