GET
/
v1
/
scans
/
vulns
/
remediation
/
metrics
Get scan vuln remediation metrics
curl --request GET \
  --url https://api.projectdiscovery.io/v1/scans/vulns/remediation/metrics \
  --header 'X-API-Key: <api-key>'
{
  "regression_rate": 123,
  "avg_remediation_time": "<string>",
  "regression_state": "<string>",
  "total_fixed": 123,
  "total_count": 123,
  "severity_breakdown": {
    "critical": 123,
    "high": 123,
    "medium": 123,
    "low": 123,
    "info": 123,
    "unknown": 123
  },
  "status_breakdown": {
    "open": 123,
    "fixed": 123,
    "false_positive": 123,
    "duplicate": 123,
    "fix_in_progress": 123,
    "accepted_risk": 123,
    "triaged": 123
  },
  "time_series": [
    {
      "date": "2023-12-25",
      "avg_remediation_time": "<string>",
      "data": {
        "total_fixed": 123,
        "total_count": 123,
        "severity_breakdown": {
          "critical": 123,
          "high": 123,
          "medium": 123,
          "low": 123,
          "info": 123,
          "unknown": 123
        },
        "status_breakdown": {
          "open": 123,
          "fixed": 123,
          "false_positive": 123,
          "duplicate": 123,
          "fix_in_progress": 123,
          "accepted_risk": 123,
          "triaged": 123
        }
      }
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Headers

X-Team-Id
string

Query Parameters

interval
enum<string>
default:monthly
required

The time interval for the metrics

Available options:
monthly

Response

200
application/json

Example response

The response is of type object.