Skip to main content

Get Mean Resolution Time

POST 

/commandcenter/api/v1/metrics/alert-mean-resolution-time

The API returns the mean resolution time of the alert in days per severity based on the filters. You must have Alert_READ permission to access this endpoint.

Request

Body

required
    filters object[]

    List of filters that can be applied for the API

  • Array [
  • name MeanResolutionTimeFilter (string)

    Possible values: [policy.severity, account.groupId, policy.complianceStandardId, cloud.type, policy.type, policy.id, policy.category, cloud.accountId]

    operator string

    Only operator allowed for this filter is '='.

    value string

    Filter value.

  • ]
  • timeRange objectrequired
    type string

    Type of time ranges supported: [relative]

    value object

    Relative time supporting past 24 hour, 7 days, 1 month, 3 months, 6 months and 1 year.

    unit WidgetTimeUnit (string)

    Possible values: [hour, week, month, year]

    amount int32

Responses

OK

Schema
    startTime int64

    Start time of the time range

    endTime int64

    End time of the time range

    lastScanTs int64

    Last scan time of the backend job

    dataAvailableFrom int64

    Time since when the data is aggregated in the response

    value object[]

    Alert metrics details

  • Array [
  • severity string

    Severity name

    numberOfDays double

    Mean resolution time in days

  • ]
Loading...