Dragos icon

Dragos

Interact with the Dragos OT/ICS cybersecurity platform

Asset → Get Stats

AI-generated

Summary

Retrieve statistical summaries of assets grouped by specified fields and optional intervals for histogram-style bucketing.

Inputs

  • Group By Fields (required) — One or more fields to group the asset stats by, each with an optional interval (e.g., CVSS, Age, Minute, Hour, Day, Week, Month, Year) for histogram bucketing.
  • Options — Optional parameters for sorting the statistics results, including the field to sort by and whether the sort should be descending.

Output shape

a JSON object containing asset statistics grouped according to the specified input fields and intervals.

The output is the raw response from the Dragos API's /api/v4/assets/stats endpoint; grouping fields and intervals affect how stats are aggregated. No pagination applies since this is a single stats request.

Examples

Example 1: Get asset statistics grouped by 'type' field with CVSS interval

Specify 'type' as the field in Group By Fields with 'CVSS' interval to receive stats grouped by asset type and CVSS score buckets.

Links

Discussion