Commit graph

5 commits

Author SHA1 Message Date
b308c3dc2e
move to codeberg 2026-06-06 13:00:59 -05:00
e99f681c87
fix: harden trust and transport validation 2026-03-26 12:21:39 -05:00
24b77116dc
add ssl/tls certificate expiration check type
add SslCheckConfig protobuf message and executeSSLCheck function that
connects via crypto/tls, reads the peer certificate expiry, and returns
OK/WARNING/CRITICAL based on a configurable warning_days threshold.
2026-03-17 16:05:44 -05:00
adad473485
fix: handle errcheck lint violations in test files 2026-03-05 12:13:05 -06:00
aef770ea83
test: achieve 92%+ coverage with comprehensive integration and edge case tests
Cover WebSocket session lifecycle (result channels, SNMP batch flushing,
heartbeats, restart), MikroTik TLS TOFU verification mismatch, worker pool
exhaustion, plaintext WebSocket rejection, HTTP/TCP/DNS check execution,
IPv4 fallback, and customer network edge cases.

Make heartbeat intervals and toWebSocketURL exit injectable for testing.
2026-03-04 16:06:29 -06:00