Roll back firmware through the REST API
The ExtraHop REST API enables you to roll back firmware on a sensor or ECA VM to a previous version. In this topic, we show methods for rolling back firmware on a single system through the ExtraHop REST API Explorer and rolling back firmware on multiple systems with a Python script.
If you have upgraded both an ECA VM and connected sensors, you must roll back the sensors before you roll back the ECA VM.
Warning: | Rolling back the firmware on a sensor resets the datastore and removes all metrics. Connected sensors are unaffected. |
Important: | Rollback is not supported for ExtraHop recordstores or packetstores. If you need to roll back ExtraHop recordstores or packetstores, contact ExtraHop Support for assistance. |
Retrieve and run the example Python script
The ExtraHop GitHub repository contains an example Python script that rolls back firmware for multiple sensors or consoles by reading URLs and API keys from a CSV file.
Important: | The example python script authenticates to the sensor or console through an API key, which is not compatible with the Reveal(x) 360 REST API. To run this script with Reveal(x) 360, you must modify the script to authenticate with API tokens. See the py_rx360_auth.py script in the ExtraHop GitHub repository for an example of how to authenticate with API tokens. |
Thank you for your feedback. Can we contact you to ask follow up questions?