stack kb security-endpoint-management-api endpoint-script-library-patch-update-script cli command

Auth required
elastic stack kb security-endpoint-management-api endpoint-script-library-patch-update-script \
  --script-id <script-id> \
  [options]
		

Update script

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--script-id string required
The ID of the script entry to be updated.
--description string
Description of the script and its purpose/functionality
--example string
Example usage of the script
--file string
The script file upload
--file-type string
The type of the uploaded file, which determines the expected value of pathToExecutable. If fileType is "script", then pathToExecutable should not be included. If fileType is "archive", then pathToExecutable is required and should specify the path to the executable file within the archive.
--instructions string
Instructions for using the script, including details around its supported input arguments
--name string
Name of the script
--path-to-executable string
Used only for when the uploaded script is an archive (.zip file for example). This property defines the relative path to the file included in the archive that should be executed once its contents are extracted. The path should be relative to the root of the archive.
--platform string
Platforms supported by the the script
--requires-input string
Whether the script requires input arguments
--tags string
Tags to categorize the script
--version string
Version of the script
--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