Commit Graph
2673 Commits
Author SHA1 Message Date
gillespi314 edd4366abf Update 3-REST-API.md
Update `/config` API documentation for `osquery_detail` response in nanoseconds instead of string
2021-08-26 22:15:38 -05:00
Zach Wasserman 780a728f05 Improve hiding of UI flash messages (#1728)
Use the React hooks for modifying state rather than operating directly
on the DOM for hiding of the flash messages.
2021-08-26 17:07:16 -07:00
gillespi314 aa588bc1ae Manage hosts page improvements (#1690)
* Improve loading states, query param validation

* Refactor getNextLocationUrl; persist url params

* Update next location routing for certain UI actions
2021-08-26 14:49:30 -05:00
Zach Wasserman 530f913d6a Run go tests & codecov only on Go PRs (#1826) 2021-08-26 11:25:25 -07:00
Zach Wasserman 8a15f6d270 Add codecov to CI (#1824)
This should cause codecov to run on all pull requests and all commits to main.

Currently only doing coverage for Go files.
2021-08-26 09:53:10 -07:00
chrichts a9592117a5 Fix bug in running orbit on Linux (#1815)
Mkbom was referencing a non-existant folder, updated to point at the correct folder.
2021-08-26 08:37:57 -07:00
Tomas Touceda 2fd725c81b Export fields so the select will work with the struct (#1819) 2021-08-26 11:56:05 -03:00
Tomas Touceda d6d53acda5 Issue 1600 fleetctl license expiration (#1800)
* Show banner in fleet and fleetctl if license expired

* Ignore if license is nil or tier is core

* Address review comments
2021-08-26 10:28:53 -03:00
Zach Wasserman 801f44da86 Update changelog for Fleet 4.2.3 (#1811) 2021-08-25 20:11:45 -07:00
Zach Wasserman 4eec4ebbbe Fix typo in Prometheus docs (#1814) 2021-08-25 20:08:22 -07:00
Zach Wasserman 5993018214 Fix live query timeout handling (#1759)
Correct cleanup of the connections was verified with the pprof goroutine
tool.

Fixes #1751
2021-08-25 15:28:04 -07:00
Zach Wasserman 53e4f1077e Add make changelog command and update documentation (#1795) 2021-08-25 15:14:24 -07:00
noahtalerman a02bede9c7 Update "Policies" section in API docs (#1801)
- Add anchor link to "Policies" section. Move this section below "Packs"
- Add note on Fleet version in which the Policies feature will be released
2021-08-25 17:05:48 -04:00
RachelElysia 3947838b65 Manage Hosts Page: Enroll secret secondary action (#1787) 2021-08-25 13:06:35 -07:00
RachelElysia f10636f8d1 Host Details Page: Render disk space (#1770) 2021-08-25 13:05:54 -07:00
noahtalerman 4b00417b29 Add "New feature work" issue template (#1790) 2021-08-25 11:22:11 -04:00
Tomas Touceda 1f5094d97e Make adding routes a bit simpler (#1771)
* Make adding routes a bit simpler

* Remove unused handle

* Lint

* More lint
2021-08-25 10:08:14 -03:00
Zach Wasserman eead6d8bd1 Add retries for flaky admin test (#1780)
This test was flaky in CI, and should mostly stop causing issues with
retries configured.
2021-08-24 15:59:51 -07:00
Tomas Touceda 5fb5995b83 Remove unneeded interfaces (#1779)
* Remove unneeded interfaces

* Remove unused code
2021-08-24 18:49:56 -03:00
Mike Thomas 9158b6168a Website - updated redirects and top nav (#1748)
* Website - updated redirects and top nav

Updated Get Started and Pricing redirects.

I also propose that Get Started should be a simple link to the Get Started guide, rather than a drop down.

Contribute and Hall of fame confuse the getting started process, and so I think these should reside in the footer nav.

* Update pricing.ejs

Updated link and FREE tier button label for consistency.

* Update routes.js

Added '/install': '/get-started', to convenience.

* Update routes.js

Removed 'GET /install': { action: 'view-get-started' }, from webpages.
2021-08-24 16:28:11 -05:00
Tomas Touceda a8642493ad Add global policies (#1750)
* Add global policies

* Update documentation and add extra parameter to config

* Fix failing tests

* Store historic policy records

* Address review comments

And also remove other inmem references I saw by chance

* Add documentation for get by id request

* Add parameter doc

* Move schema generation to a cmd instead of a test

Otherwise it messes up running all tests sometimes depending on how parallel it does

* Remove brain dump for another task

* Make migration tests a separate beast

* Make schema generation idempotent and move dbutils cmd to tools

* Allow all filters and add counts to Policy

* Add test for Policy
2021-08-24 17:24:52 -03:00
Martin Angers 80fb3cb145 Run golangci-lint with the make lint-go target, adjust workflows (#1778) 2021-08-24 15:36:50 -04:00
Martin Angers e61cb7e0db Configure golangci-lint for the whole repository
Add a relatively minimal set of linters that raise safe and 
mostly un-opinionated issues with the code. It runs 
automatically on CI via a github action.
2021-08-24 13:35:03 -04:00
Martin Angers a3714d2ed9 Add fleetctl debug connection command (#1706)
Adds the `fleetctl debug connection` command to investigate
connection issues to the fleet server.

Closes #1579 .
2021-08-24 08:50:03 -04:00
William Theaker c81a18922d Vuln processing documentation tweak (#1768) 2021-08-23 16:37:00 -07:00
Tomas Touceda 612fa05dd3 Log errors when osquery endpoints have issues (#1764) 2021-08-23 19:40:00 -03:00
Martin Angers bfdc014cc1 Fix sql-related missing Close/Err calls (#1769) 2021-08-23 16:33:41 -04:00
gillespi314 40b0888416 Refresh host details after team transfer (#1746)
* Add API call to refresh host in local state

* Add API call to refresh host in local state

* Add host details tests to Cypress
2021-08-23 14:11:37 -05:00
Martin Angers 605983f422 Mention the forward-only migrations in the docs (#1767) 2021-08-23 14:26:34 -04:00
Tomas Touceda a1ceebf267 Make team schedule names more user friendly and hide them from host pack stats (#1737)
* Make team schedule names more user friendly and hide them from host pack stats

* Delete test for a different bug and add migration

* Update name template
2021-08-23 14:23:47 -03:00
Tomas Touceda 66d864cc84 Remove extra logIPs from host auth mw (#1762)
* Remove extra logIPs from host auth mw

* Fix test
2021-08-23 14:23:27 -03:00
Tomas ToucedaandMartin Angers 26a08096fb Use GROUP_CONCAT instead of JSON_ARRAYAGG (#1752)
* Use GROUP_CONCAT instead of JSON_ARRAYAGG

* Update server/datastore/mysql/software.go

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2021-08-23 14:12:30 -03:00
Zach Wasserman cd2c881ae9 Add location of licensing credentials (#1765) 2021-08-23 09:53:18 -07:00
Tomas Touceda b7a65e920a Remove orphan host_software and software before adding fk constriants (#1760) 2021-08-23 13:42:43 -03:00
gillespi314 8b4c6a1dd7 Add host modal: Select team dropdown (#1740)
* Fix Add host modal dropdown for team maintainer

* Update Cypress tests

* Set default values for add host team dropdown
2021-08-20 23:00:44 -05:00
gillespi314 bd38cc1fe9 Fix UI for activity feed initial empty state (#1742) 2021-08-20 22:13:45 -05:00
Tomas Touceda ad18728ac3 Issue 1601 disk space (#1735)
* wip

* Add tests

* Add migration

* Fix tests and set platform for windows correctly
2021-08-20 14:57:37 -03:00
Tomas Touceda 605970c441 Add cascade deletes for host software (#1739)
* Add cascade deletes for host software

* Add changes file

* The drop doesn't work on certain mysql

* Fix error message
2021-08-20 14:29:00 -03:00
Tomas Touceda c6c63ab12a Refactor app config (POC, for now) (#1685) 2021-08-20 12:27:41 -03:00
gillespi314andMike Thomas feba649db5 New "Get started" page on fleetdm.com (#1721)
* Add "Get started" page to fleetdm.com

* Update website/views/pages/get-started.ejs

* Update get-started.ejs

Responsive button fixes.

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2021-08-20 10:34:14 +09:00
Mike McNeil b804f2e569 avoid confusion with the other kind of HR benefits (#1747) 2021-08-19 19:21:57 -05:00
Mike Thomas 3553df6b61 updated-testimonials (#1730)
* updated-testimonials

Updated the testimonial section on homepage.

* testimonial position swap

Swapped the order of testimonials for a more balanced layout.

* added logo image

* Update website/views/pages/homepage.ejs
2021-08-20 09:10:13 +09:00
Zach Wasserman 2d22020973 Update live query API documentation (#1745)
Attempt to add clarity to the process of using the API to run live queries.
2021-08-19 16:39:17 -07:00
Zach Wasserman 23fabff12a Update host API doc (#1744)
Include software inventory and users in example response.
2021-08-19 16:22:17 -07:00
noahtalerman 4836864db6 Fix anchor links for "Get enroll secrets" and "Modify enroll secrets" sections in API docs (#1738) 2021-08-19 17:03:35 -04:00
Mike Thomas 7b3b24547d Updated product name on website and docs (#1731)
Updated product name on website and docs
2021-08-19 12:50:21 -05:00
Mike Thomas 9bef2a1a1b update-ask-questions-about-your-devices.md (#1734)
Changes name to "0-Learn-how-to-use-Fleet.md," moved into "1-Using-Fleet" folder, and deleted "Tutorials" folder.
2021-08-19 23:39:22 +09:00
Tomas Touceda 994d200306 Add PR template (#1683)
* Add PR template

* Add manual QA step
2021-08-19 11:12:40 -03:00
Mike Thomasandnoahtalerman 457ba20aa0 Update Ask-questions-about-your-devices.md (#1733)
* Update Ask-questions-about-your-devices.md

Further edited the doc for tone and grammar.
Added section about enrolling your own device.

* 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

Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>

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

Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>

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

Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>

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

Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>

Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>
2021-08-19 22:27:53 +09:00
noahtalerman 35d15d1274 Update sidepanel padding on existing "New" and "Edit/run" query pages + additional "spiffier" changes (#1716)
- Set explicit width so that changing the selected table does not alter the side panel's width
- Update side panel padding to match Figma
- Update "Software" table styles on the **Host details** page to prevent the table from overflowing the page
- Adjust alignment for edit and delete label icons on **Hosts** page
- Reveal macOS icon the "Hosts" page
2021-08-19 08:39:35 -04:00