Commit Graph
2438 Commits
Author SHA1 Message Date
RachelElysia e8aae0dd25 Spiffier UI: Label pills (#1660) 2021-08-13 17:34:04 -04:00
noahtalerman b2c7faf251 Update "Ask questions about your devices" walkthrough and update API docs (#1670)
- Remove "How to add Fleet's standard query library" section from the "Ask questions about your devices" walkthrough.
- Add `license`, `vulnerability_settings`, and `logging` properties to the example response for the `GET /api/v1/fleet/config` and `PATCH /api/v1/fleet/config` API routes
2021-08-13 15:01:53 -04:00
noahtalerman e2e812d9c2 Add correct query (#1669)
- Replace incorrect query
2021-08-13 15:00:46 -04:00
Tomas Touceda 53e25cf59d Use tx if within a tx (#1668) 2021-08-13 14:59:31 -03:00
Tomas Touceda 512f5defce Detect centos as a host platform more accurately (#1664)
* Detect centos as a host platform more accurately

* Add test for centos host labels
2021-08-13 13:22:09 -03:00
Mike McNeil a1a1b8c5da change zombie notice: 1 hour -> 24h (#1665) 2021-08-13 09:50:58 -05:00
RachelElysia dc77974ef6 Fleet UI: Reroute homepage (#1640)
* Reroute homepage
* Update e2e tests brittle URLs
2021-08-13 10:41:53 -04:00
RachelElysia 4858f3ace0 Flash Messages: Fix 4 second success render (#1662) 2021-08-13 10:29:04 -04:00
Tomas Touceda 5b8a607a81 Add support for MariaDB 10.5.4 and later (#1658)
* Add support for MariaDB 10.5.4 and later

* Fix tests

* Add changes file

* Use require.JSONEq instead of our own version of it
2021-08-13 11:16:19 -03:00
Tomas Touceda 96c0244c04 Fix redis locking receive (#1655)
* Receive redis data with timeout to not hold the connection

* Address review comments
2021-08-13 11:16:11 -03:00
gillespi314 e85996c291 Fleetdm.com: Replace osquery logo (#1663)
* Replace osquery logo
2021-08-12 22:35:34 -05:00
Mike Thomas 4cb315e2f1 Update 12-Supported-browsers.md (#1653)
Grammar/typo fix.
2021-08-11 20:26:29 -05:00
Mike Thomas bc24e88b66 Update Ask-questions-about-your-devices.md 2021-08-12 10:20:54 +09:00
Zach Wasserman b21ca5411a Move static flags to fleet from fleetctl (#1652) 2021-08-11 18:15:58 -07:00
Zach Wasserman 09b561d5ae Add static to ldflags (#1651)
Should fix "not found" error with CGO compiled Fleet binary due to
missing static C libraries.
2021-08-11 18:02:49 -07:00
noahtalerman 2df7c71749 Prepare for Fleet 4.2.0 (#1645) 2021-08-11 17:14:32 -07:00
Zach Wasserman 451493b1ea Update goreleaser configs for 4.2.0 (#1650) 2021-08-11 17:13:11 -07:00
Tomas Touceda e8def4af00 Allow to refetch hosts if you are an observer/maintainer for the team for that host (#1649) 2021-08-11 19:01:37 -03:00
RachelElysia d88fac6b76 Fix button font size (#1648) 2021-08-11 17:57:37 -04:00
Zach Wasserman 544652e833 Clarify label responses and API docs (#1633)
- Include platform and description even when empty in API responses.
- Update docs to indicate immutability.
2021-08-11 14:57:05 -07:00
RachelElysia b2ee3bcb4b Manage Hosts Page: Empty page state (#1634) 2021-08-11 17:37:36 -04:00
Mike Thomas 1d6aa19990 Update Ask-questions-about-your-devices.md 2021-08-12 06:34:24 +09:00
Mike Thomas dca5aac6e1 Update Ask-questions-about-your-devices.md (#1642)
* Update Ask-questions-about-your-devices.md

Added screenshots.

* Update Ask-questions-about-your-devices.md

changed to img tags for better control of sizing.

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md
2021-08-12 06:31:34 +09:00
gillespi314 790d169e14 Display updated team name after edit (#1621) 2021-08-11 15:37:24 -05:00
Tomas Touceda 3d8a766ca1 Make receive calls to redis conn thread safe (#1641)
* Make receive calls to redis conn thread safe

Also removes REDIS_TEST env var. Redis is lightweight and fast, no need
to skip these tests.

* No need to increase the wait
2021-08-11 17:34:35 -03:00
gillespi314 601ffb4fcd Disable edit label page select platform dropdown (#1635)
* Disable edit label page select platform dropdown

* Update label flow test
2021-08-11 15:27:52 -05:00
Tomas Touceda ae2bd137b1 Issue 1632 software inventory config (#1636)
* Add config option for software inventory

* Add documentation for the new config
2021-08-11 15:57:53 -03:00
Tomas Touceda 11dff7ca92 Issue 1588 allow disabling host users (#1611)
* Allow users to disable host_users

* Add missing files

* Address review comments

* Fix tests

* Check additional queries for nil, not the whole hostsettings

* Finally fix tests
2021-08-11 14:56:11 -03:00
Tomas Touceda c781058617 Fix build, add missing tests for cpe translations (#1631)
* Fix build, add missing tests for cpe translations

Also dont fail alltogether if there's one issue translating CPEs, log it and continue

* Make it once every hour again

* Use MATCH but escape strings
2021-08-11 14:52:09 -03:00
Tomas Touceda cf6f2152b6 Document vulnerability processing configuration (#1616)
* Document vulnerability processing configuration

* Fix review comments
2021-08-11 13:42:16 -03:00
Zach Wasserman 740ba7bc25 Remove duplicate registration of results handler (#1605) 2021-08-11 09:39:47 -07:00
RachelElysia 9ac3dcd1e7 Fix transfer sort issue by passing sortBy to loadAll (#1630) 2021-08-11 12:18:31 -04:00
noahtalerman 63e598e595 API documentation for "filter hosts by team" (#1510) 2021-08-11 11:14:59 -04:00
Benjamin Edwards 8bdad712d8 add team_id filter to fleetctl & api (#1596)
* add team_id filter to fleetctl via get hosts --team flag & api via api/v1/fleet/hosts and api/v1/fleet/labels/id/hosts

* update tests & add changes file
2021-08-11 10:40:56 -04:00
RachelElysia 3b4bbf8f8e Frontend Spiffier: Capitalize MIA (#1623) 2021-08-11 10:08:32 -04:00
Tomas Touceda 989e638cc0 Make creating dirs and files more secure by checking permissions (#1566)
* Add safe mkdirall and open

* Use secure as much as possible and merge gomodules for orbit to fleet

* Improve openfile and mkdirall to check for permissiveness instead of equality

* Don't shift

* Fix links

* Address review comments
2021-08-11 11:02:22 -03:00
Mike Thomas 41e8ab271c Update Ask-questions-about-your-devices.md (#1575)
Checked and fixed a couple of typos here and there, and made some edits to some of the sentence structure to improve the flow, and to soften the tone a bit.
2021-08-11 12:15:49 +09:00
RachelElysia 7425aa93c9 Create/Edit Scheduled Query Modal: Config destination help bubble (#1587)
* Render logging information in UI
2021-08-10 18:53:47 -04:00
gillespi314 fce0f16c25 ManageQueriesPage: Table loading state
Improve UI handling of queries loading state in ManageQueriesPage
2021-08-10 16:54:21 -05:00
Tomas Touceda d51493274d Issue 1570 stats perf (#1598)
* Dont delete pack stats before inserting new ones to prevent deadlocks

* Remove fk for scheduled_query_stats

* Remove fk removal

* Fix tests

* Remove unneeded comment
2021-08-10 18:17:06 -03:00
gillespi314 0dccfad032 Add new feature: filter hosts by team (#1592)
Add new dropdown on ManageHostsPage to filter hosts by team
2021-08-10 14:24:13 -05:00
RachelElysia 267b7343e1 Manage Packs Page: Refactor to typescript, functional components, new UI (#1567)
* Refactor ManagePacksPage as functional component in TypeScript
* Refactor old table using TableContainer component
* Add Enable, Disable buttons to DataTable component
* Update Packs interface with additional properties
* Update Cypress e2e tests
2021-08-10 14:25:34 -04:00
Benjamin Edwards 29611d8377 modify packs api to filter non-empty pack_type from response (#1558)
* modify packs api to filter non-empty pack_type from response
* change list packs store method to allow filtering for "system-level" packs, by default the api filters these packs from being returned
* add changes file
* don't allow modifications to global or team packs via apply spec
* refactor to use PackListOptions
2021-08-10 09:43:27 -04:00
Zach Wasserman a29844120b Fix live query for observers (#1603)
Set observer can run when performing authz check for live query results.

Final backend fix for #1515
2021-08-09 19:30:17 -07:00
Zach Wasserman 6a1b82f52f Add yarn install to Windows instructions (#1606) 2021-08-09 18:21:42 -07:00
Zach Wasserman 1b393a7cf1 Fix flaky E2E test (#1604)
Due to https://github.com/cypress-io/cypress/issues/7306, we need to use
`force: true` in many places to avoid flakiness in Cypress tests.
2021-08-09 18:18:04 -07:00
gillespi314 4eee9af856 Observers can run live query (#1590)
Add query_id to Fleet.entities.query
Add query_id to onRunQuery method for QueryPage
Reroute onRunQuery error
2021-08-09 19:53:56 -05:00
RachelElysia 7e74fed006 Cannot refetch or query MIA hosts (#1595) 2021-08-09 19:03:05 -04:00
RachelElysia e99dee52ec Spiffier activity feed with line (#1594) 2021-08-09 16:53:41 -04:00
Tomas Touceda 5b5dca32e9 Add more checks to observers running queries (#1589)
* Add more checks to observers running queries

* Fix test

* Use proper authorize policy instead of doing it by hand
2021-08-09 14:38:06 -03:00