Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

An Elastic Security Labs illustration of alert signals flowing from a network of data points into four gears, each leading to a containment outcome: a broken chain and a padlock, a processor chip inside a globe, a stream of blocks ending in an arrow, and a cloud inside a locked cube.
Image: Elastic Security Labs (fair use). Header illustration from "Four AWS containment workflows that run on one analyst approval," December 4, 2026.

Tools

Elastic Publishes Four AWS Containment Workflows That Wait for One Analyst's Approval, Then Check AWS Again and Fail Loudly if the Fix Did Not Take

A new aws.request step in Elastic 9.7 signs AWS API calls directly from Elastic Workflows, with no Lambda function in between. The first templates deactivate a stolen IAM access key, quarantine an EC2 network interface, restart a stopped CloudTrail trail and lock down a public S3 bucket.

James Whitford, ToolsAustin6 min read

AUSTIN - Elastic has published four ready-made workflows that let a security analyst contain common Amazon Web Services incidents from inside an alert, with a single approval, and then have the workflow confirm with AWS that the change actually happened, according to a post on Friday from Elastic Security Labs.

The workflows rely on a new step in Elastic Workflows called aws.request, available starting with Elastic 9.7, which signs requests with AWS Signature Version 4 itself. Until now, the post says, a workflow that needed to act in AWS either used a connector built for one specific service, such as Lambda or CloudWatch, or called a Lambda function the customer had to deploy in its own account. The new connector reaches IAM, EC2, S3, CloudTrail, CloudWatch Logs, GuardDuty, Security Hub and other AWS service APIs through one step.

The four templates, in the Elastic Workflows Template Library, deactivate a compromised IAM access key, quarantine an EC2 network interface, restart a stopped CloudTrail trail and apply all four S3 Block Public Access controls. Each pulls its target from the alert, shows the analyst the exact action against current AWS state and changes nothing until that analyst approves. "The workflow then reads the target back from AWS, and the execution fails if the state is wrong," wrote the authors, Bryan Porras Blanch and Tal Borenstein.

Seven steps, one record

Elastic describes a single pattern behind all four: resolve the resource and the account or Region from the alert, fail closed when the target cannot be established safely, show the current state and the proposed action, require explicit approval, send the signed request through a least-privilege connector, read the result back from AWS and keep the decisions, responses and failures in the execution history.

An Elastic diagram of a seven-step AWS remediation pattern along a timeline: 1. Resolve Context, with identifiers, account and Region; 2. Fail Closed; 3. Show Proposal, with current status and proposed action; 4. Require Approval, with approve and reject buttons; 5. AWS Request, through an AWS connector signed with SigV4 to the AWS API; 6. Verify State, checking final state; and 7. Record and Audit, an execution history of decisions, responses and failures.
Image: Elastic Security Labs (fair use).The seven-step remediation pattern.

"A successful HTTP response alone isn't sufficient evidence of the desired state," the post says, one of a list of guardrails Elastic recommends for running remediation in production.

Disabling a key without deleting it

The IAM workflow is built for a detection such as an access key used from an unusual location. Rather than deleting the key, which the post says may disrupt an investigation or a workload, it sets the key to inactive, stopping further use while keeping the record for review and rollback.

It supports only long-term IAM user keys, whose IDs begin with AKIA. Temporary credentials beginning with ASIA are rejected before any IAM request, and the analyst is pointed toward session revocation instead. After the UpdateAccessKey call, the workflow retries ListAccessKeys up to three times to allow for AWS's eventual consistency, and succeeds only when the exact target key is confirmed inactive. It needs iam:UpdateAccessKey and iam:ListAccessKeys on the approved user's ARN.

An Elastic Security screenshot of the "Deactivate AWS IAM Access Key" workflow in a test run on November 23, 2026, triggered by Bryan Porras Blanch, with a workflow graph on the left and, on the right, completed steps resolve_target, reject_temporary_credentials, reject_unrecognized_access_key and list_access_keys_before, and a pending request_approval step asking the analyst to approve deactivation of a redacted access key, showing the current ListAccessKeys response with the key's status as Active and a Provide action button.
Image: Elastic Security Labs (screenshot, fair use). The IAM key workflow paused for analyst approval. Key ID redacted by Elastic.

