Skip to main content

Get Assets with Alerts

POST 

/adoptionadvisor/api/v2/cspm/riskyasset/trend

Get the list of assets generating alerts.

Request

Body

    filters object[]

    List of filters that can be applied for the API

  • Array [
  • name string

    Possible values: [CLOUD_TYPE, ALERT_SEVERITY]

    Name of the allowed Filter types.

    operator string

    Only allowed operator for the filter is '='

    value string

    Value for the applied filter

  • ]
  • timeRange object

    See the Time Range Model for details.

    oneOf
    relativeTimeType string

    Possible values: [BACKWARD, FORWARD]

    Direction in which to count time. Default = BACKWARD

    type string
    value objectrequired

    Model for RelativeTimeDuration

    amount int32

    Number of time units

    unit string

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

    Time unit

    type stringrequired

    Possible values: [absolute, relative, to_now]

    Time type

    type string
    value objectrequired

    Model for Time

    endTime int64

    End timestamp

    startTime int64

    Start timestamp

Responses

successful operation

Schema
    assetsWithAlerts object[]

    Assets with Alerts

  • Array [
  • alertsByCloudType object[]

    alerts

  • Array [
  • critical int64

    critical

    high int64

    high

    informational int64

    informational

    low int64

    low

    medium int64

    medium

    type string

    cloudType

  • ]
  • criticalAssets int64

    criticalAssets

    highAssets int64

    highAssets

    informationalAssets int64

    informationalAssets

    insertTs int64

    insertTs

    lowAssets int64

    lowAssets

    mediumAssets int64

    mediumAssets

  • ]
  • privilege string

    privilege

    rowCount int32

    Row count

Loading...