Commit a700c56
wildleo91
chore(audit+demo): build 640 - audit consistency + demo state cleanup
AUDIT TRAIL CONSISTENCY:
- Unify timestamp_human -> timestamp across all 5 panels (was
inconsistent in FIM Alerts + Out-of-Band Recovery panels). The
visible column header is the SPL field name; audit_tz.js
reformats every cell client-side from the hidden epoch_ts
column anyway, so the choice was purely cosmetic.
- Rename "Out-of-Band Recovery Actions" -> "Recovery Scripts &
Maintenance Windows" (jargon -> self-explanatory: scripts run
for recovery + FIM deploy windows). Update audit_tz.js header
comment to reflect.
DEMO STATE CLEANUP (visible in README screenshots):
- Backup wl_audit index (1.9MB tarball, 12,945 events) + state
JSONs to backups/2026-05-06/ (gitignored).
- splunk clean eventdata -index wl_audit (after stop).
- Truncate _recovery_log.jsonl (122 dev/test entries).
- Delete _approval_queue.json (259 entries with fuzz-input names),
_daily_limits.json, _notifications.json, _trash_config.json.
Each justified inline (no production purge endpoint; trash
purge is rate-limited to 1/hour by design).
- Remove 19 test rules via remove_rule + 7 orphan CSVs +
176 orphan version snapshots from lookups/_versions/.
- Clean production CSVs: DR45 had FS_ATTACK_USER row, DR55 had
auth_method=TEST, DR20 had test_val rows + placeholder Xs.
Replaced with realistic-looking data via save_csv as superadmin1.
- Re-bootstrap CSV expected-hash registry (20 CSVs, 0 changed).
DEMO SEEDING (production-path only):
- scripts/seed-demo-state.py exercises the production REST endpoints
exactly as a real user would. Produces 18 production rules, 1
pending + 1 approved + 1 rejected approval queue entries, ~11
audit events with realistic variety. Final notification badge:
resets to 0 after cleanup (legitimate baseline).
CHECKPOINT:
- tests/fixtures/demo-state/README.md documents the restore steps
for future screenshot rounds.
SCREENSHOTS (3 of 4 refreshed):
- 03-audit-trail.png: new timestamp column header + new panel name
- 04-control-panel.png: clean queue + sparse activity counters
- 02-inline-editing.png: user-provided manual capture (kept as-is)
- 01-main-dashboard.png: automated capture produced byte-identical
output to prior round despite await_text confirming DR130 data
rendered (suspected browser-tool caching). Recommend manual
recapture before public ship.
BUILD: 639 -> 640
- app.conf [install] build
- whitelist_manager.js urlArgs _b=6401 parent cd20b4a commit a700c56
10 files changed
Lines changed: 466 additions & 25 deletions
File tree
- appserver/static
- default
- data/ui/views
- docs/screenshots
- scripts
- tests/fixtures/demo-state
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
67 | 209 | | |
68 | 210 | | |
69 | 211 | | |
| |||
115 | 257 | | |
116 | 258 | | |
117 | 259 | | |
118 | | - | |
119 | | - | |
| 260 | + | |
| 261 | + | |
120 | 262 | | |
121 | | - | |
| 263 | + | |
122 | 264 | | |
123 | | - | |
| 265 | + | |
124 | 266 | | |
125 | 267 | | |
126 | 268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
921 | | - | |
| 921 | + | |
922 | 922 | | |
923 | 923 | | |
924 | 924 | | |
| |||
998 | 998 | | |
999 | 999 | | |
1000 | 1000 | | |
1001 | | - | |
| 1001 | + | |
1002 | 1002 | | |
1003 | 1003 | | |
1004 | 1004 | | |
1005 | 1005 | | |
1006 | 1006 | | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
1012 | 1014 | | |
1013 | 1015 | | |
1014 | 1016 | | |
| |||
1021 | 1023 | | |
1022 | 1024 | | |
1023 | 1025 | | |
1024 | | - | |
| 1026 | + | |
1025 | 1027 | | |
1026 | 1028 | | |
1027 | 1029 | | |
1028 | 1030 | | |
1029 | 1031 | | |
1030 | 1032 | | |
1031 | | - | |
| 1033 | + | |
1032 | 1034 | | |
1033 | 1035 | | |
1034 | 1036 | | |
| |||
1056 | 1058 | | |
1057 | 1059 | | |
1058 | 1060 | | |
1059 | | - | |
| 1061 | + | |
1060 | 1062 | | |
1061 | 1063 | | |
1062 | 1064 | | |
1063 | 1065 | | |
1064 | 1066 | | |
1065 | | - | |
1066 | | - | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
1067 | 1072 | | |
1068 | 1073 | | |
1069 | 1074 | | |
| |||
Loading
Loading
Loading
0 commit comments