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

--page number
Page number of the results to return. Defaults to 1.
--page-size number
Number of results to return per page. Defaults to 10. Max value is 1000.
--sort-field enum

The field to sort the results by. Defaults to name.

Values: name, createdAt, createdBy, updatedAt, updatedBy, fileSize

--sort-direction enum

The direction to sort the results by. Defaults to asc (ascending).

Values: asc, desc

--kuery string
A KQL query string to filter the list of scripts. Nearly all fields in the script object are searchable.
--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