Configuration Management
Keep system configuration declarative, versioned and continuously reconciled against drift.
IntermediateConfiguration ManagementInfrastructure
Where it fits in the lifecycle
- Plan
- Code
- Build
- Test
- Release
- Deploy
- Operate
- Monitor
- Deploy Policy enforcement, admission control and infrastructure security.
- Operate Runtime security, secrets rotation and configuration reconciliation.
Overview
Declarative configuration plus scheduled reconciliation means hardening survives manual changes, reboots and rebuilds.
Why it matters
Hardening applied once decays. Continuous reconciliation is what keeps a benchmark true.
How it works
- 01Desired state is defined in version control.
- 02Runs are scheduled in check mode to detect drift and in enforce mode to correct it.
- 03Compliance scans verify against a published benchmark.
Common tools
AnsibleOpenSCAPPuppetAnsibleLinuxRed Hat
Implementation examples
bashDetect drift without changing anything
ansible-playbook site.yml --check --diffBest practices
- Schedule reconciliation, do not run it only on change.
- Alert on drift volume, not just individual diffs.
Common mistakes
- Hardening at build time only, with no ongoing enforcement.