feat(webapp): backup credentials write-only, redaction by value, the audio archive's path, and the missing audit events (#795, lane 9 C) #848
Loading…
Reference in a new issue
No description provided.
Delete branch "build/lane9-c-backups-audit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #795. Part of lane 9 (#735), server slice C; nothing in it waits on A1–A11.
#795 (1): off-site credentials are write-only
GET /api/admin/backup/configreturnsremotethroughredact_remote(), pluscredentials_set. That flag is true when an inline parameter block was redacted.PUT:""to clear it, is validated and stored.remote_changed/remote_cleared.#795 (2): redaction by known values
_redact_textstill matches the remote's shape, and now also scrubs every parameter value longer than 4 characters wherever it appears. That covers a secret quoted on its own, re-ordered or re-quoted parameters, and repeats. Values of 4 characters or fewer (s3,true) are left readable.#795 (3): the audio archive's path
a2c4e6f8b0d1:backup_logs.audio_archive_path(nullable), added on top ofe5f7a9b1c3d4.include_audiois off by default). It reports only a recorded archive that's missing or a file that won't open.media_archive_path) wait for the owner's A6.The missing audit events (lane 9 headline 10)
Eight admin writes were silent and now log one event each, with the actor and no secrets:
Tests
test_admin,test_backup_offsite,test_audit_log, the new migration module,test_drop_scene_text_migration,test_notifications,test_setupandtest_retention_cap.The docs changes:
docs/API.mdgains a Database Backup section; these endpoints weren't documented before.docs/OPERATIONS.md's backup notes are updated.🤖 Generated with Claude Code