Commit Graph
552 Commits
Author SHA1 Message Date
Lucas Manuel RodriguezandZach Wasserman ecdfd627b6 Fleet Desktop MVP (#4530)
* 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

* Fleet Desktop Packaging WIP

* Ignore gosec warning

* Trigger on PR too

* Install Go in workflow

* Pass url parameter to desktop app

* Fix fleetctl package

* Final set of changes for v1 of Fleet Desktop

* Add changes

* PR fixes

* Fix CI build

* add larger menu bar icon

* Add transparency item

* Delete host_device_auth entry on host deletion

* Add SetTargetChannel

* Update white logo and add desktop to update runner

* Add fleet-desktop monitoring to orbit

* Define fleet-desktop app exec name

* Fix update runner creation

* Add API test before enabling the My device menu item

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2022-03-21 14:53:53 -03:00
gillespi314 deeaf9d036 Add ability to detect compatibility and update which hosts are checked for a policy (#4703)
Add new usePlatformSelector custom hook
Add new usePlatformCompatibility custom hook
Add new PlatformSelector global component
Refactor PlatformCompatibility as global component
Refactor sql_tools to TypeScript
Improve type definitions for context/policy
Align PolicyPage and QueryPage with platform compatibility changes
2022-03-21 11:51:00 -05:00
Benjamin Edwards 74bb559645 Add public ip to hosts & derive geolocation when rendering host (#4652)
* geoip wip
* return nil if ip is empty string or if ParseIP returns nil
* add ui component to render geolocation if available, address PR feedback
* render public ip if available
* add changes file, document geoip in deployment guide
* update rest-api docs
2022-03-21 12:29:52 -04:00
RachelElysia 84de0b7db0 Fleet Desktop device user page (#4589) 2022-03-21 09:38:59 -04:00
RachelElysia d661d23956 New/Edit Packs Page: Fix hover of pack's target selector (#4592) 2022-03-18 16:01:29 -04:00
gillespi314 c12098577b Add UI for global admin to reset user passwords (#4613) 2022-03-16 11:05:05 -05:00
Lucas Manuel Rodriguez d2ba34c8fc Add distributed discovery query support for detail queries, add orbit… (#4597)
* Add distributed discovery query support for detail queries, add orbit_info ingestion

* Amend changes file
2022-03-15 16:51:00 -03:00
Martin Angers bb678b6b2e Add support for downloading a list of hosts in CSV format (#4596) 2022-03-15 15:14:42 -04:00
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
Martin Angers fc01947ae7 Allow global admin to change anyone's password. (#4582) 2022-03-15 08:11:53 -04:00
RachelElysia bb6db2434e Fleet UI: Enable and disable automation slider (#4554) 2022-03-11 11:56:14 -06:00
Michele Preziuso 68330bd38f Add support for Amazon Linux 2 (#4555) 2022-03-10 15:47:24 -07:00
RachelElysia 5e3bcc4a61 React tab focus bug fix (#4538) 2022-03-10 16:16:07 -06:00
RachelElysia a022a11ebf Frontend Tech Debt: Typescript types (#4319) 2022-03-10 10:10:44 -05:00
Benjamin Edwards f8cf6ea91c make context type value header configurable (#4441)
* make context type value header configurable
* populate config
2022-03-09 17:22:29 -05:00
Martin Angers a1c67547b3 Add new endpoints to retrieve device information by orbit identifier (#4531) 2022-03-09 16:13:56 -05:00
RachelElysia e21299c124 Add Host Modal: Generate fleet installer with fleet desktop (#4522) 2022-03-09 10:49:19 -05:00
RachelElysia 8935515a08 App Settings Page: Align global secret buttons (#4519) 2022-03-09 09:16:45 -05:00
Michal Nicpon 1aa7b96837 change session duration to 5 days (#4480) 2022-03-07 15:37:54 -07:00
RachelElysia 02fa778788 Refactor Query/Policy UX (#4334) 2022-03-07 15:10:23 -05:00
Noah Talerman 937cd7f2eb Update changelog and bump versioning (#4497) 2022-03-07 11:08:51 -06:00
RachelElysia 082dc4d755 Fix diff overriding agent options (#4479) 2022-03-04 16:20:22 -06:00
RachelElysia 91a6b38851 Replace github docs with fleetdm docs (#4458) 2022-03-04 14:00:27 -05:00
RachelElysia c79c9030f1 Bug fix: Whitespace on remaining label tooltips (#4454) 2022-03-04 11:36:12 -05:00
RachelElysia 91474d89a3 Schedule page bug: Fix missing carat/bounciness (#4442) 2022-03-03 18:21:24 -05:00
Luke Heath fbd63c6210 Fix masthead avatar so that gravatar image displays (#4443) 2022-03-03 16:05:54 -06:00
RachelElysia 7d60be4c15 Remove validation for webhook and metadata urls (#4432) 2022-03-03 12:20:49 -05:00
RachelElysia fa3df0347b Debounce, onchange, changelog (#4413) 2022-03-03 08:26:03 -05:00
Benjamin Edwards b053684712 append newline char to raw log bytes for nice NDJSON format (#4425)
* append newline char to raw log bytes for nice NDJSON format
* add changes file
2022-03-02 17:23:23 -05:00
RachelElysia 8af5fa7a5a Fix duplicate (team name, label name, user email) error handling (#4352) 2022-03-01 13:28:51 -05:00
Tomas Touceda 6cffd5438f Only send test email when changing smtp values (#4394)
* Only send test email when changing smtp values

* Update comment
2022-02-28 18:28:51 -03:00
Martin Angers 4930ca2d0e Support listing software hosts count filtered by team (#4388) 2022-02-28 13:55:14 -05:00
Tomas ToucedaandMichal Nicpon 1fdcb1bfc2 Error early if email already exists (#4363)
* Error early if email already exists

* Update changes/issue-4361-mail-change-should-error

Co-authored-by: Michal Nicpon <39177923+michalnicp@users.noreply.github.com>

* Fix test

* Lint fixes

* Fix another test

* Also check for invites

* Improve error checks

* Update comment

* Update tests

* Fix test

Co-authored-by: Michal Nicpon <39177923+michalnicp@users.noreply.github.com>
2022-02-28 09:34:44 -03:00
RachelElysia ecf15adc33 Fleet UI: Enter submits for Remove and Delete modals (#4336) 2022-02-24 09:15:50 -05:00
RachelElysia 57697e4cd4 Loading/error state for Fleet certificate match Figma (#4317) 2022-02-22 17:45:46 -05:00
Martin Angers 84ac0f05a9 Grant write to policies to global maintainer (#4321) 2022-02-22 16:57:36 -05:00
Martin Angers ad5146c491 Allow updating the policy platform (part 1 of the ticket) (#4311) 2022-02-22 13:42:03 -05:00
Tomas Touceda 4034a7ab59 Make SearchHosts behave the same as the filtering in ListHosts (#4295) 2022-02-22 10:19:51 -03:00
Martin Angers 2ab1b9ec85 Remove expiration of API-only user tokens (#4314) 2022-02-22 08:12:03 -05:00
RachelElysia 7cdc7bbec2 E2e Test: Team admin flow (#4301) 2022-02-21 21:09:36 -05:00
Michal Nicpon 4ce23c7d1b Add team targets to pack spec (#4272)
* skip flaky tests
2022-02-21 09:18:58 -07:00
Tomas Touceda 6d582cffa0 Don't depend on last inserted id to get the id for the new software (#4298)
* Don't depend on last inserted id to get the id for the new software

* Correct typo
2022-02-18 16:30:24 -03:00
Lucas Manuel Rodriguez c641e39ef4 Allow disabling auto updates in fleetctl package and orbit (#4296)
* Add disable-updates flag to fleetctl and orbit

* Fix ruleguard execution error on make lint-go

* Introduce dev-mode for ease of development of orbit

* Add changes file
2022-02-18 15:42:39 -03:00
gillespi314 3734cbd3a4 Remove new hosts count from homepage (#4283) 2022-02-17 17:27:29 -06:00
RachelElysia f345446125 Edit Query Page: Fix UX for "Save as new" CTA (#4235) 2022-02-17 14:58:47 -05:00
RachelElysia 689de41878 Settings Page: Render SMTP port error (#4239) 2022-02-17 12:58:25 -05:00
RachelElysia 6f1c61bc86 UI Revamp: Add hosts modal (#4217) 2022-02-16 16:21:42 -05:00
gillespi314 089f49cc5d Add new activity types for policy-related activities (#4043)
* Add new activities for policy create, delete, and modify, and apply policy spec
* Add PoliciesByID ds method; refactor delete svcs
2022-02-16 09:33:56 -06:00
Nate Felton bb0b56acb7 Update postinstall to use more modern launchctl commands (#4179)
* Update postinstall to use more modern launchctl comamnds

Fixes #3995

* Switching to service-target specifier

* Removing unnecessary kill flag
2022-02-16 08:31:16 -03:00
Tomas Touceda a49f2a06ed Allow removal of munki versions (#4189)
* Skip any versions that are empty in munki

* Return not found if munki is uninstalled

* Fix lint

* wip

* Add deleted at for host_munki_version
2022-02-15 16:29:14 -03:00