Get agent action status
Server:
https://{kibana_url}
- GET /api/fleet/agents/action_status
- GET /s/{space_id}/api/fleet/agents/action_status
Refer to Spaces for more information.
Responses
OK
-
itemsobjectrequired -
actionIdstringrequired -
cancellationTimestring -
completionTimestring -
creationTimestringrequired -
creation time of action
-
expirationstring -
latestErrorsobject -
latest errors that happened when the agents executed the action
-
nbAgentsAcknumberrequired -
number of agents that acknowledged the action
-
nbAgentsActionCreatednumberrequired -
number of agents included in action from kibana
-
nbAgentsActionednumberrequired -
number of agents actioned
-
nbAgentsFailednumberrequired -
number of agents that failed to execute the action
-
newPolicyIdstring -
new policy id (POLICY_REASSIGN action)
-
policyIdstring -
policy id (POLICY_CHANGE action)
-
revisionstring -
new policy revision (POLICY_CHANGE action)
-
startTimestring -
start time of action (scheduled actions)
-
statusrequired -
Values:
COMPLETEEXPIREDCANCELLEDFAILEDIN_PROGRESSROLLOUT_PASSED -
typerequired -
Values:
POLICY_REASSIGNUPGRADEUNENROLLFORCE_UNENROLLUPDATE_TAGSCANCELREQUEST_DIAGNOSTICSSETTINGSPOLICY_CHANGEINPUT_ACTION -
versionstring -
agent version number (UPGRADE action)
Generic Error
-
errorstring -
messagestring -
statusCodenumber