Skip to content

Get vulnerability analysis details of an inventory

Request

Get vulnerability analysis details of an inventory.

Security
bearerAuth
Path
inventoryIdinteger, (int64), >= 1required

ID of the Inventory

Example:1
Query
vulnerabilityNamestring

Name of the vulnerability

analysisStatestringANY|SUPPRESSED|UNSUPPRESSED

Analysis State.

Default:"ANY"
Enum:"ANY""SUPPRESSED""UNSUPPRESSED"
limitinteger, (int64), >= 1

Page Size. Number Of Records to fetch per page

Default:25
offsetinteger, (int64), >= 1

Page Number. Index of the page to start with(starts from 1)

Default:1
curl -i -X GET \
  'https://codeinsightapi.redocly.app/_mock/swagger/inventories/1/vulnerabilities/analysis?vulnerabilityName=string&analysisState=ANY&limit=25&offset=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
inventoryIdinteger, (int32)
analyzedVulnerabilitiesArray of objects(VulnerabilityModel)
Response
{ "inventoryId": 0, "analyzedVulnerabilities": [ {} ] }