Asset Inventory View V2 - GET
GET/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 - GET
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:
groupBy | groupedAggregates Includes |
---|---|
not specified | cloudTypeName |
cloudType | cloudTypeName |
cloud.account | accountName |
cloud.region | regionName, cloudTypeName |
cloud.service | serviceName, cloudTypeName |
resource.type | resourceTypeName, 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
- 200
- 400
- 404
success
bad_request
not_found