Spaces method and path for this operation:
Refer to Spaces for more information.
Get a list of all response actions.
Query parameters
-
The page number to return.
Minimum value is
1. Default value is1. -
The number of response actions to return per page.
Minimum value is
1, maximum value is100. Default value is10. -
A list of response action command names to filter by.
Not more than
50elements. Minimum length of each is1. Values areisolate,unisolate,kill-process,suspend-process,running-processes,get-file,execute,upload,scan,runscript,cancel, ormemory-dump. -
A list of Elastic Agent IDs to filter the response actions by.
-
A list of user IDs that submitted the response actions.
-
A start date in ISO 8601 format or Date Math format (for example,
now-24h). -
An end date in ISO 8601 format or Date Math format (for example,
now). -
The agent type to filter response actions by. Defaults to
endpoint.Values are
endpoint,sentinel_one,crowdstrike, ormicrosoft_defender_endpoint. -
A list of response action IDs whose outputs should be included in the response.
-
A list of response action types to filter by (
automated,manual).Values are
automatedormanual.
curl \
--request GET 'https://localhost:5601/api/endpoint/action' \
--header "Authorization: $API_KEY"
{
"data": [
{
"agents": [
"afdc366c-e2e0-4cdb-ae1d-94575bd2d8e0"
],
"agentType": "endpoint",
"command": "running-processes",
"completedAt": "2022-08-08T09:50:47.672Z",
"createdBy": "elastic",
"id": "b3d6de74-36b0-4fa8-be46-c375bf1771bf",
"isCompleted": true,
"isExpired": false,
"startedAt": "2022-08-08T15:24:57.402Z",
"wasSuccessful": true
},
{
"agents": [
"afdc366c-e2e0-4cdb-ae1d-94575bd2d8e0"
],
"agentType": "endpoint",
"command": "isolate",
"completedAt": "2022-08-08T10:41:57.352Z",
"createdBy": "elastic",
"id": "43b4098b-8752-4fbb-a7a7-6df7c74d0ee3",
"isCompleted": true,
"isExpired": false,
"startedAt": "2022-08-08T15:23:37.359Z",
"wasSuccessful": true
}
],
"elasticAgentIds": [
"afdc366c-e2e0-4cdb-ae1d-94575bd2d8e0"
],
"endDate": "now",
"page": 1,
"pageSize": 10,
"startDate": "now-24h/h",
"total": 2
}