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
- application/json; charset=UTF-8
Body
- RelativeTimeRangeConfigModel
- AbsoluteTimeRangeConfigModel
- ToNowTimeRangeConfigModel
- absolute
- relative
- to_now
List of cloud account group ids
List of AWS account group names
List of cloud account ids
List of Data classifications
Limit the records returned
timeRange objectrequired
See the Time Range Model for details.
Possible values: [BACKWARD
, FORWARD
]
Direction in which to count time. Default = BACKWARD
value objectrequired
Model for RelativeTimeDuration
Number of time units
Possible values: [minute
, hour
, day
, week
, month
, year
]
Time unit
value objectrequired
Model for Time
End timestamp
Start timestamp
Possible values: [MINUTE
, HOUR
, DAY
, WEEK
, MONTH
, YEAR
, EPOCH
, LOGIN
]
Time range object
Possible values: [absolute
, relative
, to_now
]
Time type
value objectrequired
Model for Time
End timestamp
Start timestamp
Possible values: [BACKWARD
, FORWARD
]
Direction in which to count time. Default = BACKWARD
value objectrequired
Model for RelativeTimeDuration
Number of time units
Possible values: [minute
, hour
, day
, week
, month
, year
]
Time unit
Possible values: [MINUTE
, HOUR
, DAY
, WEEK
, MONTH
, YEAR
, EPOCH
, LOGIN
]
Time range object
Responses
- 200
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
resources object
Model for DLP Resource
exposure object[]
List of exposures and count
Count
Name
Total number of resources
{
"resources": {
"exposure": [
{
"count": 0,
"name": "string"
}
],
"total": 0
}
}