How to uninstall the sensor
The QualysContainerSensor.tar.xz file (which you download for sensor installation from Qualys Enterprise TruRisk™ Platform) has the script uninstallsensor.sh for uninstalling the sensor.
To uninstall a sensor:
If the Docker host is configured to communicate over docker.sock, use the following command:
./uninstallsensor.sh -s
If the Docker host is configured to communicate over TCP socket then provide the address on which the Docker daemon is configured to listen:
./uninstallsensor.sh DockerHost=<<IPv4 address or FQDN>:<Port#>> -s
For example,
./uninstallsensor.sh DockerHost=10.11.12.13:1234 -s
Follow the on-screen prompts to uninstall the sensor.
Qualys recommends not clearing the persistent storage.