Commit Graph

3150 Commits

Author SHA1 Message Date
Luke Heath
4c19c9c8b1
Update policy back link to return to selected team (#3190) 2021-12-03 10:13:40 -06:00
Tomas Touceda
17bd4d5110
Remove policy membership history and only store the latest value (#3178)
* Remove policy membership history and only store the latest value

* Address review comments

* Correct error msg wrap
2021-12-03 13:10:11 -03:00
Tomas Touceda
5cff07f332
Issue 3184 drop event host expiry (#3185)
* Drop event host_expiry if it exists

* Add changes file
2021-12-03 12:34:58 -03:00
Tomas Touceda
a0404b6736
Add software count API (#3105)
* Add software count API

* Fix makefile

* Fine no mock generating at this point

* Actually, one last try

* Use go install instead

* Fix go sum/mod

* Improve documentation

* Try setting node to 14
2021-12-03 10:54:17 -03:00
Tomas Touceda
052e41851b
Prepare for Fleet 4.6.2 (#3146) (#3179)
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2021-12-02 16:56:56 -03:00
RachelElysia
1253020678
New Policy UI: Add policy resolution to create and edit policy (#3125) 2021-12-02 10:03:56 -05:00
Luke Heath
e750eb9745
Standardize TeamsDropdown component usage (#3135) 2021-12-01 17:37:33 -06:00
Martin Angers
7464e72ba8
Move carves endpoints to new endpoint pattern (#3148) 2021-12-01 15:45:29 -05:00
Tomas Touceda
3a031e946d
Sort hostIDs before inserting seen time (#3162)
* Sort hostIDs before inserting seen time

* Fix status test

* Add comment
2021-12-01 16:20:54 -03:00
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 McNeil
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 Rodriguez
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
RachelElysia
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