Skip to content

UnSuppress vulnerability

Request

UnSuppress a vulnerability for given component versions. System administrator only has permission for Global un-suppression, while Developer/Security contact have permission for Project-specific un-suppression.
Note: If a project ID is provided, the un-suppression occurs at the PROJECT level, otherwise, it happens at the GLOBAL level.

Security
bearerAuth
Bodyapplication/jsonrequired

Input model to unSuppress vulnerability

vulnerabilityNamestringrequired

vulnerabilityName

Example:"Vulnerability Name"
componentIdinteger, (int64), >= 1required

componentId

Example:1
versionIdsArray of integers, unique

versionIds

remarksstring, [ 0 .. 255 ] charactersrequired

remarks

Example:"Remarks to Unsuppress Vulnerability"
projectIdinteger, (int32), >= 1

projectId

Example:1
curl -i -X POST \
  https://codeinsightapi.redocly.app/_mock/swagger/vulnerability/unSuppress \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "vulnerabilityName": "Vulnerability Name",
    "componentId": 1,
    "versionIds": [
      0
    ],
    "remarks": "Remarks to Unsuppress Vulnerability",
    "projectId": 1
  }'

Responses

OK