Luke Heath
e75c5dbdaf
Clear selected hosts on transfer ( #3430 )
2021-12-22 11:07:12 -06:00
Martin Angers
1e2059585a
Add support for google chrome profiles ( #3423 )
2021-12-21 15:36:19 -05:00
Lucas Manuel Rodriguez
93f4577c7d
Fix policy membership migration for MariaDB ( #3418 )
...
* Fix policy membership migration for MariaDB
* Use constraintsForTable to get the proper foreign key names
2021-12-21 14:39:46 -03:00
Tomas Touceda
fe67b0486b
Finish first draft of API versions ( #3216 )
...
* Finish first draft of API versions
* wip
* Finalize tests
* Revert change in handler
* Remove made up version
* Update versioning with aliases
* Add changes file
* Address review comments
* Revert overupdated routes
* Expand life time of deprecated APIs
* Fix test
* Comment out problematic part of test
* Revert bad path changes
2021-12-21 12:23:12 -03:00
Tomas Touceda
5a9e207fbf
Update documentation and add changes file ( #3437 )
2021-12-21 10:47:02 -03:00
gillespi314
c9e8f4aab0
Fix bug in target selector UI ( #3419 )
2021-12-20 12:24:52 -06:00
Luke Heath
1c4bc0954c
Fix loading indicator on select targets pages ( #3408 )
2021-12-20 11:36:17 -06:00
Martin Angers
e988d16eb3
Update the prometheus go client library ( #3140 )
2021-12-20 09:20:58 -05:00
Luke Heath
5b64985ece
Refine manage hosts page to better handle timing and loading issues ( #3402 )
2021-12-17 15:40:57 -06:00
RachelElysia
dc3143b437
Pack flow: Refactor ManagePacksPage ( #3376 )
2021-12-16 15:35:19 -08:00
Luke Heath
f6a74f69c9
Refine create policy UI flow ( #3379 )
2021-12-16 12:09:10 -06:00
RachelElysia
e60332b8b0
Policy Details/Query Details: No hover state if policy/query is not editable by RBAC ( #3368 )
2021-12-16 09:54:53 -08:00
Lucas Manuel Rodriguez
5aeb418945
Exclude old data migration from the migrations check ( #3373 )
2021-12-16 10:52:42 -03:00
Martin Angers
4143a37056
Fix redis scan keys issue for live queries ( #3107 )
2021-12-14 16:30:26 -05:00
Noah Talerman
8957f00d86
Prepare for Fleet 4.7.0 ( #3355 )
2021-12-14 11:25:13 -08:00
Zach Wasserman
33797ddfc1
Optimize requests on packs page ( #3327 )
...
Improves #3259
2021-12-13 21:50:24 -08:00
Lucas Manuel Rodriguez
25fd04ea18
Fix team packs rego policy rules ( #3356 )
2021-12-13 20:53:29 -08:00
Zach Wasserman
ac3d8ddf02
Increase default login session length to 24 hours ( #3340 )
2021-12-13 20:42:30 -08:00
Luke Heath
0d52460c27
Allow platform selection on policy query creation ( #3338 )
2021-12-13 18:21:36 -06:00
RachelElysia
c64627caa4
Manage Queries Page: No queries does not show create new query cta for observers ( #3358 )
2021-12-13 15:57:56 -08:00
RachelElysia
c491616eb5
Manage Host Page Bug: Update observers to not see generate installer CTA ( #3352 )
2021-12-13 13:44:28 -08:00
Zach Wasserman
3a5037f798
Update query for users listing ( #3324 )
...
- Filter undesired entries.
- LEFT JOIN to include users missing groups.
#2488
2021-12-11 16:25:08 -08:00
RachelElysia
e05562ef09
Spiffier: Fix grammar and sentence casing ( #3316 )
2021-12-10 11:57:06 -08:00
Luke Heath
84d36d9e22
Policies own their queries flow QA fixes ( #3323 )
2021-12-10 13:17:36 -06:00
Lucas Manuel Rodriguez
8bbc52bbff
Fix policy rego bug with fleet policies ( #3331 )
...
* Fix policy rego bug with fleet policies
* Simplify rego policy fix
2021-12-10 11:47:41 -03:00
RachelElysia
9e905f8e10
Query Empty Search: Fix count and empty state ( #3314 )
...
* Display count is now correct, bug with 0 being falsy
* Empty component renders for client side search even if data table 'disappears'
* Hide display count if display count is 0 includes for client side search
* Hide search and dropdown if no queries have been created
2021-12-09 14:43:34 -08:00
Tomas Touceda
66f4fc46c0
Only join big tables when absolutely needed ( #3308 )
...
* Only join big tables when absolutely needed
* Fix test
* Revert unintended change in test
2021-12-09 17:36:12 -03:00
Luke Heath
2abae381e9
Add ability to run live queries on new and existing policies ( #3230 )
2021-12-09 10:38:51 -06:00
RachelElysia
b397b3a68e
Dashboard: Show software count in dashboard's software modal ( #3228 )
2021-12-08 22:30:28 -08:00
RachelElysia
37ffb88ec8
Default policy renders on refresh of new policy page, changelog ( #3243 )
2021-12-08 22:16:34 -08:00
Luke Heath
7f8cb264f8
Return spinner when loading live query results ( #3261 )
2021-12-08 16:07:43 -06:00
Zach Wasserman
3a973af164
Fix Windows Orbit packaging with non-stable channel ( #3210 )
2021-12-07 19:49:57 -08:00
Luke Heath
fde1da714b
Add team filtering to software card and improve load states ( #3188 )
2021-12-07 14:42:21 -06:00
Tomas Touceda
8686c1520b
Add index software ( #3241 )
...
* Add index to software over name/id
* Update schema
* Remove double semi colon
2021-12-07 16:36:13 -03:00
Lucas Manuel Rodriguez
8cea7f480a
Add HostLinuxOSs ( #3217 )
...
* Add HostLinuxOSs
* Add test for PlatformFromHost
* Add sles, gentoo and kali on linux host OSs
2021-12-07 15:37:00 -03:00
RachelElysia
04fe0a42b5
App wide: Better errors for duplicate query, policy, and team names ( #3121 )
2021-12-07 11:12:36 -06:00
Lucas Manuel Rodriguez
a47c605bdd
Log request errors in non-debug mode (take 2) ( #3215 )
...
* Log request errors in non-debug mode
* Amend test for debug
* Add check for error log
2021-12-07 12:52:43 -03:00
Lucas Manuel Rodriguez
6b8a2cb61a
Fix mysql8 compatibility with zero dates ( #3231 )
...
* Fix mysql8 compatibility with zero dates
* Amend date
2021-12-07 12:51:53 -03:00
Tomas Touceda
dc9686024b
Remove tx from SaveHost ( #3232 )
...
* Remove tx from SaveHost
Also change REPLACE for software for an insert.
* Remove bundle identifier from the get since it's not part of the key
* Revert unneeded change
2021-12-07 12:39:07 -03:00
Luke Heath
78d5e13a97
Show all teams for global users and save team selection between pages ( #3204 )
2021-12-06 20:04:40 -06:00
Luke Heath
b3a69680e7
Fix duplicate hosts on render when host_id URL params are present ( #3189 )
2021-12-06 20:02:52 -06:00
RachelElysia
10dbfaad86
Query UI Bug: Query checkbox now reset on delete ( #3203 )
2021-12-06 11:25:02 -06:00
Lucas Manuel Rodriguez
c5375263b6
Change policy platforms name to platform singular (for consistency) ( #3221 )
...
* Change policy platforms name to platform singular
* Fix fleetctl tests
2021-12-06 13:56:28 -03:00
Martin Angers
b84ef79bf4
Add the fleetctl debug {errors,db-locks} sub-commands ( #3168 )
2021-12-06 09:26:01 -05:00
RachelElysia
eba5d1b1b6
Manage Policies Page: New policy modal ( #3108 )
2021-12-05 17:12:55 -06:00
Lucas Manuel Rodriguez
b9a408704e
Add platforms
field to policies ( #3181 )
...
* Add platforms field to policies
* Fix fleetctl tests
* PR review changes
* Add missing tests
* Add changes for ListPoliciesForHost
2021-12-03 15:33:33 -03:00
Tomas Touceda
142006cbdd
Issue 2099 enable vulnerability processing new installs ( #3104 )
...
* Enable vulnerability processing by default
* Add changes file
* Remove wrong env var
* Fix import
* Fix tests
* Update log line
* Remove unneeded import
2021-12-03 14:44:57 -03:00
Luke Heath
4c19c9c8b1
Update policy back link to return to selected team ( #3190 )
2021-12-03 10:13:40 -06:00
Tomas Touceda
17bd4d5110
Remove policy membership history and only store the latest value ( #3178 )
...
* Remove policy membership history and only store the latest value
* Address review comments
* Correct error msg wrap
2021-12-03 13:10:11 -03:00
Tomas Touceda
5cff07f332
Issue 3184 drop event host expiry ( #3185 )
...
* Drop event host_expiry if it exists
* Add changes file
2021-12-03 12:34:58 -03:00
Tomas Touceda
a0404b6736
Add software count API ( #3105 )
...
* Add software count API
* Fix makefile
* Fine no mock generating at this point
* Actually, one last try
* Use go install instead
* Fix go sum/mod
* Improve documentation
* Try setting node to 14
2021-12-03 10:54:17 -03:00
Tomas Touceda
052e41851b
Prepare for Fleet 4.6.2 ( #3146 ) ( #3179 )
...
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2021-12-02 16:56:56 -03:00
RachelElysia
1253020678
New Policy UI: Add policy resolution to create and edit policy ( #3125 )
2021-12-02 10:03:56 -05:00
Luke Heath
e750eb9745
Standardize TeamsDropdown component usage ( #3135 )
2021-12-01 17:37:33 -06:00
Luke Heath
79e046182a
Add client side pagination to queries table ( #3165 )
2021-12-01 13:05:04 -06:00
Luke Heath
6624a9dfef
Add redirects to page paths ( #3161 )
2021-12-01 11:42:31 -06:00
RachelElysia
cb4707cef0
Query and Policy Flow: SQL error in realtime ( #3158 )
2021-12-01 12:18:58 -05:00
Lucas Manuel Rodriguez
e64a88d8b1
Add COALESCE
s on all host_seen_times
JOINs ( #3147 )
...
* Add COALESCEs on all host_seen_times JOINs
* Use tx instead of d.writer
* Add unit tests
* Fix compile test
2021-12-01 09:05:23 -03:00
Tomas Touceda
4ef9cfdf63
Increase grace period of status for hosts ( #3151 )
...
* Increase grace period of status for hosts
* Update tests
* Update more tests
2021-11-30 18:37:27 -03:00
RachelElysia
3b0a454fb5
App wide UI: Fix policies keys ( #3145 )
2021-11-30 13:24:30 -05:00
RachelElysia
b3b107512e
Host Details Page: OS policy creator ( #3109 )
2021-11-30 12:12:53 -05:00
Tomas Touceda
919a3b5b01
Add forgotten changes file ( #3144 )
2021-11-30 13:12:09 -03:00
RachelElysia
185441adc9
Manage Schedule Page: Create/Edit schedule preview modal ( #3102 )
2021-11-29 18:29:41 -05:00
Tomas Touceda
036093874d
Add cursor pagination to list hosts ( #3120 )
...
* Add cursor pagination to list hosts
* Update docs
* Update based on review comments
2021-11-29 15:06:00 -03:00
Tomas Touceda
a36e029d95
App config caching per instance ( #3071 )
...
* Do caching of app config per instance instead of across all of them in redis
* Add changes file
* Simplify code based on review comment
* Use go-cache instead of creating our own
* Dont export consts
* Copy app config before returning it
* Fix lint
* Update go sum
* Update go sum
2021-11-29 12:51:57 -03:00
Martin Angers
c997f853e5
Make creation of http.Client uniform across the codebase ( #3097 )
2021-11-24 15:56:54 -05:00
Lucas Manuel Rodriguez
964f85b174
Amend policy creation and spec (for proprietary query), and add update APIs ( #2890 )
...
* Amend policy creation (proprietary query), add update APIs
* Fix Datastore.SavePolicy bug (and add tests)
* Add integration tests for new policy APIs
* Add author email
* Add activities
* Push breaking changes for return policy fields
* WIP
* Add integration test for host policies
* Make more improvements to policy representation
* Improve upgrade code (from PR review comments)
* PR changes
* Revert activities for policies
* Use *uint instead of uint for queryID, use fleet.PolicyPayload
* Filter out other schemas
* New policy flow (#2922 )
* created new policy flow -- no API connection
* added api props
* fixed prop name
* lint fixes
* removed unused modal; fixed style
* name, desc icons; created global components
* lint fixes
* ignoring certain files and lines for prettier
* Update frontend/pages/policies/PolicyPage/PolicyPage.tsx
* Make policy names unique across deployment
* Amend upgrade script
* Fix migration for unique names
* Do not deduplicate but instead rename policies
Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
2021-11-24 14:16:42 -03:00
Tomas Touceda
c65f8507fe
Remove host counts from software ( #3082 )
...
* Remove host counts from software
* Actually remove the host count from the struct
* Fix get test
2021-11-23 15:50:51 -03:00
Luke Heath
f510dcf936
Page position jumps when loading homepage software table ( #3092 )
2021-11-23 12:18:35 -06:00
RachelElysia
9cf025a0a5
Fleet UI: No Access only access to dashboard and my account page ( #3063 )
2021-11-23 11:50:21 -05:00
Tomas Touceda
4cd9dab577
Update shell in host users when they exist ( #3072 )
2021-11-23 10:23:12 -03:00
Lucas Manuel Rodriguez
028c2643f7
Fleet serve to exit if migrations are missing (default) ( #2803 )
...
* Add option to fleet to exit if migrations are missing
* Reverse serve exit migrations logic
* Fix typo
2021-11-22 14:47:24 -03:00
Lucas Manuel Rodriguez
0642bfdb1d
Add fleetctl debug migrations
command to get missing migrations ( #2967 )
...
* Add fleetctl command to get missing migrations
* Fix copy paste and lint
* Detect migrations applied out of order
* Add extra bullet to changes
* Trigger creation of migration status tables
* Fix unit tests
* PR fixes
* PR comment fixes
2021-11-22 14:06:12 -03:00
gillespi314
886b30fc4a
Remove five-row limit for teams search ( #3021 )
2021-11-22 09:30:55 -06:00
Zach Wasserman
2b2e9f9f44
Prepare for 4.6.1 release ( #3067 )
2021-11-21 21:23:25 -08:00
Lucas Manuel Rodriguez
59e01fbe08
Make fleetctl apply -f
fail with unknown kind: config
fields ( #3026 )
...
* Make fleetctl apply fail with unknown fields
* Add unit test
2021-11-19 12:37:36 -03:00
Noah Talerman
a6e9d551fd
Prepare for Fleet 4.6.0 ( #3018 )
2021-11-18 17:46:57 -08:00
Zach Wasserman
b65c61cb12
Change Orbit osquery to Fleet osquery in generated packages ( #3034 )
...
Use "Fleet osquery" rather than "Orbit osquery" in packages generated
by `fleetctl package`.
2021-11-18 17:43:52 -08:00
Zach Wasserman
73ee2c6b16
Add changes files
2021-11-18 16:52:53 -08:00
Zach Wasserman
3811a63daf
Add osquery flagfile support in Orbit ( #3006 )
...
- Orbit automatically loads the flagfile when it exists in the orbit
root.
- Add packaging support to include flagfile with package.
- Fix a panic when osquery fails to start up.
2021-11-18 15:06:33 -08:00
gillespi314
c8f3934772
Fix targets selector bug ( #2981 )
2021-11-17 10:26:49 -06:00
Tomas Touceda
77a91a7ab7
Add new index to policy_memership_history ( #2973 )
...
* Add new index to policy_memership_history
* Fix typos
2021-11-17 11:42:24 -03:00
RachelElysia
f81d010b72
Fleet setup: Overflow fix ( #2927 )
2021-11-16 12:55:57 -05:00
Martavis Parker
5ac01dff4e
Re-enabled software card for home page ( #2780 )
...
* re-enabled software
* added changes files
* lint fix
* fixed url format
* fixed 500 bug, order key
* fixed table data
* fixed data gathering and linking to hosts
* fixed grid columns
2021-11-15 15:42:51 -08:00
RachelElysia
a7c6b3e7d7
Add/Edit/Delete enroll secret UI ( #2645 )
2021-11-15 16:16:06 -05:00
Lucas Manuel Rodriguez
5c1edaf527
Kill existing instances of orbit
and osqueryd
in fleetctl preview
( #2921 )
...
* Kill existing instances of orbit and osqueryd in fleetctl preview
* Add changes file
2021-11-15 18:12:25 -03:00
Luke Heath
4619696036
Fix table layout styling on host details and query page ( #2925 )
2021-11-15 14:11:22 -06:00
Zach Wasserman
e279dc1682
Implement fleetctl updates rotate
( #2831 )
...
Add support for updating keys used in the TUF update system.
2021-11-15 10:01:48 -08:00
gillespi314
93764ec3ea
Add update invite action to user management page ( #2919 )
2021-11-15 11:32:28 -06:00
Martin Angers
45168bed1d
Remove deprecated app_configs table ( #2884 )
2021-11-15 09:34:51 -05:00
Martin Angers
3ae57a0242
Create errors with ctxerr, add the call to store them in redis ( #2786 )
2021-11-15 09:11:38 -05:00
Martin Angers
348841c90b
Add explanation output to fleetctl package ( #2864 )
2021-11-15 08:40:58 -05:00
Zach Wasserman
1bd50d8965
Prepare for 4.5.1 release ( #2913 )
2021-11-12 17:03:19 -08:00
gillespi314
86687a80cc
Add query author avatar; format last modified time ( #2898 )
...
Co-authored-by: Luke Heath <luke@fleetdm.com>
2021-11-12 16:45:53 -06:00
Luke Heath
af956537a1
More room for software names and keep tooltips visible ( #2867 )
2021-11-12 15:51:47 -06:00
gillespi314
249ca8482c
Add tab-based UI to host details page ( #2878 )
2021-11-12 13:43:29 -06:00
RachelElysia
7db762f8e2
Homepage UI: Add host total count and host status count ( #2894 )
2021-11-12 09:27:05 -05:00
Lucas Manuel Rodriguez
1f560c56a2
Return all scheduled queries and their stats on the host fetch API ( #2855 )
...
* Return all scheduled queries and their stats on the host fetch API (pack_stats)
* Use 'pack' instead of null and wrap errs with ctxerr
2021-11-12 08:18:25 -03:00
Luke Heath
0183863fb8
Fix team admin and team maintainer team settings display ( #2897 )
2021-11-11 17:31:47 -06:00
Luke Heath
4e1122aa72
Handle Team Admin removing self from team ( #2886 )
2021-11-11 16:46:16 -06:00
Tomas Touceda
a0730ca643
Add update invite API ( #2837 )
2021-11-11 17:33:06 -03:00
gillespi314
3e2dad8caa
Add login shell information to host users table ( #2854 )
2021-11-11 11:26:03 -06:00
gillespi314
229b91b530
Add endpoint for management of team enroll secrets ( #2849 )
2021-11-11 10:45:39 -06:00
Noah Talerman
15ec58ba44
Add missing changes from the 4.5.0 release to changelog ( #2891 )
...
- Remove remaining `changes` files that were included in the 4.5.0 release
- Update CHANGELOG to include the missing changes entries
2021-11-11 09:57:32 -05:00
Tomas Touceda
b802af6f44
Add host count to software API ( #2879 )
...
* Add host count to software API
* Update docs
* Update fleetctl tests to account for host counts
* Update docs to mention host_count special case
* Update func comment
2021-11-11 08:49:17 -03:00
Tomas Touceda
88b32d8c7f
List policies for hosts even if they don't have stats ( #2865 )
2021-11-11 08:40:32 -03:00
Tomas Touceda
b95bb52c89
Issue 2868 ignore admin reset password sso ( #2877 )
...
* Ignore admin forced password reset if sso is enabled
* Add tests for authenticatedUser
* If SSOEnabled is true, then set AdminForcedPasswordReset to false
* Update tests to cover new password reset and sso flow
* Add changes file
2021-11-10 19:30:15 -03:00
RachelElysia
0a5049b51e
Schedules and Policy UI: New empty state ( #2787 )
2021-11-10 13:46:16 -05:00
Luke Heath
700d78278b
Fix z-index of close schema button in query side panel ( #2871 )
2021-11-10 10:24:44 -06:00
Jacob Shandling
01959434cb
Render a host's version of osquery on its host details page ( #2851 )
2021-11-09 14:59:56 -06:00
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 Touceda
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
Tomas Touceda
cbe931c0e9
Add vulnerable filter for software and also wire up the query search ( #2604 )
...
* Add vulnerable filter for software and also wire up the query search
* Add documentation
* Update to use software list options
2021-10-20 18:01:20 -03:00
Tomas Touceda
86b1926d7c
Add missing join condition ( #2586 )
2021-10-20 13:24:51 -03:00
Martin Angers
07cf136d03
Add TLS support to Redis connections ( #2568 )
2021-10-20 10:09:18 -04:00
RachelElysia
34510ed144
Host Details Page: Resolve policy issues ( #2571 )
2021-10-19 19:18:02 -04:00
Martavis Parker
1dfe37accc
Automatically log in preview user ( #2578 )
...
* automatically logging in preview user
* fixed url check
* simplified logic
2021-10-19 14:23:40 -07:00
Tomas Touceda
fe5660e006
Reimplement host expiration to not need mysql events ( #2552 )
...
* Reimplement host expiration to not need mysql events
* Update mocks
2021-10-19 17:47:37 -03:00
Martin Angers
a7420140ce
Use a redis cluster-friendly store for rate limit ( #2577 )
2021-10-19 16:24:13 -04:00
RachelElysia
61e0f37cc6
Manage Host Page: Host issues column with tooltip icon ( #2554 )
2021-10-19 14:15:48 -04:00
Martavis Parker
5be54a72cf
Teams and Software for Homepage ( #2567 )
...
* added global teams dropdown
* added teams dropdown
* created tabs wrapper component
* comment out software table for now
* lint fixes
* added changes file
* removed test data
* fixed permissions
* fixed scroll behavior for test with sticky header
* lint fixes
2021-10-19 11:13:18 -07:00
gillespi314
974485e639
Add ability to refresh host vitals without page reload ( #2559 )
...
* Implement useQuery refetch for host details
* Disable useQuery auto refetch options
* Change refetch message
* Refactor software table
* Refactor users and software states to useQuery
2021-10-19 11:52:57 -05:00
RachelElysia
ce8a8e371a
Team Settings: Edit team modal can hit enter to save team name ( #2555 )
2021-10-19 10:38:42 -04:00
RachelElysia
57150fde6c
Host Details Page: Paginate user and software tables ( #2464 )
2021-10-18 15:14:24 -04:00
Luke Heath
fb6d83ea05
Add policies table to host details page ( #2547 )
2021-10-18 13:29:48 -05:00
RachelElysia
fda757a700
Dashboard: Fix activity feed verbage ( #2540 )
2021-10-18 13:44:13 -04:00
RachelElysia
d58d9507b8
Bug Fix: Loading veil ( #2538 )
2021-10-18 13:42:54 -04:00
gillespi314
8c6ca606c3
Add new UI feature: Filter hosts by software version ( #2541 )
...
* Add new UI feature: filter hosts by software version
* Move specific CVE information to appear alongside aggregate hosts filtered by software version
rather than on individual host details page
* Relocate users table to below software inventory on host details page
2021-10-18 10:01:01 -05:00
Martavis Parker
5f4541be30
New layout for home page with cards ( #2524 )
...
* renamed spinner
* removed redux
* new layout
* changes; default view until more info is added
* fixed page background
* added activities pagination
* lint fix
2021-10-18 06:36:43 -07:00
Martin Angers
057d4e8b2e
Add configuration and support for Redis to read from replicas ( #2509 )
2021-10-18 09:32:17 -04:00
RachelElysia
cc40bf132d
Manage Host Page: No host renders generate installer modal ( #2493 )
...
* Update Context API to contain enrollSecret
* Update e2e tests with generate installer modal
* Edge case with empty Team showing Generate Installer CTA
2021-10-15 09:40:42 -04:00
Tomas Touceda
89c6d18ed2
Issue 2293 reveal failing policies list host ( #2528 )
...
* Add host issues
* Update docs
* Remove comment
* Update tests
2021-10-15 07:34:30 -03:00
Tomas Touceda
d3a0d62902
Issue 2456 policies yaml ( #2512 )
...
* wip
* Add policy specs support
* Add documentation
* Make policy apply idempotent
* Fold in code
* Improve tests and simplify auth checks
* Lint and fix test
2021-10-15 07:34:11 -03:00
Zach Wasserman
a6e8f22d83
Update changelog and configs for patch releases ( #2531 )
2021-10-14 18:17:47 -07:00
RachelElysia
5ba22347ff
App Settings Page: Fix buggy anchor links ( #2479 )
2021-10-14 16:43:30 -04:00
RachelElysia
67645f327b
Manage Host Page: Add tooltip to search ( #2475 )
2021-10-14 11:11:53 -04:00
Zach Wasserman
4d6956b6cb
Remove usage of temporary table in migration ( #2515 )
...
Temporary tables were causing migration issues under some MySQL
configurations as discussed in #2462 .
2021-10-13 16:25:08 -07:00
Luke Heath
6cda48220d
Fix hosts table search and pagination ( #2494 )
2021-10-13 13:36:17 -05:00
Tomas Touceda
0510075398
Issue 2134 add team admin role ( #2499 )
...
* wip
* Add team admin role and tests
* Revert change in invites
* Update permission doc
* Fix lint
2021-10-13 12:34:59 -03:00
RachelElysia
3ca3b1c823
Manage Host Page (Bug fix): Transfer and delete hosts updates total host count ( #2501 )
...
* refetchHosts includes retrieveHosts and retrieveHostCount
2021-10-13 11:30:01 -04:00
Luke Heath
b3e492d10b
Fix pixelated border around default avatar ( #2482 )
2021-10-12 19:56:40 -05:00
Martavis Parker
688a9f01d5
E2E Test fixes ( #2491 )
...
* fixed flow for resetting current session
* ignoring downloads for windows because paths
* using correct shell for windows
* using correct shell for windows
* ignoring exception; we can't fake react context
* changes file
* must wait for flash to show
* lint fixes
* re-added secure package
2021-10-12 14:33:56 -07:00
Benjamin Edwards
16c5823692
add support for minio backend file carving ( #2448 )
...
* add support for minio backend file carving
* add changes file
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-10-12 15:32:06 -04:00
Tomas Touceda
28be73c410
Add missing software in list hosts response ( #2492 )
2021-10-12 15:59:01 -03:00
Tomas Touceda
782f276e0b
Issue 2050 add software filter list hosts ( #2486 )
...
* Add software_id filter to list hosts
* Add integration test for API endpoint
* Add doc
* Simplify sql query
2021-10-12 11:38:12 -03:00
Martin Angers
dcf701ef2b
Support fleetctl preview from a branch, default to production ( #2476 )
2021-10-12 10:20:28 -04:00
RachelElysia
ded8feea56
Host Details Page: Relocate host details page header and buttons ( #2447 )
2021-10-11 14:59:43 -04:00
RachelElysia
2000b1b263
Manage Host Page: Custom host count based on filters, labels, etc ( #2377 )
...
* Host count includes label id parameter
* Remove page and pageSize from hostCountAPI call
* Only retrieve hostCount on filter change
2021-10-11 13:27:14 -04:00
gillespi314
39da3fd84d
Fix display value for policy update interval ( #2468 )
2021-10-11 10:13:10 -05:00
gillespi314
daa8a5d31a
Fix title of manage hosts page UI for free version ( #2467 )
2021-10-11 10:11:54 -05:00
RachelElysia
981028705e
Sentence Case: Throughout UI, tests, validators, docs ( #2455 )
2021-10-11 10:58:27 -04:00
Tomas Touceda
0fd569ebaf
Move migrations around and add missing column only if not available ( #2461 )
...
* Move migrations around and add missing column only if not available
* Add changes file
* Remove debug print
* Remove wrong import
2021-10-08 15:41:52 -03:00