Trustworthy Software Lab
Module 4

Compliance as Engineering Evidence

Compliance means proving that your system follows required rules, policies, and controls.

Common student misunderstanding
Compliance is not only documentation. Compliance depends on engineering practices that produce evidence.

Compliance question → Engineering evidence → AWS concept

Compliance questionEngineering evidenceAWS concept
Who accessed what?CloudTrailAudit trail
Are permissions restricted?IAM policyAccess control
Are secrets protected?Secrets ManagerSecret protection
Can failures be investigated?CloudWatch LogsObservability
Are configurations monitored?AWS ConfigCompliance checks
Are deployments traceable?CI/CD logsChange evidence
Is data protected in transit and at rest?TLS + KMS encryptionData protection

Configuration drift

Drift happens when a system slowly moves away from its approved secure state — an S3 bucket becomes public, encryption is disabled, an IAM policy becomes too broad, or log retention is removed.

Key idea
Good engineering reduces compliance pain. Poor engineering creates compliance stress.