Commit Graph

1469 Commits

Author SHA1 Message Date
RachelElysia
9bf0266bad
Fleet UI: Small screen overlay (#7023) 2022-08-03 09:12:07 -04:00
RachelElysia
140a651f3b
Fix spelling and grammar in standard query library (#6937) 2022-08-02 10:12:54 -04:00
RachelElysia
c8c2dd97d3
Remove retries for Welcome to Fleet host (#6999) 2022-08-02 10:09:59 -04:00
Luke Heath
ebab3f04a7
Set CORS headers for sandbox expiry request (#7006) 2022-08-02 10:05:02 -04:00
Gabriel Hernandez
f61a17bd9b
add google analytics to sandbox instances (#6941)
* add google analytics to sandbox instances

* Add serverType variable to frontend handler

* update version of html-webpack-plugin

Co-authored-by: Lucas Rodriguez <lucas@fleetdm.com>
2022-08-01 11:27:12 +01:00
RachelElysia
13478f451d
Dashboard UI: Only show welcome cards for global view (#6972) 2022-07-29 15:10:05 -04:00
RachelElysia
c8367eaf32
Fleet UI: Welcome to Fleet and Learn Fleet render conditionally for roles (#6958) 2022-07-28 15:33:31 -07:00
RachelElysia
4631e4eeaa
Fleet UI: Sentence casing, typo (#6942) 2022-07-28 14:54:01 -04:00
RachelElysia
f78fa3c42a
Fix firefox/safari > input alignment (#6925) 2022-07-27 17:22:35 -04:00
Gabriel Hernandez
75b166f8c6
add UI patterns documentation (#6878) 2022-07-27 18:36:39 +01:00
RachelElysia
c029177087
Fleet UI: External gravatar link open in new tab (#6911) 2022-07-27 09:59:21 -04:00
Gabriel Hernandez
d88c4e3066
fix fleet setup styles (#6909) 2022-07-27 14:43:13 +01:00
RachelElysia
45b8ba2675
Fleet UI: Align dropdown cursors, buttons (#6886) 2022-07-27 08:51:45 -04:00
RachelElysia
8792acb1ec
Readable copy message, fix modal cta button alignment (#6877) 2022-07-27 08:21:16 -04:00
RachelElysia
96925f9cf1
Fleet UI: Fix jumpy action dropdown (#6891) 2022-07-27 08:19:05 -04:00
RachelElysia
5a0f4eb318
Packs UI: Update osquery releases on add/edit query pack dropdown (#6888) 2022-07-26 15:27:56 -04:00
RachelElysia
fbbe4bb1e6
Fleet UI: Align checkboxes (#6873) 2022-07-26 08:15:57 -04:00
Gabriel Hernandez
7a1317432b
Add expiry time warning in sandbox mode (#6830)
* create a MainContent and SidePanelContent containers for layout

this creates these two new components for handling layout more cleanly. It also allows us to put in common components into main layout, like sandbox expiration notification

* use MainContent and SidePanelContent in current pages

this brings in the two new components and wraps the page contents in these. This also allowed us to clean up and remove unused/no needed styling code

* add MainContent component to user settings page and clean up user settings component

this cleans up the user settings page to follow the panel convention we have as well as adds the MainContent component to this page

* add MainContent component to team pages

* update Sandbox gate to render optional component when in sandbox mode and add to MainContent

* add call to sandbox api to get expiry time

this adds a conditional call when the user is in sandbox mode to get the expiry time of the instance

* fix sticky elements on settings pages to work with sandbox expiry message

* fix e2e test after MainContent refactor
2022-07-26 13:05:57 +01:00
RachelElysia
fb76123b16
Fleet Desktop UI: Add device user error for invalid token (#6850) 2022-07-26 06:36:33 -04:00
RachelElysia
08485b3a5c
Sandbox UI: Homepage, CTA to add personal device (#6775) 2022-07-25 16:42:03 -04:00
RachelElysia
8d3de2a70a
Data table UI: Fix several ellipses to appear at end of cell only (#6829) 2022-07-25 16:26:52 -04:00
RachelElysia
f00647379e
UI: Fix disabled cursor with/without tooltip (#6846) 2022-07-25 16:22:00 -04:00
RachelElysia
6ec08b405b
Manage Host UI: Convert uptime column to last restarted (#6812) 2022-07-25 09:37:12 -04:00
RachelElysia
3915a5294b
Software details UI: Fix horizontal scroll off viewport (#6811) 2022-07-22 14:03:06 -04:00
RachelElysia
acdf46314e
Device User UI: Update policy banners (#6825) 2022-07-22 12:15:23 -04:00
gillespi314
406004894a
Update placeholder text for select targets search box (#6826) 2022-07-22 11:13:37 -05:00
Desmi-Dizney
097f71e76c
Editor Pass - Adding password policy query to the default library (#6768)
* Editor Pass - Adding password policy query to the default library

Editor pass for:
-  https://github.com/fleetdm/fleet/pull/6641

* Update constants.ts

* Update frontend/utilities/constants.ts
2022-07-21 13:51:17 -05:00
gillespi314
0312454f4c
Modify host battery health returned by GET /hosts/:id (#6782) 2022-07-20 21:16:03 -05:00
gillespi314
9a1adeb61b
Update documentation and Sails app for additional usage statistics (#6589) 2022-07-20 20:53:19 -05:00
RachelElysia
0afa3e4b54
Host UI: Refactored disk space bar graph to a global component (#6741) 2022-07-20 12:39:19 -04:00
gillespi314
4792d7a759
Add UI for Fleet Sandbox to download prepackaged installers (#6721) 2022-07-19 14:28:06 -05:00
RachelElysia
1c1bec12d2
Tooltip: Spiffier 4 users list (#6730) 2022-07-19 15:13:20 -04:00
Gabriel Hernandez
f4b20b6ae5
Add SandboxGate to fleet UI that gates functionality when in sandbox mode (#6738) 2022-07-19 19:55:47 +01:00
RachelElysia
2de047b888
Logout of sandbox redirects to marketing site (#6726) 2022-07-19 11:43:57 -04:00
RachelElysia
da1868d6ae
Host Details Page: Correct software vulnerabilities count (#6729) 2022-07-19 11:43:04 -04:00
RachelElysia
733abe1aa7
Manage Host Page: Render host disk space (#6593) 2022-07-18 16:37:38 -04:00
RachelElysia
009d860076
Live Query UI: Fix results count title (#6719) 2022-07-18 10:18:57 -04:00
gillespi314
3aa64f93ba
Add isSandboxMode to AppContext (#6704) 2022-07-18 09:13:23 -05:00
RachelElysia
b058365c4e
UI: Spiffier tooltip (#6642) 2022-07-15 15:10:35 -04:00
RachelElysia
6b4af5b70b
Pack UI: Do not abbreviate packs frequency units (#6665) 2022-07-15 15:08:20 -04:00
RachelElysia
53c2221103
Edit User UI: Converting a user to SSO provides new password of null (#6689) 2022-07-15 14:38:19 -04:00
RachelElysia
c80cb324a4
Edit User UI: Fix bug related to editing multiple users (#6664) 2022-07-14 16:09:56 -04:00
RachelElysia
fb32520866
Live query UI: Fix export bug (#6659) 2022-07-14 12:21:26 -04:00
RachelElysia
9ce5ef2f59
Host Details Page UI: Granulated disk space levels (#6586) 2022-07-14 10:21:36 -04:00
Guillaume Ross
7559988000
Adding password policy query to the default library (#6641)
* Adding password policy query to the default library

Adding a built-in policy to check the minimum password length on macOS using the recently released password_policy table.

* Addding osquery minimum version + adding query to constants.ts
2022-07-13 15:26:31 -04:00
Kelvin Oghenerhoro Omereshone
2514b610b4
Use v1 for osquery endpoints (#6137)
- Update docs to use `v1` in the osquery endpoints. Ex: /api/v1/osquery/config.
- Update the Fleet UI's (Hosts > Add hosts > Advanced) flagfile.txt to use `v1` in the osquery endpoints.
2022-07-13 14:34:44 -04:00
Luke Heath
f6225cc52c
Add sandbox_enabled property to config interface (#6598) 2022-07-13 09:00:16 -07:00
RachelElysia
83d1941d80
Update osquery tables to report corrected platforms (#6554) 2022-07-08 12:01:03 -04:00
Luke Heath
b91b2c238b
Fix battery health null check (#6541) 2022-07-07 13:43:05 -07:00
RachelElysia
ed33a031db
Fleet UI: Host details / Device user page last restart time bug (#6500) 2022-07-06 13:56:31 -04:00
RachelElysia
1e4b76e6fd
Query builder UI: Add docker_container_envs table (#6510) 2022-07-06 13:05:53 -04:00
RachelElysia
a40d32501c
UI: Fix sentence case (#6509) 2022-07-06 11:54:17 -04:00
Luke Heath
943a1188f1
Add battery health to host details (#6472) 2022-07-05 12:17:51 -07:00
Luke Heath
1c6c379f4d
Improve loading states (#6471) 2022-07-05 12:10:53 -07:00
RachelElysia
7ad989d7c0
Dashboard UI: Update error states (#6382) 2022-07-01 10:21:25 -04:00
RachelElysia
fd3300a962
Host Details UI: Fix software table column width, caret alignment (#6411) 2022-06-30 10:46:05 -04:00
RachelElysia
be2c65ebe1
Login UI: Center vertical alignment, align with forgot password box (#6397) 2022-06-30 10:44:05 -04:00
RachelElysia
9367464d20
Fleet Desktop Device User Page: Remove unnecessary API call (#6427) 2022-06-30 10:42:41 -04:00
RachelElysia
9bfb43b2cf
Fix alignment for dropdown's placeholder and search text (#6395) 2022-06-29 09:49:27 -04:00
Roberto Dip
b2d07e56b5
report error analytics (#6341)
Related to #5898, this reports an anonymized summary of errors stored in Redis into the analytics payload.

For each error stored, this includes:

- A `count` attribute with the number of occurrences of the error
- A `loc` attribute with the 3 topmost lines in the stack trace. Note that stack traces only contain package name + line number (example: github.com/fleetdm/fleet/server.go:12

This also includes a minor refactor around error types.
2022-06-28 16:31:14 -03:00
gillespi314
58892fee2e
Fix false negatives for os version policies generated by UI (#6375) 2022-06-24 12:42:51 -05:00
gillespi314
b6a816fe52
Remove last keyword from UI SQL parser config (#6362) 2022-06-24 10:19:06 -05:00
Luke Heath
e16010f1f9
Improve SSO error messaging (#6339) 2022-06-23 10:32:20 -07:00
Martin Angers
8f66a50f2b
Add hosts enrolled by operating system to anonymous usage stats (#6329) 2022-06-22 16:38:11 -04:00
Martin Angers
dc9e158153
Add weekly active users count in anonymous usage stats (#6317) 2022-06-22 15:20:57 -04:00
gillespi314
7413ab45d5
Restyle links on admin page, software page (#6254) 2022-06-16 14:08:12 -05:00
gillespi314
03d7784beb
Revise manage automations modal to remove error no policies, add error no integration (#6253) 2022-06-16 14:07:39 -05:00
Luke Heath
546ef0746a
Fix actions popup alignment on user management page (#6246) 2022-06-16 08:29:27 -07:00
Luke Heath
1f3001b97e
Update API token modal to use new clipboard icon (#6234) 2022-06-15 12:30:36 -07:00
gillespi314
1258048000
Relocate sort click handler if column filter (#6225) 2022-06-14 17:57:43 -05:00
gillespi314
21837ed8ac
Enable ticket workflow for failing policies automation (#6066) 2022-06-13 18:21:24 -05:00
gillespi314
7621a0b290
Show count of visible results after a column is filtered on live query page (#6199) 2022-06-13 18:20:57 -05:00
Luke Heath
7822666603
Improve password recovery flow (#6185) 2022-06-13 07:51:37 -07:00
gillespi314
c146ea4aa4
Add new "Fleet Desktop" section to global settings page (#6161) 2022-06-11 12:23:02 -05:00
gillespi314
44f902218c
Improve live query UX (#5749) 2022-06-10 13:29:45 -05:00
Guillaume Ross
bda0ad90ad
Fix linting issue (#6178)
* Fix linting issue

Removing a query that eslint is complaining about. Will fix next week - wether by adding ignore rules or figuring out a way to escape the tons of backslashes windows wants

* Fix linting issue

Putting query back in but with escaped backslashes, which should fix the linting issue and still work in the UI.
2022-06-10 13:17:29 -04:00
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
Tharun Rajendran
e7a372f9e0
chore(test): rewritten login form test using rtl (#4933) 2022-04-04 16:33:49 -05:00
Tharun Rajendran
6fe78fe302
chore(test): rewritten breadcrumbs test using rtl (#4921) 2022-04-04 14:15:28 -05:00
Tharun Rajendran
6b68f61b22
chore(test): rewritten login page test using rtl (#4920) 2022-04-04 14:13:25 -05:00
Tharun Rajendran
90e044821f
chore(test): rewritten registration page test using rtl (#4919) 2022-04-04 14:12:29 -05:00
RachelElysia
53ca15e93b
Manage Host Page: Export hosts as CSV (#4917) 2022-04-04 14:53:14 -04:00
RachelElysia
5cce257e1e
Host Details Page: Software vulnerability column (#4836) 2022-04-04 12:33:02 -04:00
RachelElysia
b834e7d2f5
Remove viewing enroll secrets on app settings page, add changelog (#4896) 2022-04-04 12:27:13 -04:00
Martavis Parker
3575d34507
Refactor Redux-triggered flash message component (#4795)
* base logic to handle rendering a notification without redux

* removed dispatches for new flash mesage triggers

* query page wrapper is no longer needed

* refactored confirm invite page to remove redux

* refactored email token redirect to functional and typescript

* refactored pack composer page to functional and typescript

* clean up

* lint fixes

* tests no longer needed

* fixed confirm sso invite test

* test fix

* fixed test

* fixed tests

* removed redux from flash on rebased pages
2022-03-31 23:42:26 -07:00
Luke Heath
dbaef5a37b
Fix table headers showing or misaligned when selection is active (#4892) 2022-03-31 16:10:11 -05:00
Tharun Rajendran
661f48419f
chore(test): rewritten forgot password page test using rtl (#4888) 2022-03-31 11:50:30 -05:00
Tharun Rajendran
4fdb9687ef
chore(test): rewritten pack composer page test using rtl (#4886) 2022-03-31 11:50:07 -05:00
Tharun Rajendran
8bc7e91ed7
chore(test): rewritten target option test using rtl (#4885) 2022-03-31 11:49:50 -05:00
RachelElysia
a402ccab25
Host Details Page: Same naming convention for info as device user page (#4815) 2022-03-29 10:35:02 -04:00
RachelElysia
118ae6499b
UI Accessibility: Ability to tab through app (#4699) 2022-03-28 17:31:36 -04:00
Tharun Rajendran
71b66a442b
chore(test): rewritten checkbox component test using rtl (#4789) 2022-03-28 13:51:10 -05:00
Tharun Rajendran
9e65474d22
chore(test): rewritten confirmation page test using rtl (#4790) 2022-03-28 13:50:40 -05:00
Tharun Rajendran
a9b76c6fdd
chore(test): rewritten registration form test using rtl (#4791) 2022-03-28 13:50:20 -05:00
Tharun Rajendran
70a44dc262
chore(test): rewritten dropdown button component test using rtl (#4714) 2022-03-28 13:32:35 -05:00
Noah Talerman
d0ad059369
Policies page: Fix copy in "Manage automations" modal (#4835)
Fix a bug on Policies > Manage automations, in which "Vulnerability automations" copy was used instead of "Policy automations" copy
2022-03-28 13:54:34 -04:00
gillespi314
489ec700c5
Add mock API service tool for frontend development (#4814) 2022-03-25 17:02:58 -05:00
RachelElysia
6748e8bff6
Refactor host details page into components (#4632)
* Refactor host details and device user page into components and shared components
* Refactor stylesheets and update class names on cypress tests
2022-03-25 13:38:50 -04:00
gillespi314
6940200cbd
Check policy on all platforms if no platform selection is specified (#4785) 2022-03-24 10:47:43 -05:00
Luke Heath
5e647660bb
Filter out device users if no email is present (#4773) 2022-03-23 15:45:19 -05:00
RachelElysia
a3789c817e
Fleet Desktop: Refetch uses device API not host API (#4770) 2022-03-23 14:51:12 -04:00