Interview Prep/DevSecOps/Cloud Security, CIS and Compliance

What are AWS Config rules and conformance packs?

IntermediateConceptCloud Security, CIS and Compliance
Answer

Config records every configuration change to supported resources. Config rules evaluate those changes against a desired state, either AWS-managed (e.g. s3-bucket-public-read-prohibited, encrypted-volumes) or custom (Lambda or Guard). Conformance packs bundle rules and remediations into a deployable unit mapped to a framework such as CIS or PCI.

Rules can trigger automatic remediation through SSM Automation documents. Config history also answers the auditor's question "what did this security group look like on 3 March?".

All DevSecOps questions Roadmap: Policy as code

More on Cloud Security, CIS and Compliance