Asset Inventory Trend View V2 - GET
GET/v2/inventory/trend
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Returns asset inventory pass/fail trends for the specified time period.
Replacement Endpoint: Asset Inventory Trend 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.
Request
Query Parameters
Possible values: [relative
]
Time type
Number of time units
Possible values: [minute
, hour
, day
, week
, month
, year
]
Time unit
Cloud account
Account group
Cloud type
Cloud region
Cloud service
Resource type
Scan status
Policy compliance standard name
Policy compliance requirement name
Policy compliance section ID
Policy severity
Vulnerability Severity
Responses
- 200
- 400
- 404
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
The number of resources that failed critical severity policies
The number of resources that failed with critical vulnerabilities
Number of failed resources
The number of resources that failed high severity policies
The number of resources that failed with high vulnerabilities
The number of resources that failed informational severity policies
The number of resources that failed low severity policies
The number of resources that failed with low vulnerabilities
The number of resources that failed medium severity policies
The number of resources that failed with medium vulnerabilities
Number of passed resources
Timestamp
Total number of resources
The total number of resources that failed with vulnerabilities
Total number of unscanned resources
[
{
"criticalSeverityFailedResources": 0,
"criticalVulnerabilityFailedResources": 0,
"failedResources": 0,
"highSeverityFailedResources": 0,
"highVulnerabilityFailedResources": 0,
"informationalSeverityFailedResources": 0,
"lowSeverityFailedResources": 0,
"lowVulnerabilityFailedResources": 0,
"mediumSeverityFailedResources": 0,
"mediumVulnerabilityFailedResources": 0,
"passedResources": 0,
"timestamp": 0,
"totalResources": 0,
"totalVulnerabilityFailedResources": 0,
"unscannedResources": 0
}
]
bad_request
not_found