Baselines: adopt ConfigSentry without breaking CI

The goal: get signal on day 1, but only block builds on new findings.

2026-02-22

Step 1 — Generate a baseline (non-blocking)

npx configsentry ./docker-compose.yml --write-baseline .configsentry-baseline.json

Commit .configsentry-baseline.json to the repo (so changes are reviewed like code).

Step 2 — Use the baseline in CI

npx configsentry ./docker-compose.yml --baseline .configsentry-baseline.json

This suppresses findings that match the baseline, but still reports new findings.

Step 3 — Enforce “no new findings”

When you’re ready to prevent regressions:

If you use the GitHub Action, this maps to baseline: + fail-on-findings: true.

Links