Files
cozystack/packages/system/monitoring/tests
Andrei Kvapil bd1bdc7a38 security(monitoring): keep Alerta credentials out of its container log
The Alerta entrypoint prints the whole environment, including the admin
password and API key, and echoes the admin API keys it creates, while
nginx logs the request line where Alertmanager passes the key as a
query parameter. Pod logs are readable at lower tenant tiers than the
credentials themselves.

This line runs the upstream image, so the entrypoint and nginx template
are mounted over the image's copies from a ConfigMap, changed only to
drop that output and mask the parameter.

Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-11-27 05:13:48 +01:00
..