homek8s/infrastructure/logging/alloy
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters 78f94ab85e fix(logging): build the audit line from a JMESPath allowlist, never pack the raw record
stage.pack embeds the original line under `_entry`, so the first cut wrote
responseObject.data (plaintext secrets) into Loki anyway. Replace pack with a
single JMESPath multi-select hash + stage.output: the emitted line contains
exactly the allowlisted keys and nothing else, with proper JSON escaping.
Verified end-to-end against a synthetic record carrying data.password using
loki.echo: 0 occurrences of the value, labels resource/verb still present.
2026-11-27 00:56:07 -05:00
..
config.alloy fix(logging): build the audit line from a JMESPath allowlist, never pack the raw record 2026-11-27 00:56:07 -05:00