engine: staff-feed alerts are also recorded to the incident log, so a blocked look-alike registration is searchable via OperServ LOGSEARCH
All checks were successful
CI / check (push) Successful in 3m45s

This commit is contained in:
Jean Chevronnet 2026-07-19 00:29:55 +00:00
parent 0d16240606
commit 754c5d9e95
No known key found for this signature in database
2 changed files with 7 additions and 1 deletions

View file

@ -5552,6 +5552,8 @@ fn confusable_register_alerts_the_staff_feed() {
if from == "42SAAAAAO" && to == "#services" && text.contains("[REGISTER]") && text.contains("boss") && text.contains("look-alike"))),
"staff feed alert: {out:?}"
);
// ...and it's recorded to the searchable incident log (OperServ LOGSEARCH).
assert!(!e.network.search_incidents("look-alike", 10).is_empty(), "recorded for LOGSEARCH");
}
// Perf harness — not part of the normal suite. Run: