stack kb security-endpoint-management-api endpoint-script-library-list-scripts cli command
Auth required
Idempotent
Scope: global
elastic stack kb security-endpoint-management-api endpoint-script-library-list-scripts \
[options]
Get a list of scripts
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--pagenumber- Page number of the results to return. Defaults to 1.
--page-sizenumber- Number of results to return per page. Defaults to 10. Max value is 1000.
--sort-fieldenum-
The field to sort the results by. Defaults to name.
Values: name, createdAt, createdBy, updatedAt, updatedBy, fileSize
--sort-directionenum-
The direction to sort the results by. Defaults to asc (ascending).
Values: asc, desc
--kuerystring- A KQL query string to filter the list of scripts. Nearly all fields in the script object are searchable.
--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