stack kb elastic-package-manager-epm get-fleet-epm-packages-pkgname-pkgversion cli command
Auth required
Idempotent
Scope: global
elastic stack kb elastic-package-manager-epm get-fleet-epm-packages-pkgname-pkgversion \
--pkg-name <pkg-name> \
--pkg-version <pkg-version> \
[options]
Get a package
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--pkg-namestringrequired- Package name
--pkg-versionstringrequired- Package version
--ignore-unverified- When true, returns the package even if the signature cannot be verified
--prerelease- When true, include prerelease versions
--full- When true, return the full package info including assets
--with-metadata- When true, include package metadata such as whether it has package policies
--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)
--no-validate- skip input validation and send the request as-is
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON