Page tree


In This Document 



Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.




Overview

This topic only applies to Armor Anywhere users.

The Get Vulnerability Scan Statistics for a Report API retrieves statistics for a specified report.  

You can use the Get Vulnerability Scans API to find the scanReportId, which will return as id.


Sample request

GET https://api.armor.com/vulnerability-scan/statistics/222

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/vulnerability-scan/statistics/{scanReportId}GET

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
scanReportId

The ID for the specific scan report.

You can use the Get Vulnerability Scans API to find the scanReportId, which will return as id.

IntegerRequired222

Sample return

StatusResponse
200
{
  "totalCriticalStatus": 1,
  "totalHighStatus": 2,
  "totalMediumStatus": 20,
  "totalLowStatus": 10
}