Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊
This playbook can be used by SOC Analysts to stop malicious or compromised EC2 instances in AWS. The playbook can be triggered from a Host entity context in an incident. The playbook takes the Hostname and stops the managed EC2 instances using the Instance ID. The playbook also adds a comment to the incident with instance that was stopped.
| Attribute | Value |
|---|---|
| Type | Playbook |
| Solution | AWS Systems Manager |
| Source | View on GitHub |
This playbook uses 2 Logic App connectors / built-in actions:
| Connector / Action | Type | Connections | Actions |
|---|---|---|---|
azuresentinel |
Managed | 1 | 1 |
function |
Built-in | 0 | 6 |
azuresentinel (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Add_comment_to_incident_(V3) | post | /Incidents/Comment |
— |
function (Built-in)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Create_Automation_Shutdown_Document | — | — | functionId=[concat(variables('AWSSSMFuntionsAppId'), '/functions/CreateDocument')] |
| DeleteDocument | — | — | functionId=[concat(variables('AWSSSMFuntionsAppId'), '/functions/DeleteDocument')] |
| GetAutomationExecution | — | — | functionId=[concat(variables('AWSSSMFuntionsAppId'), '/functions/GetAutomationExecution')] |
| StartAutomationExecution | — | — | functionId=[concat(variables('AWSSSMFuntionsAppId'), '/functions/StartAutomationExecution')] |
| GetAutomationExecution_again | — | — | functionId=[concat(variables('AWSSSMFuntionsAppId'), '/functions/GetAutomationExecution')] |
| GetInventory | — | — | functionId=/subscriptions/4383ac89-7cd1-48c1-8061-b0b3c5ccfd97/resourceGroups/awssystemsmanager/providers/Microsoft.Web/sites/AWSSystemsManager/functions/GetInventory |
📄 Source: AWSSystemsManagerPlaybooks/AWS-SSM-StopManagedInstance-HostEntityTrigger/readme.md
This playbook can be used by SOC Analysts to stop malicious or compromised EC2 instances in AWS. The playbook can be triggered from a Host entity context in an incident. The playbook takes the Hostname and stops the managed EC2 instances using the Instance ID. The playbook also adds a comment to the incident with instance that was stopped.
Playbook performs the following actions:


Once deployment is complete, authorize each connection.
Refer to AWS Systems Manager API Function App Connector documentation for Function App Application Settings (Access Key ID, Secret Access Key and Region) update instruction.
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