Tomas Touceda
b2efc9f51c
Make redis conn timeout and keep alive configurable ( #1968 )
...
* Make redis conn timeout and keep alive configurable
* Document new configs
* Correct config name
2021-09-08 17:55:12 -03:00
Tomas Touceda
69e06476a7
Ignore nonexistent label query executions ( #1953 )
2021-09-07 15:51:49 -03:00
Tomas Touceda
a6acb1cd1a
Allow users to be readded if they were ever removed ( #1945 )
...
* Allow users to be readded if they were ever removed
* Address review comment
* lint
2021-09-07 13:33:40 -03:00
Tomas Touceda
99e9e846f4
Remove id column from host_users to allow for bulk insert ( #1931 )
...
* Remove id column from host_users to allow for bulk insert
* Update documentation
2021-09-07 11:02:35 -03:00
Tomas Touceda
cb687f6e2d
Increase timeout to check for smpt availability ( #1942 )
2021-09-06 14:29:52 -03:00
gillespi314
4a307f1274
Update email template image links ( #1938 )
...
* Update email image links; move pngs to fleetdm.com
2021-09-03 17:00:30 -05:00
gillespi314
56157617c6
Allow users to schedule queries to run every 15 minutes ( #1928 )
...
* Add new 15-min interval option to schedule
2021-09-03 11:26:30 -05:00
Tomas Touceda
6d2ae02efd
Rename core->free and basic->premium ( #1870 )
...
* Rename core->free and basic->premium
* Fix lint js
* Comment out portion of test that seems to timeout
* Rename tier to premium if basic is still loaded
2021-09-03 13:05:23 -03:00
gillespi314
5c707ae21f
Conform usage of query names for scheduled queries ( #1924 )
2021-09-03 10:57:25 -05:00
Tomas Touceda
db2e04a7c3
Update new sched query stats if there's already some ( #1918 )
...
* Update new sched query stats if there's already some
* IGNORE if the sched query is not present
* Make tests less flaky
2021-09-02 17:39:08 -03:00
Tomas Touceda
df135f57a9
Update changelog and versions to 4.2.4 ( #1921 )
...
* Update changelog and versions to 4.2.4
* Update CHANGELOG.md
Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>
2021-09-02 16:50:11 -03:00
Tomas Touceda
681e7f18a0
Add default for agent options ( #1917 )
2021-09-02 15:59:48 -03:00
gillespi314
a8c4e10fad
FleetUI: Update Avatar component ( #1880 )
...
* Replace default avatar; update components
* Add permanent images folder to website; update paths
* Disable flaky e2e tests
2021-09-02 12:12:42 -05:00
RachelElysia
66597ced71
App wide UI: Error and empty states for tables ( #1875 )
2021-09-02 08:16:19 -04:00
Tomas Touceda
15ce06263d
Dont fail config if agent opts is nil ( #1898 )
...
* Handle agentopts nil better
* Add changes file
2021-09-01 19:17:41 -03:00
RachelElysia
36971b4cb8
Host Details Page: Query performance column ( #1867 )
2021-09-01 18:08:20 -04:00
Martin Angers
9a0871a2f1
Address issues related to Redis Cluster support ( #1885 )
...
Closes #1847 .
2021-09-01 16:32:57 -04:00
Martin Angers
3755a58070
Add support for MySQL read replicas ( #1786 )
...
Adds configuration options to use a read-only MySQL replica,
and uses it instead of the primary for reads.
2021-09-01 15:50:52 -04:00
Tomas Touceda
2116217b6e
Add forgotten changes file for issue 1829 ( #1886 )
2021-09-01 14:57:54 -03:00
RachelElysia
da2a3aa1f0
App Settings Page: New advance options UI ( #1832 )
2021-09-01 10:57:25 -04:00
gillespi314
84615afbb3
Fix display of platform labels ( #1866 )
...
* Add policies UI components
* Add policy filter to hosts page
2021-08-31 20:02:23 -05:00
Benjamin Edwards
047dc5ac62
fix get hosts command to properly output json/yaml ( #1774 )
...
* fix get hosts command to properly output json/yaml based on command line flag
* add changes file
* added tests for get hosts when specifiying host
* added additional hosts to be returned in test cases
* go fmt
2021-08-31 11:37:03 -04:00
RachelElysia
6b437b8526
404 500 Pages: 2 CTA buttons ( #1846 )
2021-08-31 09:51:29 -04:00
gillespi314
452392f5d2
Add new feature: Policies ( #1772 )
2021-08-30 18:02:53 -05:00
RachelElysia
36b69c7a68
UI: License expiration warning banner ( #1825 )
2021-08-30 15:52:13 -04:00
Tomas Touceda
22267d8e0a
Group concat limit ( #1860 )
...
* wiup
* Decouple software select in two
* Add changes file
* Add missing error check
2021-08-30 16:07:24 -03:00
Tomas Touceda
2a17f9fe56
Remove hardcoded limits to the labels ( #1857 )
...
* Remove hardcoded limits to the labels
* Add changes file
* Remove test that doens't apply anymore
2021-08-30 14:56:15 -03:00
Tomas Touceda
15b7f5dd80
Create vuln path if dynamic ( #1830 )
...
* Create vuln path if possible
* Make sure we skip creation if static instance is selected
* Document behavior
* Fix return in crons and test without sleeps
2021-08-30 12:29:05 -03:00
RachelElysia
e66cb536ab
Host Details Page: Query button for observers ( #1799 )
2021-08-27 11:13:28 -07:00
Tomas Touceda
8b908f6506
Issue 1599 offline webhook ( #1777 )
...
* wip
* Add tests and finish implementation
* Add proper default for periodicity, changes file, and documentation
* Fix tests and add defaults also to new installs
* EnableHostUsers should be true if undefined as well
* In some cases, periodicity can be zero because of the migrations
* Apply defaults when migrating appconfig
* Fix lint
* lint
* Address review comments
2021-08-27 11:15:36 -03:00
gillespi314
aa588bc1ae
Manage hosts page improvements ( #1690 )
...
* Improve loading states, query param validation
* Refactor getNextLocationUrl; persist url params
* Update next location routing for certain UI actions
2021-08-26 14:49:30 -05:00
Tomas Touceda
d6d53acda5
Issue 1600 fleetctl license expiration ( #1800 )
...
* Show banner in fleet and fleetctl if license expired
* Ignore if license is nil or tier is core
* Address review comments
2021-08-26 10:28:53 -03:00
Zach Wasserman
801f44da86
Update changelog for Fleet 4.2.3 ( #1811 )
2021-08-25 20:11:45 -07:00
Zach Wasserman
5993018214
Fix live query timeout handling ( #1759 )
...
Correct cleanup of the connections was verified with the pprof goroutine
tool.
Fixes #1751
2021-08-25 15:28:04 -07:00
RachelElysia
3947838b65
Manage Hosts Page: Enroll secret secondary action ( #1787 )
2021-08-25 13:06:35 -07:00
RachelElysia
f10636f8d1
Host Details Page: Render disk space ( #1770 )
2021-08-25 13:05:54 -07:00
Tomas Touceda
a8642493ad
Add global policies ( #1750 )
...
* Add global policies
* Update documentation and add extra parameter to config
* Fix failing tests
* Store historic policy records
* Address review comments
And also remove other inmem references I saw by chance
* Add documentation for get by id request
* Add parameter doc
* Move schema generation to a cmd instead of a test
Otherwise it messes up running all tests sometimes depending on how parallel it does
* Remove brain dump for another task
* Make migration tests a separate beast
* Make schema generation idempotent and move dbutils cmd to tools
* Allow all filters and add counts to Policy
* Add test for Policy
2021-08-24 17:24:52 -03:00
Martin Angers
a3714d2ed9
Add fleetctl debug connection command ( #1706 )
...
Adds the `fleetctl debug connection` command to investigate
connection issues to the fleet server.
Closes #1579 .
2021-08-24 08:50:03 -04:00
Tomas Touceda
612fa05dd3
Log errors when osquery endpoints have issues ( #1764 )
2021-08-23 19:40:00 -03:00
gillespi314
40b0888416
Refresh host details after team transfer ( #1746 )
...
* Add API call to refresh host in local state
* Add API call to refresh host in local state
* Add host details tests to Cypress
2021-08-23 14:11:37 -05:00
Tomas Touceda
a1ceebf267
Make team schedule names more user friendly and hide them from host pack stats ( #1737 )
...
* Make team schedule names more user friendly and hide them from host pack stats
* Delete test for a different bug and add migration
* Update name template
2021-08-23 14:23:47 -03:00
Tomas Touceda
66d864cc84
Remove extra logIPs from host auth mw ( #1762 )
...
* Remove extra logIPs from host auth mw
* Fix test
2021-08-23 14:23:27 -03:00
Tomas Touceda
26a08096fb
Use GROUP_CONCAT instead of JSON_ARRAYAGG ( #1752 )
...
* Use GROUP_CONCAT instead of JSON_ARRAYAGG
* Update server/datastore/mysql/software.go
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2021-08-23 14:12:30 -03:00
gillespi314
8b4c6a1dd7
Add host modal: Select team dropdown ( #1740 )
...
* Fix Add host modal dropdown for team maintainer
* Update Cypress tests
* Set default values for add host team dropdown
2021-08-20 23:00:44 -05:00
gillespi314
bd38cc1fe9
Fix UI for activity feed initial empty state ( #1742 )
2021-08-20 22:13:45 -05:00
Tomas Touceda
ad18728ac3
Issue 1601 disk space ( #1735 )
...
* wip
* Add tests
* Add migration
* Fix tests and set platform for windows correctly
2021-08-20 14:57:37 -03:00
Tomas Touceda
605970c441
Add cascade deletes for host software ( #1739 )
...
* Add cascade deletes for host software
* Add changes file
* The drop doesn't work on certain mysql
* Fix error message
2021-08-20 14:29:00 -03:00
Zach Wasserman
de98d7fb9c
Prepare for 4.2.2 release ( #1729 )
2021-08-18 18:46:36 -07:00
Zach Wasserman
39cef4c43f
Revert "Fleet UI: Reroute homepage ( #1640 )" ( #1724 )
...
Reverts #1640 so that the homepage does not change during the patch release.
This commit will be re-applied after the release is cut.
2021-08-18 18:06:03 -07:00
RachelElysia
b85fbcbc83
Table Checkboxes: Checkboxes uncheck only on success notification ( #1707 )
...
- Uses Context API to track state
- resetSelectedRows default to false and only momentarily becomes true upon successful notification
Several other ideas were explored and ruled out including: asyncDebounce (impossible approach), applying state throughout the app (not concise nor maintainable), modifications directly to DataTable only (react-table did not have the right key combinations to reset selected rows manually when we needed).
Closes #1540
Co-authored by: @martavis
2021-08-18 16:58:56 -07:00