Actions52
- Asset Actions
- Data Import Job Actions
- Job Config Actions
- Notification Actions
- Parser Actions
- Vulnerability Actions
- Vulnerability Audit Log Actions
- Vulnerability Detection Actions
- Vulnerability Detection Rule Actions
- Zone Actions
Vulnerability Detection → Get Stats
AI-generatedSummary
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/statsendpoint 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.
