Skip to content

Commit 33fc566

Browse files
Add agent_policy_id attribute to fleet-agents doc. (#134517)
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.
1 parent da70398 commit 33fc566

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

x-pack/plugin/core/template-resources/src/main/resources/fleet-agents.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@
227227
"policy_id": {
228228
"type": "keyword"
229229
},
230+
"agent_policy_id": {
231+
"type": "keyword"
232+
},
230233
"policy_output_permissions_hash": {
231234
"type": "keyword"
232235
},

0 commit comments

Comments
 (0)