This endpoint is designed to retrieve a list of workloads identified in the most recent scan, applying filters specified by the user. Each entry in the resulting list of workloads will include the count of associated images and a detailed breakdown of vulnerabilities found, categorized by their severity, associated risk factors, and any applicable labels.
Examples of Request Objects
To receive results for clusters that contain 'cluster-001' within their names, apply the following filters:
{
"innerFilters": [
{
"cluster": "cluster 001|like"
}
]
}
For specific results specifically to a cluster named 'cluster-test-1', use following filter:
{
"innerFilters": [
{
"cluster": "cluster-test-1"
}
]
}
For filtering results by risk factor and severity, use the following filter:
{
"innerFilters": [
{
"riskFactors": "External facing",
"severity": "Critical,High"
}
]
}
It is recommended to narrow down the scope of the request by using the 'since' field to specify a date,
ideally set to 48 hours prior to the current date.
This approach optimizes the search and ensures the relevance of the data retrieved.
{
"since": "2024-04-01T09:37:45.633230367-05:00"
}