Commit Graph
2541 Commits
Author SHA1 Message Date
Martin Angers d1a0ea3881 Reintroduce conversion required for Windows (#1868) 2021-08-31 09:24:28 -04:00
noahtalerman e1ba813f0c Add Schedule feature to permissions documentation (#1864) 2021-08-31 09:04:55 -04:00
Mike Thomas 0adbe0028e Handbook - How to add a link to Fleet docs (#1856)
* Handbook - Adding links to Fleet docs

Instructions for how to add, and fix links in the Fleet docs.

* Update handbook/README.md

* Update handbook/README.md

typo fix.

* Update handbook/README.md

Added paragraph about linking to other docs pages using relative paths.

* Update handbook/README.md
2021-08-31 10:09:37 +09:00
gillespi314 452392f5d2 Add new feature: Policies (#1772) 2021-08-30 18:02:53 -05:00
noahtalerman 247267daa5 Add canonical URL for link to prometheus example configuration (#1854) 2021-08-30 17:00:34 -04:00
RachelElysia 36b69c7a68 UI: License expiration warning banner (#1825) 2021-08-30 15:52:13 -04:00
noahtalerman 63df5881c0 Temporarily comment out failing e2e tests and add coverage to manual QA (#1859)
- Commented out the following e2e tests because they're consistently failing in the GitHub CI:
  - Delete a host from the **Host details** page
  - Query a host from the **Host details** page
  - As a global maintainer, delete a host
- Add coverage for the commented out tests in the manual QA doc
2021-08-30 15:34:28 -04:00
Mike Thomas 44b66a8f27 Handbook - Fleet grammar guidelines (#1852)
* Update README.md

Made a start at adding Fleet's style and grammar guidelines to the handbook.

* Update README.md
2021-08-30 14:12:43 -05:00
Tomas Touceda 22267d8e0a Group concat limit (#1860)
* wiup

* Decouple software select in two

* Add changes file

* Add missing error check
2021-08-30 16:07:24 -03:00
Tomas Touceda 2a17f9fe56 Remove hardcoded limits to the labels (#1857)
* Remove hardcoded limits to the labels

* Add changes file

* Remove test that doens't apply anymore
2021-08-30 14:56:15 -03:00
Tomas Touceda 15b7f5dd80 Create vuln path if dynamic (#1830)
* Create vuln path if possible

* Make sure we skip creation if static instance is selected

* Document behavior

* Fix return in crons and test without sleeps
2021-08-30 12:29:05 -03:00
gillespi314 194ad5963b Fleetdm.com: Fix browser compatibility issues (#1849)
* Fix browser compatibility issues

* Improve browser compatibility for fleetdm.com
2021-08-30 16:31:53 +09:00
Mike McNeil 23739760d4 Rearrange routes.js (#1816)
* Expand explanation of what redirects are for

* Rearrange and add more explanation to routes file
2021-08-27 20:27:32 -05:00
RachelElysia 2c8d43f06b Cypress Testing: Modify default timeout (#1835)
- Change default timeout to 20 seconds on 8 more brittle e2e tests
2021-08-27 15:13:32 -07:00
noahtalerman 731fb599a1 Update sources (links) to check when on call in Support process document (#1833)
- Add item and link to all "Reported bugs" (GitHub issues with the "bug" and ":reproduce" label). This way, the individual on call can navigate to a list of bugs that need reproduction. 
- Add a link to the open pull requests. This way, the individual on call can identify any PRs that have been opened by the community.
2021-08-27 14:45:41 -04:00
RachelElysia e66cb536ab Host Details Page: Query button for observers (#1799) 2021-08-27 11:13:28 -07:00
RachelElysia fcd0b3a88b Disabled text: black-50 and italicized (#1827) 2021-08-27 09:25:04 -07:00
Tomas Touceda 8b908f6506 Issue 1599 offline webhook (#1777)
* wip

* Add tests and finish implementation

* Add proper default for periodicity, changes file, and documentation

* Fix tests and add defaults also to new installs

* EnableHostUsers should be true if undefined as well

* In some cases, periodicity can be zero because of the migrations

* Apply defaults when migrating appconfig

* Fix lint

* lint

* Address review comments
2021-08-27 11:15:36 -03:00
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