Skip to main content

Get Vulnerabilities Trend

POST 

/adoptionadvisor/api/v2/compute/vulnerabilities/trend

Get vulnerabilities discovered and resolved over time across images, hosts, functions, and containers for the impacted resources.

Request

Body

    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
    privilege string

    privilege

    rowCount int32

    Row count

    rows object[]

    List of vulnerabilities trend data

  • Array [
  • ts int64

    timestamp

    vulStatsContainerC int64

    vulStatsContainerC

    vulStatsContainerH int64

    vulStatsContainerH

    vulStatsContainerL int64

    vulStatsContainerL

    vulStatsContainerM int64

    vulStatsContainerM

    vulStatsFunctionC int64

    vulStatsFunctionC

    vulStatsFunctionH int64

    vulStatsFunctionH

    vulStatsFunctionL int64

    vulStatsFunctionL

    vulStatsFunctionM int64

    vulStatsFunctionM

    vulStatsHostC int64

    vulStatsHostC

    vulStatsHostH int64

    vulStatsHostH

    vulStatsHostL int64

    vulStatsHostL

    vulStatsHostM int64

    vulStatsHostM

    vulStatsImageC int64

    vulStatsImageC

    vulStatsImageH int64

    vulStatsImageH

    vulStatsImageL int64

    vulStatsImageL

    vulStatsImageM int64

    vulStatsImageM

  • ]
Loading...