Audit log: what is recorded
Yurbi keeps an audit log of who did what and when: sign-ins, changes to users and permissions, reports that were run and exported, changes to content, and changes to settings. This article lists every event, what is stored with it, what is never stored, and how long events are kept. It is for administrators and for anyone answering a security review.
What every event contains
Field | What it holds |
|---|---|
Time | When it happened, in UTC |
User | The login that did it. Empty for things the server did on its own |
Event | The event type, for example Report Run or User Added to Group |
Message | A plain sentence describing it, for example "Data security policy 'Finance' assigned to Group 'Sales'" |
Item | The thing it happened to: its type, ID and name |
Parent | Where the item belongs, for example the application of a report |
Outcome | Success, Failure or Refused |
Source | Where it came from: the application, the API, the scheduler or the system |
IP address | The address the request came from. Behind a proxy, the forwarded address is used only when the proxy is on a private network |
Details | What changed, as old and new values where that applies, for example "PASSMAXAGEDAYS: 0 -> 90" |
The name of the item is stored on the event itself, so a deleted report, user or group stays identifiable in the log.
What is never recorded
Passwords, security codes, tokens, API keys and license keys.
Connection strings. Hosts, paths and addresses are named, not shown.
The data a report returned.
The text of AI questions and the SQL the AI produced.
The values of settings that hold secrets. The log says the setting changed, without the value.
One event type can hold data values: Report SQL Captured. It is off by default; see below before turning it on.
Events by area
"Default" is whether the event is recorded on a new install. Every event can be switched on or off (see Changing what is recorded).
Signing in and sessions
No. | Event | Default | Recorded when |
|---|---|---|---|
0 | Login Succeeded | On | A user signs in |
1 | Login Failed | On | A sign-in is refused; the login name that was typed is kept |
2 | Logout | On | A user signs out or the session ends |
16 | Session Limit Event | On | A sign-in is refused because the session limit was reached |
20 | Password Reset Requested | On | A reset link is requested |
21 | Password Reset Completed | On | A password is set from a reset link |
22 | Magic Link Requested | On | A sign-in link is requested by email |
23 | Magic Link Login | On | A user signs in with an emailed link |
53 | Password Changed | On | A password is changed by the user or an administrator |
38 | Password Change Forced (All Users) | On | An administrator, or the password expiry rule, forces a change at next sign-in |
Two-factor authentication
No. | Event | Default | Recorded when |
|---|---|---|---|
28 | Two-Factor Enrolled | On | A user sets up a method |
29 | Two-Factor Removed | On | A user removes a method |
30 | Two-Factor Challenge Sent | On | A code is sent by email or text message |
31 | Two-Factor Verified | On | A code is accepted |
32 | Two-Factor Failed | On | A code is refused |
33 | Two-Factor Reset by Admin | On | An administrator clears a user's two-factor |
34 | Backup Codes Generated | On | A user creates backup codes |
35 | Backup Code Used | On | A backup code is used to sign in |
36 | Trusted Device Added | On | A browser is remembered |
37 | Trusted Devices Revoked | On | Remembered browsers are cleared |
52 | Two-Factor Skipped | On | A service account signs in without a second factor |
Users and groups
No. | Event | Default | Recorded when |
|---|---|---|---|
9 | User Created | On | A user is added |
10 | User Modified | On | Name, email, sign-in method or company changes; details show old and new |
11 | User Deleted | On | A user is removed |
24, 25 | User Disabled / User Enabled | On | An account is disabled or enabled again |
26, 27 | User Locked / User Unlocked | On | An account is locked after wrong passwords, or unlocked |
50, 51 | Service Account Enabled / Disabled | On | An account is marked, or unmarked, as a service account |
12 | Group Created | On | A group is added |
13 | Group Modified | On | A group is changed |
14 | Group Deleted | On | A group is removed |
57 | User Added to Group | On | A user joins a group, or their role in it changes |
58 | User Removed from Group | On | A user leaves a group |
Permissions
No. | Event | Default | Recorded when |
|---|---|---|---|
59 | App Access Granted | On | A user or group is given an application |
60 | App Role Changed | On | Their role on the application changes |
61 | App Access Revoked | On | Access to the application is removed |
62 | Report Access Changed | On | Who can see a report changes |
63 | Folder Access Changed | On | Who can see a folder changes |
64 | Dashboard Access Changed | On | Who a dashboard is shared with changes |
Content
No. | Event | Default | Recorded when |
|---|---|---|---|
3, 4, 5 | Report Created / Modified / Deleted | On | A report is saved for the first time, changed or removed |
65, 66 | Folder Created / Folder Renamed | On | A folder is added or changed |
18 | Folder Deleted | On | A folder is removed |
69, 70, 71 | Dashboard Created / Modified / Deleted | On | A dashboard is added, changed (including its widgets) or removed |
67 | Item Moved | On | A report or dashboard is moved to another folder |
68 | Item Copied | On | A report or dashboard is copied |
Data access
No. | Event | Default | Recorded when |
|---|---|---|---|
6 | Report Run | On | A report returns data to a user, with the application and, on a dashboard, the dashboard |
7 | Report Exported | On | A report is exported |
72 | Dashboard Viewed | On | A user opens a dashboard |
73 | Report Delivered to Recipient | Off | A scheduled report is sent to a recipient (one event per recipient) |
15 | Report SQL Captured | Off | The SQL of a report run is stored. It can contain data values, such as the filter values a user typed |
Scheduler
No. | Event | Default | Recorded when |
|---|---|---|---|
77, 78, 79 | Schedule Created / Modified / Deleted | On | A report, dashboard or batch schedule is added, changed or removed |
19 | Schedule Run Completed | On | A schedule runs, with its recipients |
80 | Schedule Run Failed | On | A schedule fails, with the step and the cause |
Integrations and data
No. | Event | Default | Recorded when |
|---|---|---|---|
81, 82, 83 | App Created / Modified / Deleted | On | An application is added, changed or removed |
84, 85, 86 | Connection Created / Modified / Deleted | On | A data source connection is added, changed or removed |
87, 88, 89 | API Integration Created / Modified / Deleted | On | An API integration is added, changed or removed |
17 | Data Load Completed | On | A file import or API fetch finishes |
90 | Data Load Failed | On | A file import or API fetch fails, with the cause |
91 | Scheduled Data Refresh Completed | Off | A scheduled API refresh finishes without a problem |
92 | Data Removed | On | Imported data is removed |
Server Sync
No. | Event | Default | Recorded when |
|---|---|---|---|
93 | Sync Configuration Changed | On | A sync server, application mapping or item is changed |
94 | Sync Run Completed | On | A sync run finishes |
95 | Sync Run Failed | On | A sync run fails |
96 | Sync Item Pushed | Off | Each item pushed during a run |
Data security
No. | Event | Default | Recorded when |
|---|---|---|---|
97, 98, 99 | Data Security Policy Created / Modified / Deleted | On | A policy or its rules are added, changed or removed |
100 | Data Security Assignment Changed | On | A policy is assigned to, or removed from, a user or group |
101, 102, 103 | Data Tag Created / Modified / Deleted | On | A data tag is added, changed or removed |
104 | Data Tag Value Changed | On | A tag value for a user or group changes |
AI
No. | Event | Default | Recorded when |
|---|---|---|---|
54 | AI Query | On | An AI question is answered. The report type, the model and an ID are kept; the question and the SQL are not |
55 | AI Report Saved | On | An AI answer is saved as a report |
56 | AI Settings Changed | On | An application's AI settings or an AI provider changes. Keys and addresses are not kept |
Branding
No. | Event | Default | Recorded when |
|---|---|---|---|
105, 106, 107 | Branding Created / Modified / Deleted | On | A branding design is added, changed or removed |
108 | Branding Assignment Changed | On | A design is assigned to, or removed from, a user or group |
Server, license and the audit log itself
No. | Event | Default | Recorded when |
|---|---|---|---|
109 | Server Settings Changed | On | A server setting changes; details show old and new |
110 | Email (SMTP) Settings Changed | On | Mail settings change. The password is not kept |
111 | License Changed | On | A license is installed or changed |
112 | License Limit Reached | On | A user is refused because a license limit was reached |
113 | Audit Settings Changed | On | An event type is switched on or off, or its retention changes |
114 | Audit Log Purged | On | Old events are removed at the end of their retention |
115 | Service Started | On | The Yurbi server starts |
Why you may see fewer events than actions
Some repeated actions are recorded once, so the log stays readable and the table stays small:
Report Run: the same user running the same report with the same filters again within 10 seconds is one event. A result served from the cache is recorded once every 5 minutes, or once an hour for a report on a dashboard.
Dashboard Viewed: once per user and dashboard every 5 minutes.
Dashboard widget changes: once per user and widget every 5 minutes. Added and removed widgets are always recorded.
License Limit Reached: once per limit per hour.
Audit Settings Changed: changing more than five event types in one save is recorded as one summary event.
How long events are kept
Most event types are kept for 120 days on a new install. A few frequent ones are shorter: Login Succeeded is kept for 30 days and Dashboard Viewed for 90 days.
Retention is set per event type. Once a day, events older than their retention are removed, and an Audit Log Purged event records how many. Daily totals per event type, user and item are kept after the detail is removed, so long-term counts stay available.
Changing what is recorded
Open Settings and go to Audit Options. The page lists every event type by area, with a search box.
Switch an event type on or off.
Set how many days it is kept.
A value you set is never changed by an update. Every change on this page is itself recorded as Audit Settings Changed.
Before turning on Report SQL Captured, remember that the stored SQL can contain the values users typed into filters and prompts. Turn it on only for troubleshooting, and switch it off again afterwards.
Frequently asked questions
Does the audit log store the data in my reports? No. It records that a report was run or exported, by whom and when, not what it returned.
Are AI questions stored in the audit log? No. The event records that a question was answered, with the report type and the model. The question text and the SQL are not written to the audit log.
What time zone are the times in? UTC.
A user was deleted. Is their history gone? No. Events keep the login and the item names as they were, so earlier activity stays readable.
I ran a report several times but see one event. Why? Identical runs within a few seconds, and results served from the cache, are recorded once. See Why you may see fewer events than actions.
Can I see who changed a setting and what it was before? Yes. Server Settings Changed, User Modified and the other change events show the old and the new value in the details, except for secrets, where only the name of the setting is shown.
Can I turn an event off? Yes, on the Audit Options page. Switching an event off stops new events of that type; events already recorded stay until their retention ends.
Do service accounts appear in the log? Yes. Their sign-ins are recorded like any other, and each sign-in that skips two-factor is recorded as Two-Factor Skipped.
Where is the audit log stored? In the Yurbi database, with the rest of your Yurbi configuration.
We embed Yurbi in our own application. How do our sign-ins show up? Sign-ins made through the API are recorded with the source API and the address of the server that called it. Mark the account your application signs in with as a service account, so its two-factor skips are recorded and it keeps working when you tighten sign-in security.
Can we tell our customers' activity apart? Each event carries the user and the item, and reports can be grouped by the security group or application you use per tenant.