Commit Graph
4187 Commits
Author SHA1 Message Date
RachelElysia 81ccbab31f Dashboard UI: Hosts change on team selection (#2839) 2021-11-09 15:48:23 -05:00
RachelElysia 2d1e4c0898 Reinstate generate installer code from #2493 (#2771) 2021-11-09 15:02:01 -05:00
Luke Heath d9556b3f7f Perform client side filtering with react table (#2834) 2021-11-09 11:31:28 -06:00
Martin Angers b57b64ccb2 Add total and per platform counts to host summary endpoint (#2845) 2021-11-09 09:35:36 -05:00
Tomas Touceda cc7a405f93 Enable software inventory for new installations (#2852) 2021-11-09 10:28:14 -03:00
RachelElysia 8196fd0117 Host Details Page: No CTA for policies that have unknown status (#2841) 2021-11-08 14:19:50 -08:00
RachelElysia ed2a9abd9c Create/Edit pack UX: Pack save redirects to manage packs page, fix flash message (#2767) 2021-11-08 10:18:36 -08:00
Tomas Touceda d0777ccfd3 Change message for text so webhook works on slack (#2838)
* Change message for text so webhook works on slack

* Update preview text for the webhook in the FE
2021-11-08 15:13:02 -03:00
Tomas Touceda 7db6de7278 Serialize hosts writes per instance (#2753)
* Serialize hosts writes per instance

* Write hosts asynchronously

* Dont make the save in a goroutine

* Revert "Dont make the save in a goroutine"

This reverts commit 4a890c5271142755dec69a741582e7eca5c4c62c.

* Make all savehosts async

* Address review comments and make this approach configurable

* Address review comments

* Disable bulk seen time marking for a test

* Move host seen times to a new table

* Remove unused

* Add seen_time to list hosts

* Add some jitter to seen time flushing

* Remove unused

* Add timeout to deferred save host

* Add tests for serialSaveHost

* Update hosts in labels and policy executions in a serial way

* Address review comments and remove fk constraints in host software

* Make errCh buffered

* Add changes file

* Readd key
2021-11-08 11:42:37 -03:00
Martin Angers 1b5ec19cf5 Add author_email to payload of queries (Get/List) (#2798) 2021-11-08 09:06:56 -05:00
RachelElysia 7a22e71c69 Host Details Page: Hover rows for policies table and software table (#2808) 2021-11-05 09:29:03 -07:00
gillespi314 47dcafa2d5 Enhance UI for query-platform compatibility checks in new/edit query form (#2757) 2021-11-04 18:01:24 -05:00
Lucas Manuel Rodriguez 21908f31cf GET packs to always return disabled field (#2799) 2021-11-04 14:25:08 -03:00
gillespi314 136b0450c0 Fix memoization of data transform for query API results (#2790) 2021-11-04 11:48:46 -05:00
RachelElysia 0fbb9ab45f Pass fail UI for Policies app wide (#2769) 2021-11-03 13:13:58 -04:00
RachelElysia 9cb128d17a Teams API: Free tier no longer calls team API throughout the app (#2766) 2021-11-02 14:17:12 -04:00
Martin Angers a8735d55bb Implement async processing of hosts for label queries (#2288) 2021-11-01 14:13:16 -04:00
Noah Talerman 249927f750 Prepare for Fleet 4.5.0 release (#2741) 2021-11-01 11:39:55 -04:00
Tomas ToucedaandLucas Rodriguez fcb5d5b392 Make vulnerability processing less RAM hungry (#2739)
* Make preview work when run from scratch (no orbit running)

* Make vulnerability processing less RAM hungry

* Add changes file

* Only get the cpe list once

* Remove cache

* Try killing osquery as well as orbit and clear their db dir

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
2021-10-29 11:27:12 -03:00
Luke Heath e50ca4ece7 Allow team admins to manage scheduled queries (#2738) 2021-10-28 16:23:23 -05:00
Luke Heath fdb6090203 Show team admins create policy buttons (#2732) 2021-10-28 12:14:01 -05:00
Zach Wasserman 8dc34be3a3 Updates and fixes for packaging (#2682)
- Fix Windows MSI generation by changing permissions (#2655).
- Refactor temp directory initialization.
- Use root user for Wine in WiX Docker container.
- Support .pkg packaging on Linux without dependencies (besides Docker)
2021-10-27 16:17:41 -07:00
Luke Heath b877c4244c Hide delete button from team observers on host details (#2709) 2021-10-27 16:33:20 -05:00
Luke Heath 5566fdf532 Adjust queries page table columns based on screen size (#2695) 2021-10-27 16:19:23 -05:00
RachelElysia 5832316335 Add/Edit Team UI: Disable cta button if team name is empty (#2705) 2021-10-27 13:52:49 -04:00
RachelElysia 1ef3039b01 Add team member spiffied up (#2717) 2021-10-27 13:51:52 -04:00
RachelElysia f645669ec2 App UI: Remove form autocomplete from UI input fields (#2703) 2021-10-27 13:31:45 -04:00
gillespi314 cf0baa7ab0 Restyle button for policy filter & software filter (#2679) 2021-10-27 12:15:13 -05:00
RachelElysia 5561bd6731 Dashboard UI: Style activity feed error state and empty state (#2678) 2021-10-27 10:34:34 -04:00
Luke Heath 6998bc5d8a Include select column in manage hosts for team admins (#2698) 2021-10-26 23:58:44 -05:00
RachelElysia 0f8e3d063b Manage Host Page: Reintroduce add host modal (#2681)
Reverts #2493 - Generate Installer Modal built within that PR
2021-10-26 16:24:50 -04:00
Martavis Parker 9f804e1858 New card for preview self host policies (#2666) 2021-10-26 14:47:34 -05:00
Tomas Touceda 79f2c7c391 Issue 1798 rest api for live queries (#2675)
* wip

* wip

* Make tests not flaky

* Add changes file

* Make logging and authz thread safe

* Move cancel defer below err check
2021-10-26 11:33:31 -03:00
Luke Heath b12c7ab925 Add UI for team admin role (#2637) 2021-10-26 09:24:16 -05:00
Lucas Manuel Rodriguez 3136cc105e Replace into software to update empty bundle_identifier entries (#2676) 2021-10-26 09:48:25 -03:00
Lucas Manuel Rodriguez fb1e78d039 Make /refetch run labels and policies for the host (#2651)
* Make /refetch run labels and policies for the host

* PR rework changes
2021-10-25 15:46:49 -03:00
gillespi314 cab1099890 Surface query-platform compatibility in FleetUI (#2640)
- Add functionality to parse sql for platform compatibility based on osquery tables
- Surface query-platform compatibility in create/edit query form
- Surface query-platform compatibility as new column in manage queries table
- Add filter-by-platform feature to manage queries table
- Refactor manage queries page to useQuery and useContext patterns
2021-10-25 13:00:32 -05:00
RachelElysia fdfabf9e32 Packs UI: Create pack navigates to pack's edit page (#2581) 2021-10-25 09:43:52 -04:00
m4wh6k bb5e5d08f5 Update Orbit README to reflect packaging now done with fleetctl (#2626) 2021-10-24 17:57:08 -07:00
gillespi314 6c58159fb8 Change default org name for fleet preview (#2642) 2021-10-22 17:35:01 -05:00
RachelElysia 36babcc510 UI feature: Frontend of performance impact bubbles (#2589)
Includes backend fixes and test
Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-10-22 16:05:49 -04:00
Lucas Manuel Rodriguez 54805b5b72 Perform early session check on fleetctl commands (#2620)
* Perform early session check on fleetctl

* Add fleetctl test for the early session check
2021-10-22 15:41:17 -03:00
Zach Wasserman 03b81245ee Update files for 4.4.3 release (#2636) 2021-10-22 09:41:50 -07:00
RachelElysia 03d5de364d Fix subsequent delete checkbox state (#2587) 2021-10-22 11:19:34 -04:00
Lucas Manuel Rodriguez c84cbb1679 Fix SearchHosts to match for one-char and two-chars queries (#2590)
* Fix SearchHosts to match for one-char and two-chars queries

* Add issue number for future reference
2021-10-21 17:46:21 -03:00
Lucas Manuel Rodriguez 91ae5ba870 By default, force password reset on CreateUser (#2570)
* By default, force password reset on CreateUser

* Use ptr.Bool and add test

* Add changes file

* Simple fix for e2e tests

* Add API changes
2021-10-21 15:00:38 -03:00
Zach Wasserman 35523017c9 Make migrations compatible with GTID replication (#2615)
* Make migrations compatible with GTID replication

Fixes an issue some deployments encountered when migrations used a
statement that is unsupported in GTID replication mode (#2462).

Local dev MySQL now enforces this consistency, so it should be easier to
maintain compatibility going forward.

* Update docker-compose formatting

* if exists
2021-10-21 07:46:02 -03:00
m4wh6k b856f351b0 Fix broken link on QueriesListWrapper and in docs to std query lib docs (#2614) 2021-10-20 16:53:01 -07:00
Zach Wasserman 42c7933b22 Add WiX Dockerfile and update image name (#2548)
Use a different base image and newer version of Wine to try to mitigate
crashes experienced by users in #2527.
2021-10-20 15:30:46 -07:00
Tomas Touceda c2696c1261 Issue 1892 query perf everywhere (#2580)
* wip

* wip

* wip

* Add performance stats

* Add docs and other self review fixes

* lint

* Update based on review comments

* Add quick cleanup first and then reset to 1hr

* Reduce the load in the test
2021-10-20 18:35:38 -03:00