Commit Graph
1463 Commits
Author SHA1 Message Date
Mike McNeil f6391f97b0 Update z-new-project.md 2021-02-12 00:15:31 -06:00
Zach Wasserman d624e099fb Deprecate environment variable prefix (#301)
- Support both `FLEET_` and `KOLIDE_` prefixes.
- Add logging about deprecated `KOLIDE_` prefix.
- Update documentation and sample configs.
2021-02-11 15:36:58 -08:00
noahtalerman 300854ead9 Add labels endpoint to REST API docs (#294)
This PR is part of the Complete documentation for Fleet API project #43.

The endpoints included in these changes:
- /labels POST
- /labels/{id} PATCH
- /labels/{id} GET
- /labels GET
- /labels/{id}/hosts GET
- /labels/{name} DELETE
- /labels/id/{id} DELETE
- /spec/labels POST
- /spec/labels GET
- /spec/labels/{name} GET
2021-02-11 08:38:31 -08:00
Gabe Hernandez 8c8c3f9516 Update to new host table (#298)
* recreate host table with react-table

* move old host table and container next to other code related to host page

* start replacing old host table with new host table

* replace old table with with new data table

* fix up tests and remove some unused code
2021-02-11 16:22:22 +00:00
Zach Wasserman 7a68e3de65 Deprecate /api/v1/kolide routes (#297)
- Support both /api/v1/fleet and /api/v1/kolide routes in server.
- Add logging for use of deprecated routes.
- Rename routes in frontend JS.
- Rename routes and add notes in documentation.
2021-02-10 12:13:11 -08:00
Mike Thomas 7048ce892d Add wallpaper assets (#293)
Add wallpaper assets to "assets" folder.
2021-02-10 11:07:03 -08:00
Gabe Hernandez 85ce3982d0 update react-redux 7.7.2. redux 4.0.5, react 17.0.1 (#287)
* update react-redux to 7.7.2

* update redux to 4.05

* update react to 17.0.1

* Revert "update react to 17.0.1"

This reverts commit 004f3bb5a9e26bfcea9e921a2093adcc1e95068f.
2021-02-10 10:32:13 +00:00
Mike McNeil 170a85aa9c Dedupe and cut back on some verbiage in auth docs, fix typo (#277) 2021-02-09 16:38:18 -08:00
Mike Thomas 2c28fa6d42 Added bullets to onboarding issues. (#274) 2021-02-08 19:16:38 -06:00
Gabe Hernandez 1d7cfab052 Fix host target select to reflect to host context for a query (#282) 2021-02-08 14:02:20 +00:00
Zach Wasserman 2c06e308fa Bump Helm Chart to 3.7.1 (#284) 2021-02-05 19:06:34 -08:00
Mike McNeil 9b812aec2c incorporate feedback 2021-02-05 13:11:47 -06:00
Zach Wasserman e2e7e4707d Update database migration tooling (#281)
- Use updated github.com/fleetdm/goose that generates templates
  requiring less editing.
- Add `make migration` to Makefile.
- Update documentation.
2021-02-05 09:48:06 -08:00
Zach Wasserman 78c3b120e2 Add documentation for committing changes (#278)
Replaces documentation on ADRs which are not currently used.
2021-02-05 09:47:32 -08:00
Zach Wasserman ffd99ae9b7 Update release instructions (#275) 2021-02-04 09:09:39 -08:00
Gabe Hernandez f41f6ba112 Add javascript source maps in development (#273) 2021-02-04 12:30:46 +00:00
Zach Wasserman 413695b463 Prepare for 3.7.1 release (#272)
- Update changelog
- Bump fleetctl npm version
2021-02-03 11:55:15 -08:00
Zach Wasserman ddb05cce94 Change default TLS compatibility to intermediate (#270)
In #212 these settings were updated and caused connectivity issues for
users in common environment configurations. The new changes are
aggressive (modern enforces TLS 1.3) and Mozilla indicates that
intermediate is an appropriate default. This will ensure better
compatibility for common deployments while still allowing the option to
use the strictest settings.

Document unintentional mismatched yaml key.

Fixes #269
2021-02-03 11:48:48 -08:00
noahtalerman e2504f247c 3.7.0 version for fleetctl 2021-02-03 09:48:50 -08:00
noahtalerman bb89099511 Add changelog (#267) 2021-02-03 09:26:18 -08:00
Zach Wasserman f68f4238e8 Merge pull request from GHSA-xwh8-9p3f-3x45
- Fix the specific case that caused panic.
- Add panic handler around entire live query results handler. This will
  prevent similar issues from causing crashes in the future.

Note that other endpoints already have panic handling but this one is
special due to the use of websockets.
2021-02-03 08:47:43 -08:00
Gabe Hernandez 0367cf6a67 Fix issue with pack query sidebar not depopulating when query is removed (#262) 2021-02-03 11:32:17 +00:00
Zach Wasserman 22d9205d35 Add debug flag to fleetctl (#266)
This flag enables logging of HTTP requests and responses to stderr.

Closes #187
2021-02-02 18:55:16 -08:00
Zach Wasserman 7f6b413e7c Update link to Fleet on website (#264)
Link to the README section of the repository homepage rather than the
README file at master.
2021-02-02 17:38:33 -08:00
Zach Wasserman a9c0c472fc Update Kolide to Fleet as appropriate in documentation (#263) 2021-02-02 12:16:59 -08:00
noahtalerman ee72532942 Display status indicator when live query results are empty (#257)
These changes resolve the case during which a host goes offline after a live query begins. Now, the status indicator is displayed during, and after, a query is running and the live query results are empty.

Additional changes:
- Add no results messaging for the case when there are no results and no errors (rendered when live query is completed)
2021-02-02 12:11:03 -08:00
Gabe Hernandez 310b8522dd Improve UI contrast for select values in multi input (#261) 2021-02-02 17:10:10 +00:00
Zach Wasserman c78209dd51 Clean up development files (#259)
Remove unused files and update with new developer defaults
2021-02-01 19:21:17 -08:00
Zach Wasserman 8fcd14b394 Add --dev flag and change docker defaults (#251)
- Add --dev flag that will set default flag values. This simplifies the
  invocation of Fleet in a development environment.
- Change defaults in docker-compose to use `fleet` in place of `kolide`.
-  Skip prompt in `prepare db` when `--dev` specified.
- Update developer documentation.

Updates to MySQL configuration in docker-compose.yml may require
existing development containers and volumes to be deleted (this will
delete data in MySQL):

```shell
docker-compose rm -sf
docker volume rm fleet_mysql-persistent-volume
```

Closes #170
2021-02-01 18:14:16 -08:00
Zach Wasserman 7822003b64 Fix Helm CI workflow (#258)
- Add version for kubeval-action
- Comment out pathType due to lack of support in older k8s versions
2021-02-01 17:42:44 -08:00
James Alseth 3d328db000 Add Helm chart (#250)
Providing a Helm chart makes it easier for users to deploy to Kubernetes.

I think this is good to go, and I've tested deploying to Kind and GKE using the GKE ingress, sql proxy, and managed certificate, but I haven't tested anything AWS related.
2021-02-01 15:46:01 -08:00
Mike McNeil 8d73e58847 add direct links + missing steps to onboarding 2021-02-01 14:18:32 -06:00
Zach Wasserman c3a18ea7d1 Rename prefixed system queries (#253)
Renames live query names that the system uses from `kolide_` to
`fleet_`.
2021-02-01 11:39:53 -08:00
Mike McNeil ce558ceba0 Update z-new-teammate-onboarding.md 2021-02-01 13:22:35 -06:00
Gabe Hernandez 5816f4f051 Update build-fleet.md with chrome bug note and new link (#256) 2021-02-01 16:27:00 +00:00
noahtalerman 8a6fedb913 Add benefits to public handbook (#244)
Write up benefits in markdown and add to public handbook.
2021-02-01 08:23:25 -08:00
Mike McNeil 48633778c0 additional setup for new engineers 2021-01-31 23:34:11 -06:00
Mike McNeil 8f9297946e Update z-new-project.md 2021-01-31 23:29:46 -06:00
Mike McNeil b39d1f26cf typofix in docs 2021-01-31 23:01:21 -06:00
Zach Wasserman 8f048dbce3 Update fleetctl preview instructions in README (#248) 2021-01-29 10:51:55 -08:00
Zach Wasserman 15baa54d81 Start hosts in fleetctl preview (#247)
- Set config context and log in fleetctl
- Start containerized Linux hosts

Closes #173
2021-01-28 18:18:21 -08:00
Zach Wasserman 368632b3fa Minor refactor in fleetctl config handling (#246)
Move CLI context out of get/set config functions.
2021-01-28 17:15:38 -08:00
Zach Wasserman d4dbd9f12e Expose live query error messages in fleetctl (#245)
Closes #206
2021-01-28 17:06:41 -08:00
Zach Wasserman 966c7425d7 Update missing error message for Launcher (#243)
Indicate that Launcher does not support error messages.
2021-01-28 16:07:33 -08:00
noahtalerman 54f46b944e Add packs endpoints docs to REST API docs (#242)
Reformat the anchor links for specific endpoints by moving these links to their respective sections.

The endpoints included in these changes:
- /api/v1/kolide/packs POST
- /api/v1/kolide/packs/{id} PATCH "modify_pack"
- /api/v1/kolide/packs/{id} GET "get_pack"
- /api/v1/kolide/packs GET "list_packs"
- /api/v1/kolide/packs/{name} DELETE "delete_pack"
- /api/v1/kolide/packs/id/{id} DELETE "delete_pack_by_id"
- /api/v1/kolide/packs/{id}/scheduled GET "get_scheduled_queries_in_pack"
- /api/v1/kolide/schedule POST "schedule_query"
- /api/v1/kolide/schedule/{id} GET "get_scheduled_query"
- /api/v1/kolide/schedule/{id} PATCH "modify_scheduled_query"
- /api/v1/kolide/schedule/{id} DELETE "delete_scheduled_query"
- /api/v1/kolide/spec/packs POST "apply_pack_specs"
- /api/v1/kolide/spec/packs GET "get_pack_specs"
- /api/v1/kolide/spec/packs/{name} GET "get_pack_spec"
2021-01-28 15:40:49 -08:00
noahtalerman 4e8c5e7f86 Add Host details page (#238)
This PR adds a new Host details page as part of the Hosts UI project #162

Summary of changes:
- New component <HostDetailsPage />
- Move "Query" and "Delete" buttons from the hosts list to the Host details page
- Add new button variants label and text-link
- Add react-tooltip package to the project (v4.2.13)
2021-01-28 12:44:48 -08:00
Zach Wasserman ac9a85ab88 Expose more information for migration status errors (#240)
We saw these errors live today and it would be helpful to have the
additional error context for debugging.
2021-01-28 09:49:06 -08:00
Zach Wasserman bb124dc2b9 Improvements to fleetctl preview experience (#234)
- Make the preview directory in the default .fleet directory.
- Check for Docker daemon installed but not running.
- Add message for Chrome users on self-signed certs.
- Display login information on later invocations of command.
- Remove "Kolide" from error messages.

Closes #190

Part of #197
2021-01-28 07:57:32 -08:00
Mike McNeil 5d5ca474e8 update onboarding template 2021-01-27 23:18:02 -06:00
Mike McNeil 129a349f22 epics === projects for our purposes 2021-01-27 15:24:02 -06:00