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

--id string required
The unique identifier of the agent whose access control to update.
--entries string[] required

Access-control entries to apply to the agent. Each entry has a type (currently only user is supported), a name (the principal username), and a role.

Repeatable: pass --entries multiple times to supply more than one value

--input-file string
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