Audit log: every change through the admin API and the administration pages, with ctl audit
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
bcd2413535
commit
f8fcecd640
18 files changed
+681
-7
No files matched your search
@@ -0,0 +1,14 @@
|
||||
-- Who changed what, from where: every change through the admin API and the
|
||||
-- administration pages. Detail is the request's fields with anything secret
|
||||
-- taken out; status is how it ended.
|
||||
CREATE TABLE audit_events (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
ts INTEGER NOT NULL,
|
||||
actor TEXT NOT NULL,
|
||||
source TEXT NOT NULL,
|
||||
action TEXT NOT NULL,
|
||||
target TEXT NOT NULL DEFAULT '',
|
||||
detail TEXT NOT NULL DEFAULT '',
|
||||
status INTEGER NOT NULL DEFAULT 0
|
||||
);
|
||||
CREATE INDEX audit_events_ts ON audit_events (ts);
|
||||
Reference in new issue
Block a user