Security · Security Testing
Configuration Review
Cheat sheet · https://pcornel.dk/topic.php?topic=5110
Answer
A configuration review compares system, network and cloud settings against hardening benchmarks such as CIS, finding weak defaults, open services and missing security features.
Remember
- CIS benchmarks are common baselines.
- Weak defaults are common findings.
- Automate.
First checks
- Configuration baseline comparison — drift
oscap / CIS-CAT / PolicyAnalyzer— automated review- Firewall/cloud config review — manual
Commands
git diff -- <config-path>- Read-only/validation observation for line-level difference between managed configuration and the selected repository ba…
Verify in this order
config → compared to baseline → findings
Where it usually breaks
First mismatch in asset inventory → applicable baseline/finding → risk/exception decision → remediation → verification → compliance/reporting; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5110