Spaces method and path for this operation:
Refer to Spaces for more information.
Generates memory dumps on the targeted host.
Body
Required
-
List of agent types to retrieve. Defaults to
endpoint.Values are
endpoint,sentinel_one,crowdstrike, ormicrosoft_defender_endpoint. -
If this action is associated with any alerts, they can be specified here. The action will be logged in any cases associated with the specified alerts. Max of 50.
At least
1but not more than50elements. Minimum length of each is1. -
The IDs of cases where the action taken will be logged. Max of 50.
At least
1but not more than50elements. Minimum length of each is1. -
Optional comment
-
List of endpoint IDs (cannot contain empty strings). Max of 250.
At least
1but not more than250elements. Minimum length of each is1. -
Optional parameters object
curl \
--request POST 'https://<KIBANA_URL>/api/endpoint/action/memory_dump' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"comment":"Generating memory dump for investigation","agent_type":"endpoint","parameters":{"type":"process","entity_id":"abc123"},"endpoint_ids":["ed518850-681a-4d60-bb98-e22640cae2a8"]}'
{
"comment": "Generating memory dump for investigation",
"agent_type": "endpoint",
"parameters": {
"type": "process",
"entity_id": "abc123"
},
"endpoint_ids": [
"ed518850-681a-4d60-bb98-e22640cae2a8"
]
}
{
"data": {
"id": "233db9ea-6733-4849-9226-5a7039c7161d",
"hosts": {
"ed518850-681a-4d60-bb98-e22640cae2a8": {
"name": "gke-node-1235412"
}
},
"agents": [
"ed518850-681a-4d60-bb98-e22640cae2a8"
],
"status": "pending",
"command": "memory-dump",
"outputs": {},
"agentType": "endpoint",
"createdBy": "elastic",
"isExpired": false,
"startedAt": "2022-07-29T19:08:49.126Z",
"agentState": {
"ed518850-681a-4d60-bb98-e22640cae2a8": {
"isCompleted": false,
"wasSuccessful": false
}
},
"parameters": {
"type": "process",
"entity_id": "abc123"
},
"isCompleted": false,
"wasSuccessful": false
}
}