Fleet is the lightweight, programmable telemetry platform for servers and workstations. Get comprehensive, customizable data from all your devices and operating systems — without the downtime risk.
Go to file
Martavis Parker 5d647025f9
1497 improved query experience (#1998)
* Step 1 for improving query experience (#1591)

* fake change to create draft PR

* temp routes to work and not modify old query page

* created new API abstraction for query

* refactored App.jsx to prepare react-query

* fixed flow of redirects after page refresh; functional component added

* setup for getting data on edit

* implementing functions for query page

* Old form showing on new setup

* improving and breaking up query form

* no need for the helpers anymore; clean up

* added type for button component variant

* step toward new save modal; have to switch gears to #1619

* creating new query works

* clean up

* linting cleanup

* added default value for new query

* will address dynamic save disabled in edit step

* Step 2 for improving query experience (select targets) (#1732)

* fake change to create draft PR

* temp routes to work and not modify old query page

* created new API abstraction for query

* refactored App.jsx to prepare react-query

* fixed flow of redirects after page refresh; functional component added

* setup for getting data on edit

* implementing functions for query page

* Old form showing on new setup

* improving and breaking up query form

* no need for the helpers anymore; clean up

* added type for button component variant

* step toward new save modal; have to switch gears to #1619

* creating new query works

* clean up

* linting cleanup

* added default value for new query

* split steps into separate files for readability

* components laid out

* new targets picker

* function clean up

* styling tables

* fixing logic

* fixed logic to keep getting related hosts

* formatting targets for API

* fixed default query

* clean up

* styled target selectors; fixed target input styles

* began total count

* forgot to remove debugging code

* lint fixes

* added target count from API

* clean up

* able to remove selected host targets from table

* lint fixes

* Improving query experience - Step 3 (query results) (#1766)

* fake change to create draft PR

* temp routes to work and not modify old query page

* created new API abstraction for query

* refactored App.jsx to prepare react-query

* fixed flow of redirects after page refresh; functional component added

* setup for getting data on edit

* implementing functions for query page

* Old form showing on new setup

* improving and breaking up query form

* no need for the helpers anymore; clean up

* added type for button component variant

* step toward new save modal; have to switch gears to #1619

* creating new query works

* clean up

* linting cleanup

* added default value for new query

* split steps into separate files for readability

* components laid out

* new targets picker

* function clean up

* styling tables

* fixing logic

* fixed logic to keep getting related hosts

* formatting targets for API

* fixed default query

* clean up

* styled target selectors; fixed target input styles

* began total count

* forgot to remove debugging code

* lint fixes

* added target count from API

* clean up

* able to remove selected host targets from table

* lint fixes

* connected run query with modern React/JS; clean up

* linting fixes

* fixed logic to retrieve results from live query

* linting fixes

* created new, simpler query progress

* populating results and errors tables as expected

* syntax fixes

* fixing styles for query results

* more styling for query results

* manual merge from main

* Rename core->free and basic->premium

* Fix lint js

* Comment out portion of test that seems to timeout

* Rename tier  to premium if basic is still loaded

* go sum

* Query Experience Cleanup Tasks (#1807)

* fixes to get merged main branch to build and work

* moved screens for query pages; clean up

* updated and typed react ace for query form; clean up

* using console error instead

* added real types instead of `any` except for errors

* query side panel ts and functional. prep for close task.

* ability to hide, show query table sidebar

* improved live query status warning

* added loading and error state for targets search

* error screen for targets; improved loading display

* now using API-created label for all linux

* missed some files on previous commit

* able to edit query

* clean up

* lint fixes

* query results showing as they come

* remove unused code

* removed old query page. major file cleanup.

* removed selectedTargets redux implementation

* removed unused redux actions and reducers

* removed unused keys in initial state

* selectedOsqueryTable is now using context API

* removed all querypages redux code

* set up context for app and user

* fixed auth with temp fix for wrapper

* completed redux removal from query page

* fixed var names coming from main branch

* fixed var name changes coming from issue 1501

* fixed save popup bug; clean up

* added permissions

* fixed login redirect

* removed unused props

* linting fix

* clean up

* removed unused component, refactor, and clean up

* fixed styles for step 1 as admin

* fixed styles for step 1 as observer

* fixed percentage of online hosts

* added loading progress to query stop button

* reset query status on run again

* added download icon to export button text

* fixed error reset on name input; fixed styles

* fixed bug where query value wasn't saving

* fixed query value when blank

* fixed bug - default query was running every time

* auto adding host from url to targets

* fixed flows for repeating run and save steps

* fleet ace is now TS and functional

* fixed a couple of tests

* fixed issues with query value text inconsistencies

* fixed query side panel not showing

* hiding error count if not > 0

* fixed showing editor for different roles

* using integer for targets

* go sum

* fixed targets param

* catching all errors while running query

* fixed hover state for title and description

* ignore unit test for now; lint fixes

* locking react-ace version

* ignoring tests breaking in github actions

* brought tests back

* fixing file name

* fixing file name again

* fixed e2e test

* have to ignore tests for now

* ignore certain premium tests for now

* one last test to revamp

* another test

* fixed teamflow test

* fixed observer query 403

* lint fixes

* fixed maintainer test

* added changes file

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2021-09-10 12:06:37 -07:00
.github Rename core->free and basic->premium (#1870) 2021-09-03 13:05:23 -03:00
assets 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
changes 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
charts/fleet Update changelog and versions to 4.2.4 (#1921) 2021-09-02 16:50:11 -03:00
cmd added package command from orbit as fleetctl command (#1802) 2021-09-09 01:34:12 -04:00
cypress 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
docs App Settings Page: Host status webhook UI (#1899) 2021-09-10 10:49:11 -07:00
ee Rename core->free and basic->premium (#1870) 2021-09-03 13:05:23 -03:00
frontend 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
handbook Kick off the customer success handbook section (#1896) 2021-09-06 19:08:49 -05:00
orbit added package command from orbit as fleetctl command (#1802) 2021-09-09 01:34:12 -04:00
pkg Configure golangci-lint for the whole repository 2021-08-24 13:35:03 -04:00
server Debug log per host (#1978) 2021-09-10 14:48:33 -03:00
tools Rename core->free and basic->premium (#1870) 2021-09-03 13:05:23 -03:00
website Fix screenshots and wallpapers download links on fleetdm.com/press-kit (#1988) 2021-09-10 08:09:55 +09:00
.dockerignore Added support to read jwt and mysql password from a file (#141) 2021-01-04 07:58:43 -08:00
.eslintrc.js Merge branch 'master' into teams 2021-04-30 09:40:10 -07:00
.gitattributes Windows friendly changes after walking through getting started guide (#1441) 2021-07-21 20:49:44 -04:00
.gitignore added package command from orbit as fleetctl command (#1802) 2021-09-09 01:34:12 -04:00
.golangci.yml Configure golangci-lint for the whole repository 2021-08-24 13:35:03 -04:00
.goreleaser.yml Add netgo tag to prevent crashes on linux when making external requests (#1681) 2021-08-16 15:48:45 -03:00
.npmignore Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
.prettierignore add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
.prettierrc.json add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
CHANGELOG.md Update changelog and versions to 4.2.4 (#1921) 2021-09-02 16:50:11 -03:00
CODE_OF_CONDUCT.md Remove @fleetdm.com emails from fleetdm/fleet repo (#882) 2021-05-27 17:19:14 -04:00
CODEOWNERS Add CODEOWNERS for Go engineering team (#1449) 2021-07-22 11:14:10 -07:00
CONTRIBUTING.md Remove @fleetdm.com emails from fleetdm/fleet repo (#882) 2021-05-27 17:19:14 -04:00
cypress-free.json Rename core->free and basic->premium (#1870) 2021-09-03 13:05:23 -03:00
cypress-premium.json Rename core->free and basic->premium (#1870) 2021-09-03 13:05:23 -03:00
cypress.json UI: License expiration warning banner (#1825) 2021-08-30 15:52:13 -04:00
docker-compose.yml Address issues related to Redis Cluster support (#1885) 2021-09-01 16:32:57 -04:00
Dockerfile Remove @fleetdm.com emails from fleetdm/fleet repo (#882) 2021-05-27 17:19:14 -04:00
go.mod Update redisc and replace EachRedisNode implementation (#1949) 2021-09-07 13:25:36 -04:00
go.sum 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
LICENSE Update LICENSE (#10) 2020-11-04 19:57:51 -06:00
Makefile Rename core->free and basic->premium (#1870) 2021-09-03 13:05:23 -03:00
package.json 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00
postcss.config.js Upgrade Bourbon to 5.1.0 and fix deprecation warnings (#1973) 2019-01-03 12:46:55 -08:00
README.md Updated documentation link in README.md (#1954) 2021-09-08 04:15:35 +09:00
SECURITY.md Remove @fleetdm.com emails from fleetdm/fleet repo (#882) 2021-05-27 17:19:14 -04:00
tools.go Add support for IdP-initiated SSO login (#556) 2021-03-30 12:56:20 -07:00
tsconfig.json Pressing Enter on setup's Confirmation page (#1141) 2021-06-18 13:33:45 -07:00
webpack.config.js Speed up CI build/test (#657) 2021-04-16 16:14:56 -07:00
yarn.lock 1497 improved query experience (#1998) 2021-09-10 12:06:37 -07:00

Fleet logo, landscape, dark text, transparent background

Website   News   Report a bug

Run Tests   Go Report Card   Twitter Follow

Fleet is the most widely used open source osquery manager. Deploying osquery with Fleet enables programmable live queries, streaming logs, and effective management of osquery across 100,000+ servers, containers, and laptops. It's especially useful for talking to multiple devices at the same time.

Try Fleet

With Node.js and Docker installed:

# Install the Fleet command-line tool
sudo npm install -g fleetctl
# Run a local demo of the Fleet server
sudo fleetctl preview

Windows users can omit sudo.

The Fleet UI is now available at http://localhost:1337.

Now what?

Check out the Ask questions about your devices tutorial to learn where to see your devices in Fleet, how to add Fleet's standard query library, and how to ask questions about your devices by running queries.

Team

Fleet is independently backed and actively maintained with the help of many amazing contributors.

🎉 Announcing the transition of Fleet to a new independent entity 🎉

Please check out the blog post to understand what is happening with Fleet and our commitment to improving the product. To upgrade from Fleet ≤3.2.0, just grab the latest release from this repository (it'll work out of the box).

Documentation

Documentation for Fleet can be found here.

Community

Chat

Please join us in the #fleet channel on osquery Slack.

Contributing

Contributions are welcome, whether you answer questions on Slack/GitHub/StackOverflow/Twitter, improve the documentation or website, write a tutorial, give a talk, start a local osquery meetup, troubleshoot reported issues, or submit a patch. The Fleet code of conduct is on GitHub.

Banner featuring a futuristic cloud city with the Fleet logo