Commit Graph

1646 Commits

Author SHA1 Message Date
Gabe Hernandez
e33bbb8811
enhance data table for two datasets and client derived data (#559)
* rework data table, got to point of calling network request correctly

* got to point of rendering table columns and data

* finish up functional changes to data table

* fix tests

* fix styles for table container and data table

* clean up some styles

* update to styles for no host configured

* cleanup and docs

* add missing method for host table text formatting

* disabling unused test. will add back in next PR

* clean up code
2021-04-04 13:45:24 +01:00
Gabe Hernandez
be77b0de59 add tests for new manage users UI and improve checkbox accessibility (#536)
* e2e test for manage user page, and updating styles for ui components

* make checkbox more accessible and create e2e test around creating user

* add react testing library and use it for radio testing

* clean up comments

* update docs and clean up
2021-03-31 11:58:38 -07:00
Gabe Hernandez
d0ded91d0b partial implementation of user table with generic table and new create user form (#500)
* use new data table in user manage page'

* remove default empty array hiddenColumns props, was causing render performance problems

* remove unused tooltip in hostcontainer

* add search to user manage table

* add query params to user GET requests

* move createUserForm closer to user management page

* starting to implement create user modal

* starting to add team checking functionality to create user

* styling of select team form

* changing logic for selectedTeamsForm, simplifying

* updated SelectedTeamsForm to handle own state and pass back relevant state to parent

* created reusable infobanner component and use it in osquery options page

* use infobanner in createuserform

* create new Radio component and use in createuserform

* create new Radio component and use in createuserform

* added new radio buttons to createUserForm

* finish custom radio button styling

* finish styling of radio in createUserForm

* fix and add entities/users#loadAll tests

* remove unneeded tests and updated broken ones on UserManagementPage

* remove unused modules
2021-03-31 11:58:29 -07:00
Zach Wasserman
6df3dfbf6d Save global role for users (#493)
Previously the column existed but was not saved in datastore methods.
2021-03-31 11:49:48 -07:00
Zach Wasserman
a85b18ea38 Fix teams JSON key (#492)
Use lowercase `teams` rather than `Teams`.
2021-03-31 11:49:48 -07:00
Zach Wasserman
3286864d9d Initial work on user team information storage and retrieval (#483)
There are more migrations to come, but this is a foundation for the
DB changes that will be needed for Teams.
2021-03-31 11:49:44 -07:00
Zach Wasserman
6f381de04e Add search for list users endpoint (#490)
Search runs on name and email. Some refactoring to make the
functionality more generic.
2021-03-31 11:48:33 -07:00
Zach Wasserman
83d608962a
Add IPv4 changes to changelog (#569) 2021-03-31 10:35:37 -07:00
noahtalerman
c46cedcfea
Prepare for 3.10.0 (#568) 2021-03-31 10:17:19 -07:00
Zach Wasserman
fdf9e42a0c
Update schema for osquery 4.7.0 (#567) 2021-03-31 10:00:29 -07:00
noahtalerman
9c5ea908d1
Add status style (#564)
Add green (online) and grey (offline) indicator to Hosts table
2021-03-31 09:30:21 -07:00
Yurii Dzobak
a05b99b9c3
Improved helm chart (#484)
- Fix yaml formatting
- Make parameters configurable

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-03-31 09:10:09 -07:00
noahtalerman
5d8cd56de3
Add platform text to Queries list on "Pack" page (#561)
- Add platform text to the Queries list. This text better reflects the options in the "Platform" dropdown when scheduling a query.
- Remove platform icons.
2021-03-30 17:21:05 -07:00
noahtalerman
a6a1dd010d
Update styles on SSO login page and confirm SSO invite page (#560)
- Update layout on _Login_ page by moving "Log in with SSO" button into the card.
- Update layout on _Confirm SSO invite_ page and remove Confirm SSO invite styles. This page now uses the same style sheet as the standard _Confirm invite_ page.
2021-03-30 17:16:51 -07:00
Zach Wasserman
a79ad7d312
Improvements to built-in labels (#562)
- Fix issue with built-in labels showing multiple platforms when hosts
  are reinstalled with new platform.
- Add Red Hat Linux built-in label.
- Display more labels by default in target selector.

Fixes #546, #553
2021-03-30 15:37:33 -07:00
Zach Wasserman
2203bd81a2
Add support for IdP-initiated SSO login (#556)
This feature is off by default due to minor potential security concerns
with IdP-initiated SSO (see
https://auth0.com/docs/protocols/saml-protocol/saml-configuration-options/identity-provider-initiated-single-sign-on#risks-of-using-an-identity-provider-initiated-sso-flow).

Closes #478
2021-03-30 12:56:20 -07:00
Mike Thomas
cb0b2915b8
Create get-system-logins-and-logouts.md (#558)
Add Get system logins and logouts to /handbook/queries
2021-03-30 12:37:46 -07:00
Mike Thomas
49fd64daef
Create platform_info_snapshot.md (#551)
Add Platform info snapshot to /handbook/queries.
2021-03-30 12:31:25 -07:00
Mike Thomas
29b67181e9
Create get-installed-homebrew-packages.md (#557)
Add Get installed homebrew packages to /handbook/queries.
2021-03-30 12:29:57 -07:00
Zach Wasserman
ee580bf811
Add ability to test SSO locally (#552)
- Use IdP in Docker container.
- Document process.
2021-03-29 13:50:39 -07:00
Mike McNeil
6ccf715adf
make parlance consistent 2021-03-29 12:28:23 -05:00
noahtalerman
e9ad08da33
Add Fleet version number and Go version number to "My account" page (#550)
Consume new `api/v1/fleet/version` endpoint and display Fleet version and Go version on the "My account" page
2021-03-26 19:19:07 -07:00
Zach Wasserman
5b5dd1379b
Prefer IPv4 in Host Details (#548)
- Use a non-loopback, non-link-local IPv4 address if available
- Otherwise use non-loopback, non-link-local IPv6 address if available
- Otherwise use any address

Closes #532
2021-03-26 18:05:49 -07:00
Zach Wasserman
0bd6903b2d
Add version endpoint to API (#549)
Part of #371
2021-03-26 18:03:31 -07:00
Mike Thomas
549f17f90e
Create get-macos-disk-free-space-percentage.md (#547)
Add "Get macOS disk free space percentage" query to `/handbook/queries`
2021-03-26 15:10:43 -07:00
Zach Wasserman
12d292164f
Add rate-limiting to login and password reset (#543)
Prevent abuse of these endpoints with rate limiting backed by Redis. The
limits assigned should be appropriate for almost any Fleet deployment.

Closes #530
2021-03-26 11:23:29 -07:00
Zach Wasserman
d621650b78
Initial implementation of agent update management (#516)
This PR contains the initial implementation of the fleetctl updates commands, along with documentation on using this to self-host an agent update server.

Co-authored-by: Noah Talerman <noahtal@umich.edu>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2021-03-26 10:46:51 -07:00
noahtalerman
e6e6fcdf2d
Adjust UI layout styles and fix empty state on "Hosts" page (#542)
- Remove `$nav-width` and `$nav-tablet-width` because the navigation is now on the top of the layout.
- Add styles to `CoreLayout` to make the main content (everything except the top nav) fill the window height.
2021-03-25 17:22:37 -07:00
Mike Thomas
fab88510af
Fix typo in handbook (#544) 2021-03-25 18:42:30 -05:00
Zach Wasserman
b6b9efe1cc
Document delve debug process (#538) 2021-03-25 16:29:00 -07:00
noahtalerman
ef414153a9
Add "Last fetched" to Hosts page and Host details page (#540)
- Add a "Last fetched" column to the table on the Hosts page. This column uses the `detail_updated_at` property.
- Add a "Last fetched" timestamp to the Host details page.
- Adjust styles on _Host details_ page
2021-03-25 12:47:00 -07:00
Mike Thomas
a045794cd9
Create get-installed-safari-extensions.md (#537)
Add Get installed safari extensions query to handbook.
2021-03-25 09:19:21 -07:00
Mike Thomas
52bb748078
Daily deploy - 2021.03.24 (#535)
Replace fleetctl terminal graphic with Fleet UI + fleetctl terminal graphic.
2021-03-25 08:46:46 -07:00
Zach Wasserman
fb9706912d
Prevent user enumeration (#533)
- Return same error in all cases for login endpoint.
- Log error details in server logs.
- Make most login errors take ~1s to prevent timing attacks.
- Don't return forgot password errors.
- Log password errors in server logs.
- Make most forgot password requests take ~1s to prevent timing attacks.

Fixes #531
2021-03-24 19:36:30 -07:00
Zach Wasserman
0ae1bf3530
Fix default typo in host identifier docs (#534) 2021-03-24 17:32:25 -07:00
noahtalerman
e4a5ed7125
Add new screenshot (#525)
- Add new screenshot of the "Add new host" modal to /2-Deployment/4-Example-deployment scenarios docs
Closes #487
2021-03-23 16:20:00 -07:00
Mike McNeil
577bb74529 Adjust nav items 2021-03-23 10:40:40 -05:00
Mike Thomas
1ec7557dfd
Updated documentation screens (#521)
Updated screens in Using Fleet documentation to reflect updated UI.
2021-03-23 09:02:39 -05:00
Mike Thomas
49ebafa859
Add expense policy to Fleet handbook (#524)
* Add expense policy to Fleet handbook

* Removed stray "."

* capitalization, + added a couple of other culture points that stand out

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2021-03-23 09:02:23 -05:00
Mike Thomas
c6a5010f0c
Fleet README dark-mode compatible logo (#523) 2021-03-23 08:16:30 -05:00
Mike Thomas
dce7910411
Using Fleet text update (#522)
Updated text to match the new UI screenshots.
2021-03-23 08:16:05 -05:00
Mike McNeil
7198b691bb
Delete z-new-teammate-onboarding.md 2021-03-23 08:11:42 -05:00
Mike McNeil
f1c6658c2e
Update z-new-teammate-onboarding.md 2021-03-23 07:46:45 -05:00
Mike McNeil
7a4e83337b
Update feature-request.md 2021-03-23 07:44:55 -05:00
Mike McNeil
bd61180b60
Update bug-report.md 2021-03-23 07:44:12 -05:00
Mike McNeil
5329894179
Update config.yml 2021-03-23 07:43:11 -05:00
Mike McNeil
a6350efcb9
Update config.yml 2021-03-23 07:42:06 -05:00
Mike McNeil
39c21edfdc
Update feature-request.md 2021-03-23 07:36:02 -05:00
Mike McNeil
3e1f4fe44f
Update config.yml 2021-03-23 07:35:41 -05:00
Mike McNeil
1835ee0284
Update feature-request.md 2021-03-23 07:24:17 -05:00