How do you automate remediation of security findings?
AdvancedProductionSecurity Services and Data Protection
Answer
flowchart LR
F["Finding: GuardDuty / Security Hub / Config"] --> EB["EventBridge rule"]
EB --> SFN["Step Functions or Lambda"]
SFN --> Fix["Remediate: revoke SG rule, isolate instance, disable key"]
SFN --> Notify["Slack / ticket with evidence"]
Start with safe, reversible fixes: remove 0.0.0.0/0 on port 22, enable bucket Block Public Access, tag and isolate a compromised instance with a quarantine SG and snapshot its volumes for forensics. Config rules can use SSM Automation documents for remediation. Always notify a human, and keep destructive actions manual until trusted.
More on Security Services and Data Protection
What is a minimal security services baseline for every account?BeginnerHow do you roll out GuardDuty across an organization and what protections do you turn on?IntermediateHow do you handle the flood of findings from GuardDuty and Security Hub?AdvancedWhat does Security Hub add on top of GuardDuty?BeginnerHow do you design a KMS key strategy?AdvancedAWS managed keys vs customer managed keys: when does it matter?Intermediate