Get Vulnerabilities v3.0

API version3.0
Last Update06/22/2018
AuthenticationYES
HTTP MethodPOST
Content Typeapplication/json
Rate limitedYES
Requests per rate limit10/min
Response FormatJSON

Use to query vulnerabilities which devices on an account have .

API URL

Copy

Request Parameters

KeyDatatypeParameter TypeRequiredDescriptionDefault
access_tokenstringURLYesaccess token which archived from OAuth authentication step
searchstringBodyOptionalA key word to search vulnerabilities.
filterobjectBodyOptionalSpecify filter criteria
filter.severityarrayBodyOptionalSpecify the severity of the vulnerabilities used for filtering. Value can be: "critical", "important", "moderate", "low", "unknown"
filter.scoredoubleBodyOptionalSpecify a score to filter vulnerabilities. MetaAccess returns vulnerabilities that have a score greater or equal to this value. You need to specify what score type in the field filter.score_type; otherwise, the error code 400 is returned
filter.score_typestringBodyOptionalSpecify what score type used to filter along with the field filter.score Value can be: "opswat_score", "cvss2_score", "cvss3_score"opswat_score
sortobjectBodyOptionalSpecify how to sort devices in result-set By default: sort by CVE-ID in ASC order.
sort.orderstringBodyOptionalSpecify how to sort vulnerabilities in result-set Value can be: "asc", "desc"asc
sort.fieldstringBodyOptionalSpecify which field is used to sort vulnerabilities in result-set. Value can be: "opswat_score", "cvss2_score", "cvss3_score", "severity", "cve_id"cve_id
pagenumberBodyOptionalSpecify page number which vulnerabilities will be returned in. If the requested page exceeds the number of pages of devices, error code will be 413. It means that the requested page number is too large, no vulnerability will be returned in this case.1
limitnumberBodyOptionalSpecify maximum number of devices will be returned in the response. The value should be in [1,50].50

Response HTTP Code

See APIs

Response Parameters

KeyDataTypeRequiredDescription
cve_idstringYesCVE ID
severitystringYesvulnerability severity. Value can be: "critical", "important", "moderate", "low", "unknown"
summarystringYesvulnerability summary
updated_datestringYesThe last date NIST updated this vulnerability
opswat_scoredoubleOptionalOpswat score
cvss2_scoredoubleOptionalCVSS 2 score
cvss3_scoredoubleOptionalCVSS 3 score
total_devicesintYesNumber of devices has this vulnerability

Example

Example Request: using Product ID

Copy

Example Response

Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard