Workload Process Snapshot Summary
This endpoint returns process snapshot summary on this workload. A process snapshot contains all the processes that are captured by the workload at a given time. Currently one copy of the latest process snapshot is retained. The endpoint supports POST method with empty payload to enable easier future expansion.
POST /openapi/v1/workload/{uuid}/process/tree/ids
Path Parameter |
Description |
---|---|
uuid |
Agent UUID |
Response
The response is a list of process snapshot summary JSON objects.
Attribute |
Type |
Description |
---|---|---|
sensor_uuid |
string |
Agent UUID |
handle |
string |
Handle to the process snapshot to be retrieved |
process_count |
integer |
Number of processes in the snapshot |
ts_usec |
integer |
Timestamp when the snapshot is captured |
Sample Python code
agent_uuid = 'aa28b304f5c79b2f22d87a5af936f4a8fa555894'
payload = {
}
resp = restclient.post('/openapi/v1/workload/%s/process/tree/ids' %
agent_uuid, json_body=json.dumps(payload))