11.4 Audit log
The audit log records who changed or triggered what and when: sign-ins, changes to accounts, jobs, and repositories, restores, approvals, and alerts. It is available only to admins under Audit log.
Columns
The entries are in a table, newest first, with paging at the bottom (default 20 entries per page):
Column | Content |
|---|---|
Time | Time of the entry. |
User | Who triggered the action: a user name, |
Action | Identifier of the action in the scheme |
Target | Object the action refers to (user name, job, repository, or agent identifier). |
Detail | Explanation of the action, for example role, reason, or changed values. Secrets such as tokens are not in it; entries about tokens name them. |
IP address | Address of the client, if known; otherwise "-". |
Filtering
The field Filter by user, action or target searches the columns User, Action, and Target for the entered text (substring, case-insensitive). The content of the column Detail is not searched. Filtering runs on the server and applies across all pages.
Right-clicking an entry sets the filter in one click: Only entries of β¦, Only this action, and Only this target; Clear filter removes it. The same menu offers Copy action, Copy target, Copy detail, and copying the IP address and the time.
Export
The web interface has no export button. To use the entries elsewhere, read them through the REST API: GET /api/v1/audit (role admin) with the parameters q (filter text), page, and per_page returns the same page as JSON, for example for a script with an API token (see chapter 12 Automation and Deployment).
What is logged
The table groups the actions by area. It names the identifiers the server writes.
Area | Actions |
|---|---|
Sign-in and session |
|
Users and tokens |
|
Four-eyes approval |
|
Agents |
|
Jobs, plans, and automation |
|
Repositories and storage |
|
Restore |
|
Self-service on the machines |
|
Notifications and reports |
|
Server and security |
|
For changes to jobs (job.created, job.updated, job.credentials_cleared) the entry also records the changed fields ("field: before β after"). They also appear in the job's history in the job details. Failed sign-ins include the client's address; the lockout after repeated failures is described in section 11.2 Sign-in and OIDC.