Azure-Sentinel/Playbooks/Run-AzureVMPacketCapture
..
azuredeploy.json
readme.md

readme.md

Run-AzureVMPacketCapture

author: Nathan Swift

This playbook will take start a packet capture on a Azure VM Windows or Linux using Network Watcher, the capture will run for ten minutes, and will be stored on a blob storage account.

Deploy to Azure Deploy to Azure Gov

Additional Post Install Notes:

The Logic App creates and uses a Managed System Identity (MSI) to authenticate and authorize against management.azure.com to searhch the hostname entity in Azure Resource Graph and execute a packet capture on the Azure VM. Your Azure VM must have the Network Watcher extension installed.

Assign RBAC 'Reader' role to the Logic App at the Subscription level. Assign RBAC 'Virtual Machine Contributor' role to the Logic App at the Subscription level. Assign RBAC 'Network Contributor' role to the Logic App at the Subscription level.