Get Aggregate Data by History
POST/dlp/api/v1/inventory/objects/aggregate/history
Returns counts of objects that satisfy the given creation time window and other filters.
Request
- application/json; charset=UTF-8
Body
- Array [
- ]
- RelativeTimeRangeConfigModel
- AbsoluteTimeRangeConfigModel
- ToNowTimeRangeConfigModel
- absolute
- relative
- to_now
Detailed
Array of specific fields to return
filters object[]
Filtering parameters.
For filter names, refer to List Filters API.
For filter values, refer to List filter suggestions.
The only exception is resource.tagv2 filter name, provide filter value for it in the following format: "{"key":"'CustomerTagKey'","value":"'CustomerTagValue'"}"
Name
Possible values: [tag:yaml.org,2002:value =
]
Operator
Value
For asset or data inventory only. Group returned items by cloud.type, cloud.service, cloud.region, cloud.account, and/or resource.type
Maximum number of items to return. When data is paginated, maximum number of items per page.The maximum cannot exceed 10,000. The default is 10,000.
The number of items to skip before selecting items to return. Default is zero
Setting this pagination Token to the nextPageToken from a response object returns the next page of data
Array of sort properties. Append :asc or :desc to the key to sort by ascending or descending order respectively. Example sort properties are id:asc and timestamp:desc
Possible values: [1
, 2
, 3
]
Table level
timeRange object
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
Total malware objects changed
Objects changes
Public objects changed
Public resources changed
Resources changed
Sensitive objects changed
Total malware objects
Total objects
Public objects
Public resources
Total resources
Sensitive objects
{
"malwareObjectsDelta": 0,
"objectsDelta": 0,
"publicObjectsDelta": 0,
"publicResourcesDelta": 0,
"resourcesDelta": 0,
"sensitiveObjectsDelta": 0,
"totalMalwareObjects": 0,
"totalObjects": 0,
"totalPublicObjects": 0,
"totalPublicResources": 0,
"totalResources": 0,
"totalSensitiveObjects": 0
}