This article explains the recommended steps to issue log files with the SVM Agent in the command-line interface of Windows, or Linux and Mac terminals. The SVM Agent supports great set of configuration parameters that make it integrate seamlessly and in a stellar manner at all types of networks.
Synopsis
Running manual scans with the Software Vulnerability Agent in command-line or a terminal of any kind can be required in many scenarios, for example:
You must run the command-line with Administrative account, else the Agent might be blocked by UAC.
When you run the agent like that, Windows uses the permissions of the account that ran CMD.
Command-line interactions do never capture the LocalSystem context, and cannot test against it.
Run the following command to obtain a basic scan log file.
csia.exe -c -d "C:\temp\agentdebug.log" -v
Run the following command to obtain basic scan log file, just differently.
csia.exe -c -v > "C:\temp\agentdebug.log"
Both of the following will work too. Each `-v` parameter (max=3) adds more verbose.
csia.exe -c -v -v > "C:\temp\agentdebug.log"
csia.exe -c -d "C:\temp\agentdebug.log" -v -v -v
To see all switches available use the following command: 'csia.exe -h'. Basically the -d and the -v is added to the last command line instruction in the script.
All Agents installed with the package will create registry keys needed to generate a log file every time it performs a scan and even when it checks-in with its master server. This can be useful when you need to see what happens during installation on many hosts and you don't have time to be doing it manually.
Full list of Agent Parameters
SVM Agent Deployment Logic - Avoid Proxy Blocking - Community
Agent Package Deployment
Uninstall Agent via WSUS/SCCM Deployment
Troubleshoot Certificate Revocation Problems
The information in this KB relates primarily to SVM 2019 solution, but the parameters and approach of command-line interaction are the same and SVM Next users should feel free to download their agents from their interfaces and use this article to the best of their advantage.
on Jul 05, 2018 10:23 AM - edited on Sep 13, 2019 04:28 PM by RDanailov