Views:
Convert a vulnerability scan (eVR) file that is not in native SMS-standard format to import to the SMS.

Definition

vulnscanner/convert

Parameters

Parameter Type Description
vendor string Required. Name of the vulnerability management vendor.
  • Nexpose
  • Qualys-CSV
  • Nessus
product string Required. Product name associated with the vulnerability scanner, and can be any value.
version string Required. Version of the vulnerability scanning file format, and can be any value.
runtime date Required.
  • Scan start time and end time, and can be a single date or a date range.
  • When entering a date range, you must use a forward slash (/) to separate the scan start and scan end dates.
  • The date format must be yyyy-MM-dd'T'HH:mm:ss.SSS'Z

Examples

Import a vulnerability scan (eVR) in the Nexpose format:
curl -v -k --header "X-SMS-API-KEY: <string>" -F "file=@vulnScanSampleNexpose.xml" 
"https://<sms_server>/vulnscanner/convert?&vendor=Nexpose&product=Nexpose&version=1.0
&runtime=2014-01-20T13:01:15.255Z/2014-01-20T13:22:14.333Z"
Import a vulnerability scan (eVR) in the Qualys-CSV format:
curl -v -k --header "X-SMS-API-KEY: <string>" -F "file=@vulnScanSampleQualys.csv" 
"https://<sms_server>/vulnscanner/convert?&vendor=Qualys-CSV&product=Qualys&version=1.0
&runtime=2014-01-20T13:01:15.255Z/2014-01-20T13:22:14.333Z"
Import a vulnerability scan (eVR) in the Nessus format:
curl -v -k --header "X-SMS-API-KEY: <string>" -F "file=@vulnScanSampleNessus.nessus" 
"https:<sms_server>/vulnscanner/convert?&vendor=Nessus&product=Nessus-Sample&version=1.0
&runtime=2014-01-20T13:01:15.255Z/2014-01-20T13:22:14.333Z"