Skip to main content

Get Dashboard Resource Aggregate By Exposure

POST 

/dlp/api/v1/dashboard/resources/aggregate/by-exposure

Returns the total number of resources as well as object counts filtered by exposure.

Request

Body

    accountGroupIds string[]required

    List of cloud account group ids

    accountGroupNames string[]required

    List of AWS account group names

    accountIds string[]required

    List of cloud account ids

    classifications string[]required

    List of Data classifications

    limit int32required

    Limit the records returned

    timeRange objectrequired

    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

success

Schema
    resources object

    Model for DLP Resource

    exposure object[]

    List of exposures and count

  • Array [
  • count int32

    Count

    name string

    Name

  • ]
  • total int32

    Total number of resources

Loading...