Forum Discussion
VaninaYord
May 05, 2022Copper Contributor
Defender for IoT Automating processes
Hello, I am trying to automate some processes we are performing using Defender for IoT, running on a virtual machine in Azure. Part of the tasks can be performed using the Defender For IoT C...
guarismo
May 11, 2022Copper Contributor
You can do this with the CLI using the cyberx_host user to SSH into the sensor and run tcpreplay, to replay a previously upload PCAP file into the monitoring interface.
BTW, how did you get the Sensor installed on an Azure VM?
There isn't an API endpoint to play PCAPs as far as I know.
Here's the API doc: https://docs.microsoft.com/en-us/azure/defender-for-iot/organizations/references-work-with-defender-for-iot-apis
BTW, how did you get the Sensor installed on an Azure VM?
There isn't an API endpoint to play PCAPs as far as I know.
Here's the API doc: https://docs.microsoft.com/en-us/azure/defender-for-iot/organizations/references-work-with-defender-for-iot-apis