POST
/
api
/
v1
/
stats
/
issuesByVulnClass
Get issues by vulnerability class
curl --request POST \
  --url https://zeropath.com/api/v1/stats/issuesByVulnClass \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '{
  "organizationId": "<string>",
  "projectId": "<string>",
  "startDate": "2023-12-25",
  "endDate": "2023-12-25"
}'
[
  {
    "type": "<string>",
    "count": 123
  }
]

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
organizationId
string
projectId
string
startDate
string<date>
endDate
string<date>

Response

200 - application/json

Successful response

type
string
count
number