Workload details
This endpoint returns the specific workload given agent UUID.
GET /openapi/v1/workload/{uuid}
Path Parameter |
Description |
---|---|
uuid |
Agent UUID |
Response
The response is a workload object associated with the specified UUID. The workload object’s attributes schema is described below:
Attribute |
Type |
Description |
---|---|---|
agent_type |
integer |
Agent type in enum |
agent_type_str |
string |
Agent type in plain text |
auto_upgrade_opt_out |
boolean |
If true, agents do not get automatically upgraded on cluster upgrade |
cpu_quota_mode |
integer |
CPU quota control |
cpu_quota_us |
integer |
CPU quota usage |
current_sw_version |
string |
Version of agent software running on the workload |
data_plane_disabled |
boolean |
If true, flow telemetry data is not exported from the agent to the cluster |
desired_sw_version |
string |
Version of agent software intended to be running on the workload |
enable_conversation_flows |
boolean |
If true, conversation mode is enabled. |
enable_cache_sidechannel |
boolean |
If true, side channel attack detection is enabled |
enable_forensics |
boolean |
If true, forensics is enabled |
enable_meltdown |
boolean |
If true, meltdown exploit detection is enabled |
enable_pid_lookup |
boolean |
If true, process lookup is enabled |
forensics_cpu_quota_mode |
integer |
Forensics CPU quota control |
forensics_cpu_quota_us |
integer |
Forensics quota usage |
forensics_mem_quota_bytes |
integer |
Forensics memory quota in bytes |
host_name |
string |
Host name on the workload |
interfaces |
array |
Array of Interface objects |
kernel_version |
string |
Kernel version |
last_config_fetch_at |
integer |
Last config fetched at |
last_software_update_at |
integer |
Last software is the timestamp at which agent reported its current version |
max_rss_limit |
integer |
Max memory limit |
platform |
string |
Platform of the workload |
uuid |
string |
Unique ID of the agent |
windows_enforcement_mode |
string |
Type of Windows enforcement mode, WAF(Windows Advanced Firewall) or WFP(Windows Filtering Platform) |
Sample Python code
agent_uuid = 'aa28b304f5c79b2f22d87a5af936f4a8fa555894'
resp = restclient.get('/workload/%s' % (agent_uuid))