Commit Graph
400 Commits
Author SHA1 Message Date
Tomas Touceda 06a64cdd2c Use id instead of seen time/created_at to sort hosts (#3482)
* Use id instead of seen time/created_at to sort hosts

* Add test for ordering by id
2021-12-23 15:45:50 -03:00
Luke Heath 1d891cd343 Fix incorrect load state when selecting all hosts from the hosts filter (#3426) 2021-12-22 20:56:52 -06:00
RachelElysia d3b2bd362d E2e policy flow (#3322) 2021-12-22 13:06:52 -05:00
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