Vulnerability Scans API


This topic describes the REST APIs for importing the vulnerability scan in BMC Helix Automation Console.

The base URL for the Vulnerability Scan API is: https://<serverName>/api/v1

POST/api/v1/policies/import-scan

Imports a vulnerability scan.

Request body

Parameter

Description

scanFile

Specifies the scan file to be imported in the product

os

Specifies the operation system.

Vulnerability results that match the specified operating system get imported in the product.

severities

Specifies the severity level.

Vulnerability results that match the specified severity level get imported in the product.

vendor

Specifies the vulnerability scanning vendor.

Example: Qualys, Nessus, Rapid7.

cidrs

Specifies the CIDRs.

Vulnerability results that match the specified CIDRs get imported in the product.


Responses

Code

Description

200

OK

201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

Sample response

{
 "message": "string",
 "success": true
}


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

Helix Automation Console 19.11