Commit Graph

1293 Commits

Author SHA1 Message Date
Guillaume Ross
04a0c355c5
Add Windows screen lock policy (#6167)
* Adding policy query to check firewall on Mac

This commit closes https://github.com/fleetdm/confidential/issues/1410 once merged.

* Adding policies

This commit closes https://github.com/fleetdm/confidential/issues/1412. Right now there is no way to check the screenlock so instead we check if a profile for screenlock is there.

https://github.com/fleetdm/confidential/issues/1410 also closed by this.

* Update constants.ts

Fixed space

* Resolution text fix for new policies

Fixed copy based on @zhumo's comments!

* Screen lock policy

Adding a policy to check if the inactivity timeout is enabled on Windows and set to 1800 seconds or less (30min)

* Update constants.ts

Fix identation

* Update Windows screen lock policy

Changed wording from "administrator" to "IT administrator" in both files.
2022-06-10 12:05:32 -04:00
Guillaume Ross
38aaaffd65
Add policies (#6158)
* Adding policy query to check firewall on Mac

This commit closes https://github.com/fleetdm/confidential/issues/1410 once merged.

* Adding policies

This commit closes https://github.com/fleetdm/confidential/issues/1412. Right now there is no way to check the screenlock so instead we check if a profile for screenlock is there.

https://github.com/fleetdm/confidential/issues/1410 also closed by this.

* Update constants.ts

Fixed space

* Resolution text fix for new policies

Fixed copy based on @zhumo's comments!
2022-06-09 15:20:30 -04:00
gillespi314
db7424282b
Add software details page (#6089) 2022-06-08 14:01:38 -05:00
Luke Heath
9651539f75
Update API token modal to include more information (#5994) 2022-06-02 18:03:03 -05:00
Luke Heath
0530a86b7c
Fix device page redirect on expired token (#5976) 2022-06-02 17:56:26 -05:00
gillespi314
5d68a1fead
Add probability of exploit (EPSS score) to Software page in Fleet Premium (#5925) 2022-06-02 17:32:13 -05:00
Luke Heath
258eb278fd
Fix API endpoints in generated flagfile (#5941) 2022-05-27 11:19:40 -05:00
gillespi314
baeff6e893
Add validation for pack scheduled query interval (#5918) 2022-05-26 16:54:21 -05:00
Luke Heath
49b409904b
Fix export hosts filtering (#5905) 2022-05-25 18:48:48 -05:00
Luke Heath
16209b4ec5
Add e2e tests for export hosts feature (#5895) 2022-05-25 10:29:50 -05:00
Luke Heath
65a673870f
Fix device refetch page reload error (#5891) 2022-05-24 15:42:25 -05:00
Noah Talerman
6d4e64c3a6
Add "Include Fleet Desktop" option to "Add hosts" modal (#5866)
- In the Fleet UI, expose option to generate an osquery installer that includes Fleet Desktop
2022-05-24 09:24:43 -04:00
Luke Heath
b1028465e1
Export hosts to CSV with selected columns (#5841) 2022-05-23 22:46:40 -05:00
Luke Heath
d510db37ef
Fix issue count display (#5871) 2022-05-23 17:18:32 -05:00
gillespi314
78b1a60a0d
Add bundle identifier to Software page UI (#5868) 2022-05-23 17:08:44 -05:00
gillespi314
546986787a
Remove iptables from UI (#5869) 2022-05-23 17:08:30 -05:00
gillespi314
bbc1891420
Add ability to see Google Chrome profiles on the Hosts page (#5839) 2022-05-23 14:27:30 -05:00
gillespi314
2db2c16511
Include MIA hosts under total count for Offline hosts (#5854) 2022-05-23 14:11:02 -05:00
Luke Heath
7d87c03eb1
Get license data from device details response (#5822) 2022-05-19 22:21:48 -05:00
Luke Heath
5a89d93f73
Remove view all hosts links from device user page (#5793) 2022-05-19 17:21:06 -05:00
gillespi314
4a4e832d3a
Increase minimum password length to 12 characters (#5712) 2022-05-18 12:03:00 -05:00
Luke Heath
c52604cfb7
Add policies to my device page (#5787) 2022-05-18 10:27:03 -05:00
Luke Heath
8eeeebb19f
Add more loading spinners to async actions (#5742) 2022-05-17 14:14:09 -05:00
Luke Heath
a6b2d2413a
Add last used column to host details software table (#5681) 2022-05-12 11:34:46 -05:00
Luke Heath
a95927340c
Improve homepage latency by removing redundant requests (#5675) 2022-05-12 10:58:50 -05:00
Luke Heath
9b857d0233
Set selection header width on tables, fix queries icon (#5703) 2022-05-12 09:23:06 -05:00
RachelElysia
34a2d3e483
UI Zendesk integrations (#5356) 2022-05-10 21:33:30 -05:00
RachelElysia
e145aa180a
Fix software inventory for device user (#5620) 2022-05-09 10:18:00 -05:00
RachelElysia
e3c0e2d3b5
Fix password reset redux auth token issue (#5630)
Co-authored by: Sarah Gillespie <sarahgillespi314@gmail.com>
2022-05-09 10:16:35 -05:00
RachelElysia
55d2cf1f10
Integrations Page: Remove edit integration from UI, Render duplicate error message, Unique integration naming convention (#5577) 2022-05-06 12:31:11 -04:00
RachelElysia
36feff8456
App Settings Page: fix checkbox/dropdown validations (#5602) 2022-05-06 08:41:39 -04:00
RachelElysia
af264acdbe
Manage Queries Page error: Fix icon size (#5591) 2022-05-06 08:36:33 -04:00
RachelElysia
974d1fed42
Create integration UI: FE validation for https protocol (#5586) 2022-05-05 17:08:18 -04:00
RachelElysia
b85105113f
UI bug fix: Mac details > Software tooltip shows correctly on hover (#5597) 2022-05-05 16:47:09 -04:00
RachelElysia
1899db5202
Integration page can update to empty array (#5593) 2022-05-05 14:04:34 -04:00
RachelElysia
fba916e636
UI Fix padding on live policy warning (#5521) 2022-05-04 09:05:52 -04:00
RachelElysia
6b34f32e88
Frontend Tech Debt: All data/page errors use same component (#5455) 2022-05-03 16:57:08 -04:00
RachelElysia
88b86d063d
UI Revert empty state for host details users/software (#5489) 2022-05-02 18:41:26 -04:00
Roberto Dip
a4725518ac
filter out Google Chrome profiles without an associated email before ingesting (#5440)
To add support for #400, we're using the macadmins/osquery-extension to gather Google Chrome profiles from hosts.

Under the hood, the extension looks and parses a json file in which Chrome stores a bunch of data. Given that emails are not required to create Chrome profiles, some of the profiles stored in this file and returned by the query we're using contain empty emails.

The idea after this change is to prevent empty emails from being ingested in the first place instead of filtering them after the fact. I have also included a migration to clean the rows with empty email columns.

Fixes #4780
2022-05-02 09:55:40 -03:00
RachelElysia
0aa8db3a2f
Spiffier UI: Fix empty states (#5395) 2022-04-29 15:59:27 -04:00
RachelElysia
390ea4d82f
App Settings Page: Styling fixes (#5453) 2022-04-29 14:00:25 -04:00
Luke Heath
2651343be4
Refresh user and config on every route change (#5425)
* Refresh user and config on every route change

* Fix build error

* Remove stray log
2022-04-29 08:22:02 -07:00
Desmi-Dizney
2cd3508c88
Editor pass - New query and new policy: Identify optional fields to users (2) (#5413)
Editor pass for: https://github.com/fleetdm/fleet/pull/5167 - frontend/pages/policies/PolicyPage/components/NewPolicyModal/NewPolicyModal.ts
2022-04-28 11:21:40 -05:00
Martavis Parker
0cb8326423
Fixed style for action buttons in all modals (#5402)
* fixed style for action buttons in all modals

* fixed tests and modified more components

* fixed class reference in test

* removed unused file
2022-04-27 13:40:28 -07:00
RachelElysia
affdb42e31
UI Spiffier: Fix checkbox alignment (#5407) 2022-04-27 12:05:08 -04:00
Martavis Parker
32e365c7e9
removed unnecessary check for enter key (#5403) 2022-04-27 10:37:47 -05:00
RachelElysia
ced15c2ee3
Bug fix: Display query name when editing a schedule (#5390) 2022-04-26 16:57:11 -04:00
RachelElysia
6917331a1b
Host Details Page: Render better messaging for various empty states (#5294) 2022-04-26 14:00:47 -04:00
Luke Heath
5f8ec9d780
Add padding above query title on edit query page (#5323) 2022-04-26 10:38:56 -05:00
Tharun Rajendran
3b21e8630b
chore(test): remove enzyme from the package.json (#5359) 2022-04-25 20:28:41 -05:00
Tharun Rajendran
bd18bf3c7d
chore(test): rewritten scheduled query section test using rtl (#5358) 2022-04-25 15:36:42 -05:00
Martavis Parker
384c987389
Removed all traces of Redux from the app! (#5287)
* clean up routes and useless components

* component clean up

* removed redux from routes

* rename file

* moved useDeepEffect hook with others

* removed redux, fleet, app_constants dirs; added types to utilities

* style cleanup

* typo fix

* removed unused ts-ignore comments

* removed redux packages!!!

* formatting

* fixed typing for simple search function

* updated frontend readme
2022-04-22 09:45:35 -07:00
Martavis Parker
0d30854121
Unified text for private IP address (#5301)
* unified text for private ip address

* updated capitalization
2022-04-22 00:28:11 -07:00
Tharun Rajendran
e0fc5dcd76
chore(test): rewritten query side panel test using rtl (#5189) 2022-04-21 17:26:19 -05:00
RachelElysia
5d1d963e5c
App Settings Page: All pages rendering as separate components on separate tabs (#5199) 2022-04-21 14:12:42 -04:00
Martavis Parker
6a5f7172ef
Fixed error handling for invalid auth token (#5261)
* fixed error handling for invalid auth token

* lint fixes
2022-04-20 12:51:01 -07:00
RachelElysia
bed53535bb
Query Results Page: Show query modal (#5165) 2022-04-20 14:12:53 -04:00
Martavis Parker
0cc02b5fe3
replaced old api calls with new version (#5254) 2022-04-20 10:45:32 -07:00
Martin Angers
fd0cd153ce
Fix SSO paths to always use /v1/ instead of /latest/ (#5246) 2022-04-20 12:46:45 -04:00
RachelElysia
9ea6fe5efa
New query and new policy: Identify optional fields to users (#5167) 2022-04-20 08:48:47 -04:00
gillespi314
70a61b86f1
Update os version aggregated stats for all teams (#5083) 2022-04-18 16:19:58 -05:00
Noah Talerman
124d272b38
Update the columns and elements the Fleet UI shows/hides at breakpoints (#5186)
* Revisions to the specification in the "Make table behavior in the Fleet UI consistent down to 768px" issue: #3052
2022-04-18 13:36:25 -04:00
Lucas Manuel Rodriguez
da171d3b8d
Merge pull request from GHSA-pr2g-j78h-84cr
* Fix access control issues with users

* Fix access control issues with packs

* Fix access control issues with software

* Changes suggested by Martin

* All users can access the global schedule

* Restrict access to activities

* Add explicit test for team admin escalation vuln

* All global users should be able to read all software

* Handbook editor pass - Security - GitHub Security (#5108)

* Update security.md

All edits are recorded by line:

395 replaced “open-source” with “open source”
411 replaced “open-source” with “open source”
439 added “the” before “comment”; replaced “repositories,” with “repositories”
445 deleted “being” before “located”
458 added “and” after “PR”
489 replaced “on” with “in”
493 replaced “open-source” with “open source”; Replaced “privileges,” with “privileges”

* Update security.md

line 479

* Update security.md

added (static analysis tools used to identify problems in code) to line 479

* Fix UI

* Fix UI

* revert api v1 to latest in documentation (#5149)

* revert api v1 to latest in documentation

* Update fleetctl doc page

Co-authored-by: Noah Talerman <noahtal@umich.edu>

* Add team admin team policy automation; fix e2e

* Update to company page of the handbook (#5164)

Updated "Why do we use a wireframe-first approach?" section of company.md

* removed extra data on smaller screens (#5154)

* Update for team automations; e2e

* Jira Integration: Cypress e2e tests only (#5055)

* Update company.md (#5170)

This is to update the formatting under "empathy" and to fix the spelling of "help text."
This was done as per @mikermcneil .
This is related to #https://github.com/fleetdm/fleet/pull/4941 and https://github.com/fleetdm/fleet/issues/4902

* fix update updated_at for aggregated_stats (#5112)

Update the updated_at column when using ON DUPLICATE UPDATE so that
the counts_updated_at is up to date

* basic sql formatting in code ie whitespace around operators

* Fix e2e test

* Fix tests in server/authz

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
Co-authored-by: Michal Nicpon <39177923+michalnicp@users.noreply.github.com>
Co-authored-by: Noah Talerman <noahtal@umich.edu>
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com>
2022-04-18 10:27:30 -07:00
gillespi314
6708ecc304
Handle routing for setup page (#5152) 2022-04-15 18:13:59 -05:00
Martavis Parker
db5dc748d9
using ellipsis on policies table only for smaller screens (#5139) 2022-04-15 16:39:49 -05:00
RachelElysia
5ece6502ad
Jira Integration: Cypress e2e tests only (#5055) 2022-04-15 12:41:05 -05:00
Martavis Parker
0604b64f6b
removed extra data on smaller screens (#5154) 2022-04-15 12:05:41 -05:00
RachelElysia
9fc4c7c7d6
Add tooltip to Save button if no Integrations found (#5130) 2022-04-13 17:23:09 -05:00
gillespi314
7f2f9d3326
Set default values for create team member form (#5129) 2022-04-13 15:55:59 -05:00
Martavis Parker
6b0c944ffb
Widened area to click add targets (#5109) 2022-04-13 14:25:33 -05:00
RachelElysia
e02ececbe7
Temporarily remove export host csv button (#5125) 2022-04-13 14:22:10 -05:00
RachelElysia
12a07aa4d9
UI: Vuln max age (#5121) 2022-04-13 13:45:50 -05:00
gillespi314
fa8bfbd796
Extend sort functionality for policy status UI (#5078) 2022-04-13 11:08:37 -05:00
gillespi314
9476e92693
Fix create user form for team admin (#5105) 2022-04-13 11:01:53 -05:00
Tharun Rajendran
4a439a1109
chore(test): rewritten scheduled query panel test using rtl (#4945) 2022-04-13 10:24:58 -05:00
RachelElysia
a594f89e8a
Unstyled focus button is not transparent (#5090) 2022-04-12 17:31:20 -05:00
Martavis Parker
3f86c12f16
Fix react lifecycle issue for selecting targets in a pack (#5074) 2022-04-12 15:32:12 -05:00
RachelElysia
c5df50d98d
Fix policies on small width (#5077) 2022-04-12 15:31:35 -05:00
RachelElysia
46e323cd9c
Host Details Page: Policy table truncates policy name (#5087) 2022-04-12 15:31:07 -05:00
RachelElysia
015bfb877f
Exact same styling as manage schedule page (#5089) 2022-04-12 15:30:33 -05:00
Tharun Rajendran
a8f59f8005
chore(test): rewritten select target dropdown test using rtl (#4943) 2022-04-12 15:28:22 -05:00
RachelElysia
67ca6d37dd
UI: Jira password deprecated, use Jira API token (#5067) 2022-04-12 11:33:59 -04:00
Tharun Rajendran
a9747128d0
chore(test): rewritten icon components test using rtl (#4764) 2022-04-12 10:27:12 -05:00
Martavis Parker
3a326cd0ac
Team policy automation (#5004)
* added teams webhook calls

* split global admin and team admin tests; added policy automation

* changes file

* fixed type errors

* fixed e2e test

* fixed typo

* fixed admin test syntax

* fixed test logic for team maintainer

* lint fixes

* more admin e2e test fixes

* fixed team policy test

* removed duplicate test
2022-04-11 14:46:35 -07:00
RachelElysia
2eeb9142b3
UI: Sort live queries/policies (#5060) 2022-04-11 17:17:24 -04:00
Luke Heath
d75cf11cec
Indicate that a policy's data is not yet accurate (#5031) 2022-04-11 15:21:34 -05:00
gillespi314
ab85963cbd
Handle UI error parsing invalid sql (#5016) 2022-04-11 15:18:31 -05:00
Martavis Parker
a8d7b5478b
Updated API routes to use current format for frontend use (#5018)
* removed global api routes; using 'latest' instead of v1 for api routes

* lint fixes

* updated docs and tests

* lint fixes

* route fix

* fixed routes breaking packs queries

* revert test change
2022-04-11 13:04:38 -07:00
RachelElysia
d885758a6a
UI: Settings > Integrations tab, Software Vulnerabilities Webhook v. Integration (#4874) 2022-04-11 15:04:41 -04:00
Tharun Rajendran
12b441a5dd
chore(test): rewritten registration form page's test using rtl (#5013) 2022-04-08 09:35:57 -05:00
RachelElysia
d1860ad86d
UI: Enter button presses action button for forms/modals (#4939) 2022-04-07 20:07:38 -05:00
gillespi314
1a2123a358
Improve UI responsiveness for tables at narrower screen sizes (#4926) 2022-04-07 14:12:38 -05:00
gillespi314
99728835c5
Remove duplicate error message on create pack page (#5000) 2022-04-07 12:45:30 -05:00
Martavis Parker
cfb1474eb8
Auth Redux Removal (#4924)
* all login methods no longer use redux

* removed redux from registration

* redirect user from registration

* removed redux from sso invite

* removed redundant component

* refactored user settings page

* removed redux from logout

* cleaned up unused redux calls

* lint fixes

* removed test

* removed old config interface

* fixed registration bug

* team permission fix

* removed remaining redux references from pages - #4436

* better way to set config
2022-04-07 09:08:00 -07:00
gillespi314
1cf784999c
Extend client-side search across columns in UI tables (#4955) 2022-04-07 10:37:43 -05:00
Tomas Touceda
f2aba83a73
Extend vulnerability age to 30 (#4901) 2022-04-06 11:42:02 -03:00
RachelElysia
5642981086
Homepage & Manage Host Page: Improved empty software messages (#4953) 2022-04-06 10:08:11 -04:00
gillespi314
727ba8b0db
Fix bug sort availableTeams context (#4948) 2022-04-05 17:44:05 -05:00
gillespi314
d6e900db4b
Add macOS version information to UI dashboard (#4719) 2022-04-05 15:04:00 -05:00
Tharun Rajendran
4ff9f6702d
chore(test): rewritten select target menu test using rtl (#4937) 2022-04-04 16:34:24 -05:00