The following command checks if the Qualys vulnerability service is currently running or not. Linux: Code Block |
---|
theme | Midnight |
---|
firstline | 1 |
---|
linenumbers | true |
---|
| sudo /opt/armor/armor vuln service-check |
Windows: Code Block |
---|
theme | Midnight |
---|
firstline | 1 |
---|
linenumbers | true |
---|
| c:\.armor\opt\armor.exe vuln service-check |
The following command restarts the Qualys vulnerability service. Linux: Code Block |
---|
theme | Midnight |
---|
firstline | 1 |
---|
linenumbers | true |
---|
| sudo /opt/armor/armor vuln service-restart |
Windows: Code Block |
---|
theme | Midnight |
---|
firstline | 1 |
---|
linenumbers | true |
---|
| c:\.armor\opt\armor.exe vuln service-restart |
The following command runs a sync job which persists the Qualys HostId of a VM in Armor database. Linux: Code Block |
---|
theme | Midnight |
---|
firstline | 1 |
---|
linenumbers | true |
---|
| sudo /opt/armor/armor vuln sync-agent-id |
Windows: Code Block |
---|
theme | Midnight |
---|
firstline | 1 |
---|
linenumbers | true |
---|
| c:\.armor\opt\armor.exe vuln sync-agent-id |
The following commands uninstall and install the Qualys agent freshly and assigns new HostId to the VM. Linux: Code Block |
---|
theme | Midnight |
---|
firstline | 1 |
---|
linenumbers | true |
---|
| sudo /opt/armor/armor vuln uninstall
sudo /opt/armor/armor vuln install |
Windows: Code Block |
---|
theme | Midnight |
---|
firstline | 1 |
---|
linenumbers | true |
---|
| c:\.armor\opt\armor.exe vuln uninstall
c:\.armor\opt\armor.exe vuln install |
The above Qualys agent service commands can be issued using Toolbox utility in Armor Portal. The steps to schedule a job in Toolbox are as follows. 1. Toolbox utility is available under Infrastructure menu in left navigation as shown below. Click on the blue "SCHEDULE TASK" button as shown in the below screenshot, to schedule a new command execution. Image Added
2. The following screen appears on click on the "SCHEDULE TASK" button. Select the product as Vulnerability Management to see the available operations for a Qualys agent. Image Added
3. Select an operation, for example Restart Vulnerability service, and click on the blue "Select VMs" button to select VM instances as shown in below screenshot to schedule the task. Image Added
4. Once back on the TASK screen as shown in the below screenshot, click on the blue "SCHEDULE TASK" button to create a job which will run on a selected future date or at next Armor agent heartbeat. Image Added
As you can see in the above screenshot, the Restart Vulnerability Service operation is selected to run on one VM instance at next Armor agent heartbeat. 5. Once the scheduled job completes, click the scheduled job record in the Toolbox screen to see the result window as show in the following screenshot. Image Added
|