Audit log
Every change made in a site. Who made it, when, and to what, including the changes that never reach git.
The audit log (a site → Manage → Audit log) is a read-only list of the changes made in that site, newest first.
Git history already says who wrote each commit. The audit log adds what git cannot know: a page created or discarded before it was published, a repository connected, a deleted discussion message. It also names the person for changes whose commits don't.
Use it to answer:
- "Who deleted that page?"
- "Who discarded the page I was preparing?"
- "Was the schema changed by a person or generated with AI?"
What an entry shows
| Column | Content |
|---|---|
| When | The time of the change. |
| Who | The person who made it. A CI token shows as CI token. |
| What | The change in plain words, and under it what it was made to: a file's path, the site, or a discussion message. |
A page's path links to the editor while the page can still be opened. A move shows both paths. Short notes add detail where it matters:
| Note | When |
|---|---|
| N fields changed | An edit confirmed on a Norcube AI card: how many fields it changed (the text counts as one). |
| First publish | The publish created the file. |
| Nothing changed | The file already had this content, so nothing was committed. |
| With Norcube AI suggestions | The person applied Norcube AI's suggestions in the editor before publishing. |
| Written by AI | The site profile was written by the AI generator. |
| Redirect added | A redirect rule was added with the change. |
| N other files updated | Other files had their links updated with the change. |
Show older changes loads more.
What gets recorded
| On the screen | Action | What it means |
|---|---|---|
| Page created | page.created | A new page was created. It is not published yet. |
| Page published | page.published | A page was written to git: published for the first time, or edited. |
| Unpublished changes saved | page.changes_saved | An edit proposed by Norcube AI was confirmed and stored as the page's unpublished changes. |
| Unpublished changes discarded | page.changes_discarded | A published page's unpublished changes were thrown away. |
| Page discarded before it was published | page.discarded | A page that was never published was removed. |
| Page moved | page.moved | A page was renamed or moved. |
| Page deleted | page.deleted | A page was deleted from git. |
| Schema file saved | schema.updated | A schema or configuration file was saved. |
| Schema file deleted | schema.deleted | A schema file was deleted. |
| Schema folder created | schema.initialized | The site's .norcube/cms folder was created. |
| Schema generated with AI | schema.generated | AI schema generation committed schema files. |
| Media file uploaded | media.uploaded | A file was uploaded to the media library. |
| Media deleted | media.deleted | A media file or folder was deleted. |
| Media moved | media.moved | A media file or folder was renamed or moved. |
| Media folder created | media.folder_created | A folder was created in the media library. |
| Site created | site.created | The site was created. |
| Site name or slug changed | site.updated | The site's name or slug was changed. |
| Site deleted | site.deleted | The site was deleted. |
| Repository connected | site.repository_connected | The site was connected to a git repository. |
| Site folder changed | site.root_changed | The folder of the repository the site lives in was changed; the entry holds the new and the previous folder. |
| Site profile updated | site.profile_updated | The site's AI profile was edited or generated. |
| Discussion message deleted | discussion.message_deleted | A message in a page discussion was deleted. |
| Content health issue ignored | health.issue_ignored | A content health issue was ignored. The entry names the check, the file and the field, never the value or the reason. |
| Ignored content health issue restored | health.issue_restored | An ignored content health issue was brought back. |
What is never recorded
- Content. No page text, field values, message text, file contents or profile text. An entry holds paths, ids, counts and flags only.
- Saving as you type. Unpublished changes are saved continuously; only publishing and discarding them are recorded, and an edit you confirmed on a Norcube AI card.
- Previews, personal preferences and read markers.
- Commits pushed to the repository outside Norcube. Git history is their record; see Version history.
- Posting or editing a discussion message. Those are visible in the discussion itself. Only a deletion is recorded.
Who appears
Names come from Norcube Auth. A person whose account was erased shows as Erased account followed by the first eight characters of the account id, so two of them can be told apart. Changes made with an organization's CI token show CI token, not a person.
Changes made with Norcube AI
Norcube AI can create a page, create a page's version in another language, edit a page (stored as unpublished changes) or publish pages for you, after you confirm its card. The entry (Page created, Unpublished changes saved or Page published) is yours and carries a Norcube AI mark.
When you apply its suggestions in the editor and then publish, the entry is yours too and carries the note With Norcube AI suggestions. Saving them as you type records nothing.
Filtering
Filter by change (Every change, or one action) and by person
(Everyone, or one person).
The filters are kept in the page's address (?action=…&person=…), so a
filtered view can be shared.
Retention and deletion
- Entries are kept for 365 days, then deleted automatically.
- Deleting a site doesn't delete its entries. They stay stored until they are 365 days old, but the site's audit log screen is gone with the site.
- Closing the organization deletes its entries with the rest of its CMS data.
- Erasing an account doesn't remove entries. The person shows as Erased account with a short id.
Permissions
| Permission | What it allows |
|---|---|
cms:ListAuditLogs | Read a site's audit log. |
cms:ListAuditLogActors | Read the list of people in the log, for the person filter. |
Both come with every CMS role (viewer, editor and admin), so anyone with
access to a site can read its log. See Permissions.
Without cms:ListAuditLogs the menu entry is hidden and the page says
which permission is missing. The Recent publishes section of the
site home comes from the audit log too, so
it is shown only to people who have cms:ListAuditLogs.
Related
- Version history: what changed inside a page, from git.
- Collaboration: discussions on pages.
- Permissions: roles and actions.