To undo the change, a separately approved workflow can set the key back to Active, though Elastic advises rotating the key rather than reactivating it when compromise remains possible.

Isolating an instance while keeping the evidence

Shutting down a compromised EC2 instance can destroy volatile evidence, interrupt a critical service or trigger automated replacement, the post notes. The EC2 workflow instead replaces the network interface's entire set of security groups with a pre-created isolation group that has no inbound or outbound rules, so the instance stays up for investigation.

An Elastic Security screenshot of the "Quarantine AWS EC2 Network Interface" workflow in a test run on November 23, 2026, with steps resolve_target, validate_target, describe_network_interface_for_review and validate_target_vpc complete, and a pending request_approval step warning that approval will replace the complete ENI security-group set with only the isolation group, that existing security groups will be removed, and that changing security groups does not guarantee existing tracked connections terminate immediately.
Image: Elastic Security Labs (screenshot, fair use). The EC2 quarantine approval prompt. Resource IDs redacted by Elastic.

The workflow checks that the interface belongs to the configured VPC, reads it again before asking for final confirmation and aborts without changing anything if the security groups changed in between. Elastic is candid about the limits. The final read "narrows but cannot eliminate" the gap before the change, because AWS offers no compare-and-swap operation for it, and replacing security groups does not guarantee that established tracked connections end at once. A network ACL deny will not stop traffic within the same subnet, the post says, so a host-level action is needed when those sessions must be cut immediately. One installation covers one VPC.

The pre-change DescribeNetworkInterfaces response is recorded as the rollback source, and Elastic advises restoring exactly that reviewed set of groups after eradication rather than assuming the launch-time groups are still correct.

Closing an audit gap

Stopping a trail is a common defense evasion step because it creates a gap in the audit record without deleting anything. When a detection catches StopLogging, the CloudTrail workflow processes the whole alert batch, normalizes trail names into account-qualified ARNs, merges duplicate alerts for the same trail, asks for approval per trail, calls StartLogging and verifies with GetTrailStatus. The run fails at the end if any target was invalid or any restoration could not be verified.

"Starting a trail doesn't recover events lost while logging was stopped," the authors wrote, so the incident timeline should preserve the beginning and end of the gap.

Locking down a bucket

The S3 workflow applies all four Block Public Access controls and then parses AWS's XML response to verify that each one is true. It takes the bucket owner from the CloudTrail recipient account, not the caller's account, and sends the x-amz-expected-bucket-owner header on every read and write, so AWS rejects the call if the bucket belongs to a different account. It reads the bucket name only from flattened CloudTrail request parameters and deliberately ignores the keyword field, which the post calls "the attacker-influenced keyword representation." Block Public Access does not remove a risky bucket policy or ACL, Elastic notes; it only stops them from granting public access.

What SOC teams should weigh

  • The connector signs with one IAM user's long-term access keys stored in Kibana and works in one AWS account; it cannot assume a role in another. Covering several accounts means installing each workflow per account or branching on the alert's account ID, with a final check that fails the run when no account matches.
  • Elastic advises a dedicated remediation identity rather than administrator credentials, with policies scoped to approved ARNs and wildcards only for Describe actions that do not support resource scoping.
  • CloudTrail and S3 alert-driven runs, and EC2 runs that take the interface ID from CloudTrail, require the AWS integration to retain request parameters in flattened form; alerts missing the needed fields should be enriched or handled through a reviewed manual run.
  • Keep rejected decisions and failed executions visible. "They're operational evidence, not noise," the post says.
  • Elastic's own advice is to start with one detection and one low-risk containment action in a disposable account, and to test the rejection path, verification logic and rollback evidence before attaching a workflow to a production rule.

About the Author

James Whitford

James Whitford covers SOC tooling, SIEM, SOAR, and detection platforms for SOCtember from Austin.

Related stories

Tools desk