stack kb agent-builder put-agent-builder-agents-id-access-control cli command
Auth required
Idempotent
Scope: global
elastic stack kb agent-builder put-agent-builder-agents-id-access-control \
--id <id> \
--entries <entries> \
[options]
Update an agent's access control list
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--idstringrequired- The unique identifier of the agent whose access control to update.
--entriesstring[]required-
Access-control entries to apply to the agent. Each entry has a
type(currently onlyuseris supported), aname(the principal username), and arole.Repeatable: pass
--entriesmultiple times to supply more than one value --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON