Skip to main content

Asset Inventory View V2 - GET

GET 

/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 - GET

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.

The response includes an attribute groupedAggregates, whose content depends on the groupBy query parameter. The following table shows the attributes that groupedAggregates will include for the specified groupBy query parameter:

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

If you specify groupBy multiple times in a single request, then groupedAggregates will include multiple attributes. For example, you can set the following in the URL: groupBy=cloud.account&groupBy=cloud.service. Doing so will have the same effect as specifying a comma-separated list of values for groupBy.

Request

Responses

success