Commit Graph
433 Commits
Author SHA1 Message Date
Luke Heath afaecee662 Close flash message when a modal is opened (#3711) 2022-01-16 20:46:20 -06:00
Lucas Manuel Rodriguez 61b21df79e Add flags to fleetctl preview to set custom orbit and osqueryd update channels (#3683)
* Add channel options for orbit update on fleetctl preview

* Add changes

* Also set channels on orbit execution in preview
2022-01-14 18:25:26 -03:00
Lucas Manuel Rodriguez d7e2e33e01 Disable orbit osquery extensions on Windows (#3705)
* Disable orbit osquery extensions on Windows

* Add the same to shell.go
2022-01-14 17:42:38 -03:00
RachelElysia 1041c6dd46 Settings Pages Refactor: User management page & Teams > members page (#3625) 2022-01-13 18:11:45 -05:00
Zach Wasserman 1dc6ef6226 Orbit 0.0.6 changelog (#3682) 2022-01-13 14:31:58 -08:00
gillespi314 dc8eacc95c Add AvailableTeams to loginResponse and getUserResponse (#3585) 2022-01-13 13:57:44 -06:00
RachelElysia a85e47b28b Spiffier UI: Dashboard and Manage Host Page loading states (#3638) 2022-01-13 12:12:54 -05:00
gillespi314 6952653e1b Fix usage stats to send missing numLabels field (#3606) 2022-01-13 11:11:13 -06:00
gillespi314 39b7c7d9f9 Add pagination and multi-column sort to live query results table UI (#3647)
* Refactor live query results to react-table
2022-01-13 11:06:32 -06:00
Luke Heath e64f1a63ba Correct instances of multiple requests for same resource (#3631) 2022-01-12 18:16:50 -06:00
RachelElysia 09efce8ea8 Bug fix: No matching hosts message (#3652) 2022-01-12 15:01:47 -05:00
Tomas Touceda 4bed4757fb Remove cleanups and fk for host ids (#3607)
* Remove cleanups and fk for host ids

* Readd missing things to the schema

* Remove unused

* Add changes file and fix some error messages

* Fix test

* Use tx instead of plain writer

* Other fixes

* More not found test fixes

* Go back to getcontext
2022-01-12 14:07:51 -03:00
Tomas Touceda 312bd840a2 Detect not found errors for queries and policies (#3595)
* Detect not found errors for queries and policies

* Fix test
2022-01-12 10:04:16 -03:00
Lucas Manuel Rodriguez 49ceee59aa Add fixes for running tests with mysql:8 and add mysql to test-go job matrix (#3627)
* Add fixes for running tests with mysql:8

* Add getServer function

* Test github matrix

* Add changes file for the user facing fix

* Remove unused mysql8 docker-compose
2022-01-11 22:44:37 -03:00
Martin Angers f14f97156c Add read and write timeout options for redis (#3624) 2022-01-11 17:08:39 -05:00
Luke Heath cc73f2d5a4 Handle response.body if it is not JSON (#3599) 2022-01-11 13:52:28 -06:00
Tomas Touceda c662cd2b53 Add policies yaml (#3464)
* Add policies yaml

* Add documentation and address review comments

* Amend documentation
2022-01-11 11:04:29 -03:00
RachelElysia a5bef8a990 Spiffier: Center logo in nav bar (#3605) 2022-01-10 14:07:47 -05:00
Lucas Manuel Rodriguez 7823bbbaba Fix orbit and osqueryd logging on Windows (#3521)
* Fix orbit and osqueryd logging on Windows

* Add functionality to test the change and use systemprofile app data

* Add centos syslog to README.md

* Add wait on orbit for osquery extension socket to exist (#3571)

* Wait for osquery extension socket to exist

* Amend changes

* Fix lint

* Restore timeout
2022-01-07 19:32:31 -03:00
RachelElysia bb2b8fa70f Spiffier UI: Allow opening nav items in new tab (#3514) 2022-01-07 11:18:21 -05:00
Luke Heath 7161160a9f Audit UI logic and remove redundant initializations (#3574) 2022-01-05 21:41:52 -06:00
RachelElysia 4a382d8b4f Spiffier UI: Checkbox and radio button styling (#3560) 2022-01-04 12:49:42 -05:00
RachelElysia 7ae666a274 User Settings Page: Link to privacy policy (#3561) 2022-01-04 12:48:20 -05:00
Noah Talerman 09654d77ee Prepare for Fleet 4.8.0 (#3536) 2021-12-31 09:58:08 -08:00
Lucas Manuel Rodriguez 2f4ecb1b6b fleetctl package command to check for PEM file (#3375)
#3374
2021-12-29 17:32:55 -08:00
Lucas Manuel Rodriguez aaa5b7ec3c Allow hosts to check in even if Redis is down (#3506) 2021-12-29 17:06:23 -08:00
gillespi314 fec450ab5a Fix pagination for homepage software UI (#3501) 2021-12-29 16:22:18 -06:00
Luke Heath 8f606ffccd Refactor manage hosts search (#3475) 2021-12-29 12:10:54 -06:00
gillespi314 6d2d28d5a8 Add mobile device management and device-user mapping information to host details to UI (#3499)
* Add mdm, munki and device-user mapping to UI
2021-12-27 17:57:15 -06:00
gillespi314 dde8bd88ca Fix bug in live query results UI (#3462) 2021-12-27 12:29:52 -06:00
gillespi314 b54b5722d8 Handle certificate errors in generate installer UI (#3435)
* Handle errors in generate installer UI

* Add pem validation
2021-12-23 18:12:08 -06:00
gillespi314 013f425b0b Add form validation to create/edit user modal (#3479) 2021-12-23 18:09:48 -06:00
Lucas Manuel Rodriguez 787944482b Global policies automation webhooks (#3378)
* Add webhook to app config

* Add redis failing policies set and webhook

* Add basic webhook test

* Store hostname in redis

* Global policy deletion to remove policy ID from set and config

* Also process new passing policies

* Fix unit test

* Sort hosts

* Add more tests

* Add ListSets to the failing policies interface

* Fix server URL and garbage collect on the triggering side

* Do not use Redis SCAN

* Fix Redis operation order

* Add API changes to doc

* Add comments

* Add more tests

* Fix tests

* Add tests for config update upon deletion of policies

* Run make dump-test-schema

* Ignore policies that failed to run

* Add proper unit tests to trigger logic

* Fix comments

* WIP

* Add tests to service_osquerty_test.go

* Use SSCAN for listing hosts instead of SMEMBERS

* Add failing policies to docs/01-Using-Fleet/configuration-files/README.md

* Remove skip

* Fix PR comments
2021-12-23 18:26:55 -03:00
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