Skip to content

Commit

Permalink
API design: Custom packages: set minimum version and automatic install (
Browse files Browse the repository at this point in the history
#22477)

API design for: #22076

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
  • Loading branch information
marko-lisica and rachaelshaw authored Sep 27, 2024
1 parent 35d9b62 commit 0182c12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/REST API/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8977,6 +8977,7 @@ Returns information about the specified software. By default, `versions` are sor
"post_install_script": "sudo /Applications/Falcon.app/Contents/Resources/falconctl license 0123456789ABCDEFGHIJKLMNOPQRSTUV-WX",
"uninstall_script": "/Library/CS/falconctl uninstall",
"self_service": true,
"automatic_install": true,
"status": {
"installed": 3,
"pending_install": 1,
Expand Down Expand Up @@ -9192,6 +9193,9 @@ Add a package (.pkg, .msi, .exe, .deb) to install on macOS, Windows, or Linux (U
| pre_install_query | string | form | Query that is pre-install condition. If the query doesn't return any result, Fleet won't proceed to install. |
| post_install_script | string | form | The contents of the script to run after install. If the specified script fails (exit code non-zero) software install will be marked as failed and rolled back. |
| self_service | boolean | form | Self-service software is optional and can be installed by the end user. |
| automatic_install | boolean | form | Software will be automatically installed on each host. |
| automatic_install_query | string | form | Software is installed if the query doesn't return results. If not specified, Fleet runs default query. |


#### Example

Expand Down

0 comments on commit 0182c12

Please sign in to comment.