Skip to content

Get suppressed vulnerabilities

Request

Get suppressed vulnerabilities based on componentId/vulnerabilityName or both, either of them is mandatory.Only the system administrator has the permission to do this operation.

Security
bearerAuth
Query
componentIdinteger, (int64), >= 1

ID of the Component

vulnerabilityNamestring

Name of the vulnerability

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/vulnerability/suppress?componentId=1&vulnerabilityName=string&limit=25&offset=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
itemNumberinteger, (int32)
suppressIdinteger, (int64)
suppressionScopestring
vulnerabilityIdinteger, (int64)
vulnerabilityNamestring
componentIdinteger, (int64)
componentNamestring
suppressedBystring
suppressedDatestring
suppressionDetailsArray of objects(SuppressionDetailsResponseModel)
componentVersionIdsArray of integers, (int64)
Response
{ "itemNumber": 0, "suppressId": 0, "suppressionScope": "string", "vulnerabilityId": 0, "vulnerabilityName": "string", "componentId": 0, "componentName": "string", "suppressedBy": "string", "suppressedDate": "string", "suppressionDetails": [ {} ], "componentVersionIds": [ 0 ] }