Task · CFO-0018

Firewall / security events collector

Description

firewallEventsAdaptive raw events plus metrics; doc-0004 firewall section field superset.

Acceptance Criteria

Definition of Done

Implementation Plan

Wave 2: implement entitled firewall events and Groups-derived metrics with severity mapping.

Implementation Notes

Entitlement-aware firewall raw events, Groups metrics and OTel severity mapping verified by tests, just check/ci at a3fa01b, and v0.2.2 live Loki/Mimir observations. Free ByTimeGroups rejects advertised action/source dimensions; doc-0003 and signals.md record the count-only fallback.

Final wave 2 gate: missing configured zones now fail closed (red-first events/metrics test, go test -race, independent L5 re-review PASS, CodeRabbit zero findings). v0.2.3 merge SHA 935bf72 deployed healthy on the deployment host with the expected image digest; prior live Pro-zone 19:00-19:10 UTC census found 41 source rays and 41 distinct Loki rays, plus two firewall metric series in Mimir. just check and just ci passed at 8e66817 in cf2otel-verify.

Final Summary

Implemented entitlement-aware raw firewall events and Groups-derived metrics with severity mapping, count-only Free fallback, and fail-closed configured-zone validation. Verified by focused race tests, just check/ci, independent review, 41/41 live Pro-zone rays and Mimir metric presence; released as v0.2.3.

View the source file on GitHub