From e745ebc9ba604a5741099fb26c3b6f8100a3121c Mon Sep 17 00:00:00 2001 From: michel-laterman Date: Wed, 10 Sep 2025 16:45:32 -0700 Subject: [PATCH] Add agent_policy_id attribute to fleet-agents doc. Add the agent_policy_id attribute to the fleet-agents doc defintion. This attribute differs from the existing policy_id attribute as the new agent_policy_id is used by the agent to communicate what policy it's currently running whereas the existing policy_id is used to what policy it should run. --- .../template-resources/src/main/resources/fleet-agents.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x-pack/plugin/core/template-resources/src/main/resources/fleet-agents.json b/x-pack/plugin/core/template-resources/src/main/resources/fleet-agents.json index 00cb1703605b4..922a04da157f6 100644 --- a/x-pack/plugin/core/template-resources/src/main/resources/fleet-agents.json +++ b/x-pack/plugin/core/template-resources/src/main/resources/fleet-agents.json @@ -227,6 +227,9 @@ "policy_id": { "type": "keyword" }, + "agent_policy_id": { + "type": "keyword" + }, "policy_output_permissions_hash": { "type": "keyword" },