watchdog/cmd/watchdog
NotAShelf d1181d38f0
watchdog: add log sanitization and request tracking
Stuff to prevent possible log injection attacks via weird characters,
now sanitized with `strconv` stuff.

- X-Request-ID is now traced in ingestion handler
- ValidateWithMap renamed to Validate (xd)
- Some new tests :D

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I286ec399a5c4a407f0cc117472c079446a6a6964
2026-03-10 08:43:53 +03:00
..
main.go various: reduce file I/O & pre-parse CIDRs 2026-03-10 08:43:33 +03:00
root.go watchdog: add log sanitization and request tracking 2026-03-10 08:43:53 +03:00
root_test.go watchdog: add log sanitization and request tracking 2026-03-10 08:43:53 +03:00