Asset Inventory Trend View V3 - POST
POST/v3/inventory/trend
Returns asset inventory pass/fail trends.
You can get a list of the valid names and values for the filters body parameter through List Inventory Filters V2.
Request
- application/json
Body
- Array [
- ]
Detailed
Array of specific fields to return
filters object[]
Filtering parameters.
For filter names, refer to List Filters API.
For filter values, refer to List filter suggestions.
The only exception is resource.tagv2 filter name, provide filter value for it in the following format: "{"key":"'CustomerTagKey'","value":"'CustomerTagValue'"}"
Name
Possible values: [tag:yaml.org,2002:value =
]
Operator
Value
For asset or data inventory only. Group returned items by cloud.type, cloud.service, cloud.region, cloud.account, and/or resource.type
Maximum number of items to return. When data is paginated, maximum number of items per page.The maximum cannot exceed 10,000. The default is 10,000.
The number of items to skip before selecting items to return. Default is zero
Setting this pagination Token to the nextPageToken from a response object returns the next page of data
Array of sort properties. Append :asc or :desc to the key to sort by ascending or descending order respectively. Example sort properties are id:asc and timestamp:desc
Responses
- 200
- 404
success
- application/json
- 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
}
]
not_found