Copy an agent policy
- Base URL
-
https://{kibana_url}
- POST /api/fleet/agent_policies/{agentPolicyId}/copy
Copy an agent policy by ID.
Required authorization
- Privileges fleet-agent-policies-all
Responses
Successful response
-
itemobjectrequired -
User defined data tags that are added to all of the inputs. The values can be strings or numbers.
-
is_protectedbooleanrequired -
Indicates whether the agent policy has tamper protection enabled. Defaults to
false. -
keep_monitoring_alivebooleannullable -
When set to true, monitoring will be enabled but logs/metrics collection will be disabled
-
overridesmap string to objectnullable -
Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure.