Uninstalling Cloud Agent

Uninstalling Cloud Agent using User Interface or API

When you uninstall a cloud agent using the Cloud Agent user interface or Cloud Agent API, the agent and license are removed from the Qualys subscription. Also, the associated agent host record and scan results are purged for any licensed modules, such as Vulnerability Management and Policy Compliance.

Uninstalling Cloud Agent from Host

When you uninstall a cloud agent from the host itself (using the uninstall utility), the agent record, its license usage, and scan results are still present in the Qualys subscription. To remove the agent’s host record, license, and scan results use the Cloud Agent module user interface or Cloud Agent API to uninstall the agent. Use the following command to uninstall Cloud Agent and remove the installation package.

pkgrm -a /opt/qualys/cloud-agent/.pkg-uninstall-noask package_file