Skip to content

docs: list the account, password, API key and profile changes the audit log records - #235

Merged
zZebrahz merged 7 commits into
mainfrom
docs/audit-log-actions
Nov 25, 2026
Merged

zZebrahz merged 7 commits into
mainfrom
docs/audit-log-actions

Conversation

@zZebrahz

@zZebrahz zZebrahz commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Closes #175

Draft until Silo-Server/silo-server#2306 merges. That pull request makes the Audit tab record sign-outs, password resets and changes, API keys, View as user, ownership transfer, and household profiles as named actions. Review the audit log still says only administrator changes to accounts and access groups show what changed.

Pages changed

Page Change Preview
Logs and monitoring "Review the audit log" lists every change that shows details, plus what API key and PIN entries show Open

What changed on each page

Logs and monitoring

  • The sentence about administrator account and access-group changes now introduces a list: administrator edits, View as user start and end, ownership transfer; password reset links, completed resets and password changes; signing out one session or with Sign out everywhere; API keys created, changed or deleted; household profiles created, edited or deleted.
  • New: "An API key shows its label, rate tier, and scopes."
  • "A password change shows only that the password changed" now continues "and a profile PIN only whether it was set, changed, or cleared."
  • New: "The audit log never shows or stores a password, PIN, reset link, or API key."

Worth checking: the list drops "an administrator" from the lead sentence, because people's own password changes, sign-outs, personal API keys and profile edits are recorded too. I left the first sentence, including "the status code", untouched so this doesn't collide with #196.

Left out on purpose

  • Action names such as user.login_sessions_revoked. The filter example (user.updated, access_group.updated) stays as the issue asked.
  • That profile entries need the PostgreSQL user store. PostgreSQL is the standard setup.
  • That a profile edit that only changes playback preferences or the avatar records no change details. Too deep for this page.
  • Server settings, plugin changes and sign-in history, which stay plain request rows (out of scope per the issue).

Evidence

Source reviewed, not tested on a live server or device:
silo-server 0ba106273 (head of Silo-Server/silo-server#2306, open; origin/main at a434bbc2f). Read internal/auditmutation/mutation.go, internal/api/handlers/profiles_audit.go, web/src/pages/AdminLogs.tsx, and the docs/admin-api.md audit table. Labels View as user and Sign out everywhere checked in AdminUsers.tsx and LoginSessionsPanel.tsx.

Needs a hands-on check: once #2306 merges, that the Target column reads "API key #N" and "profile #N", and that a PIN change reads "pin: set / changed / cleared".

bun run test:docs   tests 8, pass 8, fail 0
bun run build       106 page(s) built, Complete!
git diff --check    clean

Risks

None identified. Documentation only.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.

AI Disclosure

  • Harness: Claude Code in T3 Code
  • Tool(s): silo-docs skill, humanizer skill, gh, git, bun
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: n/a

Note

Document audit log coverage for accounts, passwords, API keys and profiles

Expands the audit-log docs in logging.md to list logged activity: account and access-group administration, impersonation, ownership transfers, password-reset links and resets, session sign-outs, API-key changes, and household-profile changes. Notes that completed password resets have no actor. States that passwords, PINs, reset links, and API keys are never shown or stored in the audit log.

Macroscope summarized e438446.

@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Oct 18, 2026
@silo-kody

silo-kody Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 2 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Scope polling setup steps to installable source capabilities
  • Preserve retired documentation URLs with tested redirects

@zZebrahz

Copy link
Copy Markdown
Contributor Author

Draft until Silo-Server/silo-server#2306 is merged into main. The docs describe that change, and its labels or defaults may still change in review.

@coderabbitai

coderabbitai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 898c31ed-a63e-4d80-9eba-8576f2704f51
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@silo-triage silo-triage Bot added the documentation Improvements or additions to documentation label Oct 18, 2026
@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Preview removed after this pull request was closed. Its address now redirects to siloserver.org, though some visitors may still see the old preview for a while.

@zZebrahz
zZebrahz marked this pull request as ready for review November 18, 2026 02:43
@zZebrahz

Copy link
Copy Markdown
Contributor Author

Ready for review: Silo-Server/silo-server#2306 merged as 30a2e6fb3. The review thread checks these pages against current main before this merges.

@silo-kody

silo-kody Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 2 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Scope polling setup steps to installable source capabilities
  • Preserve retired documentation URLs with tested redirects

@silo-kody

silo-kody Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 2 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Scope polling setup steps to installable source capabilities
  • Preserve retired documentation URLs with tested redirects

@zZebrahz
zZebrahz merged commit d11a3f7 into main Nov 25, 2026
5 checks passed

This branch was previously deployed

1 inactive deployment
Preview — e438446b Deployed Nov 25, 2026 by zZebrahz via teardown #231
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/S 0–49 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logs guide: audit log now records sign-outs, passwords, API keys, View as user and profiles

1 participant