Dragos icon

Dragos

Interact with the Dragos OT/ICS cybersecurity platform

Vulnerability Detection → Get Stats

AI-generated

Summary

Retrieve statistical information about vulnerability detections by applying optional filtering criteria and grouping the results by specified fields and intervals.

Inputs

  • Selector — A JSON string to filter vulnerability detections, for example, filtering by severity or other attributes.
  • Group By Fields — One or more fields to group the statistics by, each field can include an optional interval to bucket the groups (e.g., by age, CVSS score, date intervals).
  • Options — Optional sorting options including the field to sort by and whether the sorting should be descending.

Output shape

A JSON object containing statistical summary data for vulnerability detections, grouped and filtered according to the provided selector and group by fields.

The statistics are retrieved by sending a POST request to the /api/v1/vulnerability/detection/stats endpoint with the parsed selector and groupBys fields in the request body. Fields in Group By must be strings and intervals are optional. Selector must be provided as a JSON string that is parsed internally.

Links

Discussion