mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-18 18:16:02 +01:00
so-push-drainer computed a record's age before the per-record try/except. A record whose dispatched_at or checked_at was not a number raised TypeError there, so every pass exited before the drain and auto-apply stopped. The traceback went to the stderr of a schedule with return_job: False, so nothing reached so-push-drainer.log. Only the drainer writes these records, so this takes a hand-edited file, but result tracking is not supposed to be able to block the drain. Log a warning and remove the record, as is already done for unreadable JSON and a missing jid. Also reword the so-log-check exclusion comment, which said the queued state run "still completes" where the drainer only claims it may have, and note at the drainer's warning that so-log-check matches its text.