get-workloads
Fetch workloads from the Illumio PCE, filtering by name, labels, status, or enforcement mode. Choose compact, full, or labels-only detail to match your analysis needs.
Instructions
Get workloads from the PCE. Use detail_level to control breadth vs depth: 'compact' (default) for tabular overviews of thousands of workloads, 'full' for complete data on specific workloads, 'labels_only' for maximum breadth with just identity and labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Filter by workload name (supports partial matches) | |
| labels | No | JSON-encoded list of label URIs to filter by | |
| online | No | Filter online (true) or offline (false) workloads | |
| managed | No | Filter managed (true) or unmanaged (false) workloads | |
| hostname | No | Filter by hostname (supports partial matches) | |
| ip_address | No | Filter by IP address (supports partial matches) | |
| description | No | Filter by description (supports partial matches) | |
| max_results | No | Maximum number of workloads to return (default 10000) | |
| detail_level | No | Level of detail. 'compact' (default): tabular summary with key fields and labels. 'full': complete workload data including services, VEN agent, interfaces. 'labels_only': minimal table of href, name, hostname, and labels. | compact |
| enforcement_mode | No | Filter by enforcement mode |