How do you prevent and detect configuration drift from ClickOps in production?
AdvancedConceptCloud Security, CIS and Compliance
Answer
Prevent: no standing write access to production consoles. Humans get read-only roles; changes flow through Terraform in CI with an OIDC-assumed role; break-glass roles exist but require approval and page the security channel when used.
Detect: scheduled terraform plan -detailed-exitcode (exit code 2 means drift), Config change notifications, CloudTrail alerts on write calls from human principals in prod, and GitOps controllers (Argo CD, Flux) showing OutOfSync for Kubernetes.
Every break-glass session gets a ticket, and any manual change is either codified or reverted within a day.
More on Cloud Security, CIS and Compliance
What is the cloud shared responsibility model?BeginnerWhat is CSPM?BeginnerWhat are CIS Benchmarks, and what is Level 1 vs Level 2?BeginnerHow do you run a CIS assessment of an AWS account with Prowler?IntermediateName the main AWS security services and what each does.BeginnerWhat should you know about CloudTrail configuration?Intermediate