Skip to main content

Asset Inventory View V2 - POST

POST 

/v2/inventory

deprecated

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.

info

Replacement  Endpoint: Asset Inventory View V3 - POST

note

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:

groupBygroupedAggregates Includes
not specifiedcloudTypeName
cloudTypecloudTypeName
cloud.accountaccountName
cloud.regionregionName, cloudTypeName
cloud.serviceserviceName, cloudTypeName
resource.typeresourceTypeName, cloudTypeName

If groupBy includes multiple values, then groupedAggregates will include multiple attributes.

Request

Responses

success