fleet/cmd/fleetctl
Lucas Manuel Rodriguez f4d3159cc9
Fleetctl to package .app bundles for osquery (and changes for orbit to support them) (#4393)
* WIP

* WIP2

* Fix orbit and fleetctl tests

* Amend macos-app default

* Add some fixes

* Use fleetctl updates roots command

* Add more fixes to Updater

* Fixes to app publishing and downloading

* Add more changes to support fleetctl cross generation

* Amend comment

* Add pkg generation to ease testing

* Make more fixes

* Add changes entry

* Add legacy targets (until our TUF system exposes the new app)

* Fix fleetctl preview

* Fix bool flag

* Fix orbit logic for disabled-updates and dev-mode

* Fix TestPreview

* Remove constant and fix zip-slip attack (codeql)

* Return unknown error

* Fix updater's checkExec

* Add support for executable signing in init_tuf.sh

* Try only signing orbit

* Fix init_tuf.sh targets, macos-app only for osqueryd

* Specify GOARCH to support M1s

* Add workflow to generate osqueryd.app.tar.gz

* Use 5.2.2 on init_tuf.sh

* Add unit test for tar.gz target

* Use artifacts instead of releases

* Remove copy paste residue

* Trigger workflow on PR

* Fixes to ease handling of artifact

* Fix, do not use target name as dir

* Remove workaround
2022-03-15 16:04:12 -03:00
..
testdata Add team targets to pack spec (#4272) 2022-02-21 09:18:58 -07:00
api.go Print version warning when using fleetctl (#4139) 2022-02-14 09:43:34 -07:00
apply.go Add team targets to pack spec (#4272) 2022-02-21 09:18:58 -07:00
apply_test.go Allow disabling auto updates in fleetctl package and orbit (#4296) 2022-02-18 15:42:39 -03:00
config.go fix: change fleet to uppercase to conform to style guide (#4346) 2022-02-24 17:58:12 +01:00
convert.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
convert_test.go Add team targets to pack spec (#4272) 2022-02-21 09:18:58 -07:00
debug.go Issue 3173 debug status processlist (#4009) 2022-02-03 14:56:22 -03:00
debug_test.go Print version warning when using fleetctl (#4139) 2022-02-14 09:43:34 -07:00
delete.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
delete_test.go Simplify fleetctl implementation and improve testing (#3830) 2022-01-24 16:40:51 -03:00
flags.go Add fleetctl debug connection command (#1706) 2021-08-24 08:50:03 -04:00
fleetctl.go Print version warning when using fleetctl (#4139) 2022-02-14 09:43:34 -07:00
get.go fix format uint (#4221) 2022-02-15 15:03:27 -07:00
get_test.go Add team targets to pack spec (#4272) 2022-02-21 09:18:58 -07:00
goquery.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
hosts.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
hosts_test.go Refactor integration tests (#1821) 2021-09-15 16:27:53 -03:00
kill_process.go Download and launch orbit for the current device when starting preview (#2437) 2021-10-15 18:23:06 -03:00
kill_process_windows.go Download and launch orbit for the current device when starting preview (#2437) 2021-10-15 18:23:06 -03:00
login.go add sso to login help (#4481) 2022-03-08 09:24:04 -07:00
logout.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
logout_test.go Simplify fleetctl implementation and improve testing (#3830) 2022-01-24 16:40:51 -03:00
package.go Allow disabling auto updates in fleetctl package and orbit (#4296) 2022-02-18 15:42:39 -03:00
package_test.go Amend fleetctl package tests to not hardcode orbit version (#3898) 2022-01-31 10:41:11 -03:00
preview.go Fleetctl to package .app bundles for osquery (and changes for orbit to support them) (#4393) 2022-03-15 16:04:12 -03:00
preview_test.go Apply whole yaml not just queries in preview (#3919) 2022-01-28 16:28:07 -03:00
query.go Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
query_output.go Support close the websocket of LiveQueryResultsHandler (#1006) 2021-09-10 16:26:39 -03:00
query_test.go Refactor integration tests (#1821) 2021-09-15 16:27:53 -03:00
session_test.go Print version warning when using fleetctl (#4139) 2022-02-14 09:43:34 -07:00
setup.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
testing_utils.go Print version warning when using fleetctl (#4139) 2022-02-14 09:43:34 -07:00
user.go Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
users_test.go Refactor integration tests (#1821) 2021-09-15 16:27:53 -03:00
vulnerability_data_stream.go Add CentOS parsing+post-processing to reduce false positives in vulnerability processing (#4037) 2022-02-14 15:13:44 -03:00
vulnerability_data_stream_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
yaml.go Fix yaml separator handling with comments (#2257) 2020-07-08 16:01:03 -07:00
yaml_test.go Fix yaml separator handling with comments (#2257) 2020-07-08 16:01:03 -07:00