Commit Graph
3291 Commits
Author SHA1 Message Date
Noah Talerman ce15a8189f Update "Operating sytem" modal on the Host details page (#3167)
- Update the example policy to use a period `.` instead of a comma `,`
- Update the secondary button text to use "Close" instead of "Cancel"
- Adjust padding
2021-12-01 14:17:35 -05:00
Luke Heath 79e046182a Add client side pagination to queries table (#3165) 2021-12-01 13:05:04 -06:00
Luke Heath 6624a9dfef Add redirects to page paths (#3161) 2021-12-01 11:42:31 -06:00
RachelElysia cb4707cef0 Query and Policy Flow: SQL error in realtime (#3158) 2021-12-01 12:18:58 -05:00
Omereshone Kelvin 2302606ca0 Standard query library: add query for running docker containers (#3137)
Query: Get running docker containers
2021-12-01 09:42:56 -05:00
Lucas Manuel Rodriguez e64a88d8b1 Add COALESCEs on all host_seen_times JOINs (#3147)
* Add COALESCEs on all host_seen_times JOINs

* Use tx instead of d.writer

* Add unit tests

* Fix compile test
2021-12-01 09:05:23 -03:00
Tomas Touceda 4ef9cfdf63 Increase grace period of status for hosts (#3151)
* Increase grace period of status for hosts

* Update tests

* Update more tests
2021-11-30 18:37:27 -03:00
Mike McNeil 5a5551147c add scheduling info for customer meetings + update recommendations fo… (#3149)
* add scheduling info for customer meetings + update recommendations for follow-ups

* make @tgauda page maintainer
2021-11-30 14:34:43 -06:00
Mike McNeilandeashaw d2645ee98d generating a trial license key (#3093)
* generating a trial license key

* use H4s for this section

Co-authored-by: eashaw <eashaw@sailsjs.com>

* use H4s for this section

Co-authored-by: eashaw <eashaw@sailsjs.com>

Co-authored-by: eashaw <eashaw@sailsjs.com>
2021-11-30 14:06:50 -06:00
RachelElysia 3b0a454fb5 App wide UI: Fix policies keys (#3145) 2021-11-30 13:24:30 -05:00
RachelElysia b3b107512e Host Details Page: OS policy creator (#3109) 2021-11-30 12:12:53 -05:00
Tomas Touceda 919a3b5b01 Add forgotten changes file (#3144) 2021-11-30 13:12:09 -03:00
eashaw f8d728ef7d add pricing faq question (#3129) 2021-11-30 18:31:37 +09:00
RachelElysia 185441adc9 Manage Schedule Page: Create/Edit schedule preview modal (#3102) 2021-11-29 18:29:41 -05:00
Tomas Touceda 925d4df8f7 Add new disable_failing_policies query parameter to list hosts (#3123)
* Update documentation

* Update based on review comments

* Explain why the switch exists
2021-11-29 18:04:33 -03:00
Tomas Touceda c82a8e8428 Sanitize OrderKey (#3128) 2021-11-29 18:03:19 -03:00
gillespi314 a51225f3a5 Add team policies to new policy flow UI (#3116) 2021-11-29 13:50:58 -06:00
Tomas Touceda 036093874d Add cursor pagination to list hosts (#3120)
* Add cursor pagination to list hosts

* Update docs

* Update based on review comments
2021-11-29 15:06:00 -03:00
Tomas Touceda a36e029d95 App config caching per instance (#3071)
* Do caching of app config per instance instead of across all of them in redis

* Add changes file

* Simplify code based on review comment

* Use go-cache instead of creating our own

* Dont export consts

* Copy app config before returning it

* Fix lint

* Update go sum

* Update go sum
2021-11-29 12:51:57 -03:00
Martin Angers 5c113bd468 Refactor ListActivities to new endpoint pattern (#3115) 2021-11-29 08:12:22 -05:00
Lucas Manuel Rodriguez c6fc91f2e4 Fix ListPoliciesForHost, missing filter by teams (#3106)
* Fix ListPoliciesForHost, missing filter by teams

* Amend existing tests
2021-11-24 18:17:44 -03:00
Martin Angers c997f853e5 Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
Lucas Manuel RodriguezandMartavis Parker 964f85b174 Amend policy creation and spec (for proprietary query), and add update APIs (#2890)
* Amend policy creation (proprietary query), add update APIs

* Fix Datastore.SavePolicy bug (and add tests)

* Add integration tests for new policy APIs

* Add author email

* Add activities

* Push breaking changes for return policy fields

* WIP

* Add integration test for host policies

* Make more improvements to policy representation

* Improve upgrade code (from PR review comments)

* PR changes

* Revert activities for policies

* Use *uint instead of uint for queryID, use fleet.PolicyPayload

* Filter out other schemas

* New policy flow (#2922)

* created new policy flow -- no API connection

* added api props

* fixed prop name

* lint fixes

* removed unused modal; fixed style

* name, desc icons; created global components

* lint fixes

* ignoring certain files and lines for prettier

* Update frontend/pages/policies/PolicyPage/PolicyPage.tsx

* Make policy names unique across deployment

* Amend upgrade script

* Fix migration for unique names

* Do not deduplicate but instead rename policies

Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
2021-11-24 14:16:42 -03:00
Luke Heath d10741bddb Adjust software card styling for no host count column 2021-11-23 16:55:10 -06:00
5dd2b5c0ad Update 13-Vulnerability-Processing.md (#3025)
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Noah Talerman <noahtal@umich.edu>
2021-11-23 15:53:40 -05:00
Tomas Touceda c65f8507fe Remove host counts from software (#3082)
* Remove host counts from software

* Actually remove the host count from the struct

* Fix get test
2021-11-23 15:50:51 -03:00
Luke Heath f510dcf936 Page position jumps when loading homepage software table (#3092) 2021-11-23 12:18:35 -06:00
RachelElysia 9cf025a0a5 Fleet UI: No Access only access to dashboard and my account page (#3063) 2021-11-23 11:50:21 -05:00
RachelElysia 81a4ca3b65 Add missing word (#3089) 2021-11-23 11:48:32 -05:00
RachelElysia b249f3de77 Fix software column widths (#3074) 2021-11-23 10:27:33 -05:00
Martin Angers 67293aca95 Add tests to SSO/SAML implementation (#2997) 2021-11-23 08:25:43 -05:00
Tomas Touceda 4cd9dab577 Update shell in host users when they exist (#3072) 2021-11-23 10:23:12 -03:00
Lucas Manuel Rodriguez 028c2643f7 Fleet serve to exit if migrations are missing (default) (#2803)
* Add option to fleet to exit if migrations are missing

* Reverse serve exit migrations logic

* Fix typo
2021-11-22 14:47:24 -03:00
Lucas Manuel Rodriguez 0642bfdb1d Add fleetctl debug migrations command to get missing migrations (#2967)
* Add fleetctl command to get missing migrations

* Fix copy paste and lint

* Detect migrations applied out of order

* Add extra bullet to changes

* Trigger creation of migration status tables

* Fix unit tests

* PR fixes

* PR comment fixes
2021-11-22 14:06:12 -03:00
gillespi314 886b30fc4a Remove five-row limit for teams search (#3021) 2021-11-22 09:30:55 -06:00
Tomas Touceda 4cb0060070 Prettify and compare strings instead of structs in fleetctl get tests (#3047)
* Prettify and compare strings instead of structs in fleetctl get tests

* Prettify JSON testdata

* Simplify scanner for multi json
2021-11-22 12:20:09 -03:00
Martin Angers 69a4985cac Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
Zach Wasserman 2b2e9f9f44 Prepare for 4.6.1 release (#3067) 2021-11-21 21:23:25 -08:00
Zach Wasserman e04f210f51 Disable storage of errors (#3066)
This is a temporary mitigation for the issue described in #3065.

The intent is to merge this, cut a 4.6.1 release, and then come up with
a more comprehensive solution for 4.7.0.
2021-11-21 21:02:20 -08:00
eashaw 0cca889dd3 Add policies to the standard query library on fleetdm.com (#2939)
* setting query purpose using kind

* updated query library sort

* change query purpose section, add resolution section

* Update query-library.ejs

* remove policies from standard query library, updated commented out policy resolution checks

* Update query-library.page.js
2021-11-19 10:51:02 -06:00
Lucas Manuel Rodriguez 59e01fbe08 Make fleetctl apply -f fail with unknown kind: config fields (#3026)
* Make fleetctl apply fail with unknown fields

* Add unit test
2021-11-19 12:37:36 -03:00
Noah Talerman cca1e2e043 Update "Adding hosts" documentation to emphasize osquery installers (#2956)
- Emphasize generating an "osquery installer" (also referred as "Orbit") using the `fleetctl package` command
- Add instructions for adding multiple hosts and automatically adding hosts to a team
- Remove instructions for generating an enrollment package with the tooling in `tools/mac/`
- Remove the `tools/mac/` directory from the repository because it is no longer used or referenced in any documentation
- Update "Automatically adding hosts to a team" section of "Teams" documentation to point to "Adding hosts" documentation
- Add instructions for migrating from plain osquery to Fleet's osquery installers
2021-11-19 09:38:01 -05:00
Tomas Touceda c964a17f47 Add gitpod yml (#2915)
* Add gitpod yml

* Fix typo

* Add docker compose

* Fix docker compose and make gitpod add a comment to the PR

* Add missing commands
2021-11-19 10:03:56 -03:00
Lucas Manuel Rodriguez d1dcc0e78a Add probability of policy pass flag to osquery-perf (#3014) 2021-11-19 08:50:25 -03:00
Zach Wasserman f885522628 Fix missing import on Windows (#3035) 2021-11-18 18:37:29 -08:00
Noah Talerman a6e9d551fd Prepare for Fleet 4.6.0 (#3018) 2021-11-18 17:46:57 -08:00
Zach Wasserman b65c61cb12 Change Orbit osquery to Fleet osquery in generated packages (#3034)
Use "Fleet osquery" rather than "Orbit osquery" in packages generated
 by `fleetctl package`.
2021-11-18 17:43:52 -08:00
Zach Wasserman 83036672d7 Package osquery certificate bundle with orbit (#3033)
- Include the osquery certs.pem with Orbit installers.
- Use the certs.pem if available and no other certificate specified.
2021-11-18 17:17:05 -08:00
Zach Wasserman 73ee2c6b16 Add changes files 2021-11-18 16:52:53 -08:00
Zach Wasserman 01f136313d Use UUID as default host identifier for Orbit (#3008)
This matches the default identifier used in Fleet's prior recommended
osquery installation, easing migration for users. It can still be
overridden via a flagfile.
2021-11-18 15:15:28 -08:00