Le Beltagy describes an AWS forensic evidence workflow in Your IR Runbook Is a PDF Nobody Reads at 3 AM. I Turned Mine Into a State Machine.. The first implementation waited for an EBS snapshot copy inside a Lambda handler. The handler timed out while the copy could still be pending. The revised workflow records the destination snapshot ID and checks for completion in separate states.
Keep the snapshot ID visible across retries
The CopySnapshot API returns an identifier for the new snapshot. In Beltagy's implementation, subsequent checks use that identifier to follow the same copy. The response and the completed snapshot are two different events in the incident record. A timeout during a status check is a reason to reconcile the known snapshot's state. If the initial request timed out before returning an ID, the operator must first determine whether a copy was created before issuing a replacement request.
Give the approval its own outcome
The author's workflow verifies the forensic copy before presenting a gate for destructive remediation. The Step Functions integration documentation describes callback support for Standard Workflows where the integration supports it. Approval, rejection and expiration need separate outcomes so that a missing decision leaves the destructive step gated.
A tabletop exercise can test the distinction by simulating a snapshot that is still pending when a status check times out. After the simulated copy completes, let the approval expire. The incident record should show the same snapshot being tracked through completion and a separate expiration event, with the destructive step still gated. These two observations tell responders whether evidence was preserved and whether anyone authorized the next action.
For the exercise, record the destination account alongside the snapshot identifier and save the last state observed before each transition. The reviewer can then distinguish a copy that never entered the destination account from one that arrived but remained pending. Preserve the approval decision separately so that a later reviewer can trace both events.