Asset Inventory View V2 - POST
POST/v2/inventory
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Returns asset inventory pass/fail data for the specified time period.
Replacement Endpoint: Asset Inventory View V3 - POST
This endpoint will only be able to access data from the past 1 year. This change is implemented to optimize system performance and reduce data storage requirements of deprecated endpoints.
You can get a list of the valid names and values for the filters body parameter through List Inventory Filters V2.
The response includes an attribute groupedAggregates, whose content depends on the groupBy request body parameter. The following table shows the attributes that groupedAggregates will include for the specified groupBy value:
groupBy | groupedAggregates Includes |
---|---|
not specified | cloudTypeName |
cloudType | cloudTypeName |
cloud.account | accountName |
cloud.region | regionName, cloudTypeName |
cloud.service | serviceName, cloudTypeName |
resource.type | resourceTypeName, cloudTypeName |
If groupBy includes multiple values, then groupedAggregates will include multiple attributes.
Request
Responses
- 200
- 404
success
not_found