v1

latestSwagger 2.02026-07-17172265595.1 KB
compliance

Get benchmark trend

Retrieving a trend of a benchmark result and checks.

post/compliance/api/v3/benchmarks/{benchmark_id}/trend

Path parameters

benchmark_idstring required

Benchmark ID

Request body

end_timeinteger
granularityinteger
start_timeinteger

Response

OK

Example response

{
  "datapoints": [
    {
      "incidents_severity_breakdown": {
        "criticalCount": 1,
        "highCount": 1,
        "lowCount": 1,
        "mediumCount": 1,
        "noneCount": 1
      }
    }
  ],
  "maximum_values": {
    "incidents_severity_breakdown": {
      "criticalCount": 1,
      "highCount": 1,
      "lowCount": 1,
      "mediumCount": 1,
      "noneCount": 1
    }
  },
  "minimum_values": {
    "incidents_severity_breakdown": {
      "criticalCount": 1,
      "highCount": 1,
      "lowCount": 1,
      "mediumCount": 1,
      "noneCount": 1
    }
  }
}