v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Security

Retrieves trend summary of infrastructure threats

Retrieves trend summary of infrastructure threats

post/v1/secops/dashboard/infra_threats/trend/summary

Request body

start_datestring date-time required

Start date of the time period

end_datestring date-time

End date of the time period

granularity'day' | 'month' required

Granularity for aggregating issues trend data

group_bystring[]

Fields to group the infrastructure threat result

Example request

{
  "granularity": "day",
  "group_by": [
    "severity"
  ]
}

Response

Success

datestring date

Date of the time period

severity'Critical' | 'High' | 'Info' | 'Low' | 'Medium' | 'None' | 'Unknown'

Severity of the threat

countinteger

Count of threats for the given date and severity

Example response

[
  {
    "severity": "Critical"
  }
]