stack kb elastic-agents get-fleet-agents-files-fileid-filename cli command
Auth required
Idempotent
Scope: global
elastic stack kb elastic-agents get-fleet-agents-files-fileid-filename \
--file-id <file-id> \
--file-name <file-name> \
[options]
Get an uploaded file
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--file-idstringrequired- The ID of the uploaded file
--file-namestringrequired- The name of the uploaded file
--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