Chapter 70. Vuln Mgmt Service
70.1. Vuln Mgmt Service Copy linkLink copied to clipboard!
70.1.1. VulnMgmtExportWorkloads Copy linkLink copied to clipboard!
GET /v1/export/vuln-mgmt/workloads
Streams vulnerability data upon request. Each entry consists of a deployment and the associated container images.
70.1.1.1. Description Copy linkLink copied to clipboard!
The response is structured as: {"result": {"deployment": {…}, "images": […]}} … {"result": {"deployment": {…}, "images": […]}}
70.1.1.2. Parameters Copy linkLink copied to clipboard!
70.1.1.2.1. Query Parameters Copy linkLink copied to clipboard!
| Name | Description | Required | Default | Pattern |
|---|---|---|---|---|
| timeout | Request timeout in seconds. | - | null | |
| query |
Query to constrain the deployments for which vulnerability data is returned. The queries contain pairs of | - | null |
70.1.1.3. Return Type Copy linkLink copied to clipboard!
Stream result of v1VulnMgmtExportWorkloadsResponse.
70.1.1.4. Content Type Copy linkLink copied to clipboard!
- application/json
70.1.1.5. Responses Copy linkLink copied to clipboard!
| Code | Message | Datatype |
|---|---|---|
| 200 | A successful response.(streaming responses) | Stream result of v1VulnMgmtExportWorkloadsResponse. |
| 0 | An unexpected error response. |