Files
cozystack/hack
Andrei Kvapil 8942c7dfcc security(monitoring): keep Alerta credentials out of its container log
The upstream 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.

The respin drops the environment dump, silences key creation and masks
the api-key parameter in the access log. Each edit is checked during
the build, so an upstream change to either file fails the image build
rather than bringing the output back.

Assisted-by: LLM
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-11-27 04:49:30 +01:00
..