Create an agent action
- Base URL
-
https://{kibana_url}
Auth
Create a new action for a specific agent.
-
Privileges
fleet-agents-all
-
space_id
string
optional
-
An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.
-
agentId
string
required
-
The agent ID
-
A required header to protect against CSRF attacks
-
action
union anyOf
required
-
Any of:
-
type
enum
required
-
Values:
UNENROLL
UPGRADE
POLICY_REASSIGN
-
data
object
required
-
-
log_level
enum · default: null
nullable
-
Values:
debug
info
warning
error
null
-
type
enum
required
-
Values:
SETTINGS
-
item
object
required
-
-
agents
string[] · max items: 10000
-
created_at
string
required
-
minimum_execution_duration
number
-
namespaces
string[] · max items: 100
-
rollout_duration_seconds
number
-
attributes
object
required
Thank you for your feedback.