Tomas Touceda
dc9686024b
Remove tx from SaveHost ( #3232 )
...
* Remove tx from SaveHost
Also change REPLACE for software for an insert.
* Remove bundle identifier from the get since it's not part of the key
* Revert unneeded change
2021-12-07 12:39:07 -03:00
Luke Heath
78d5e13a97
Show all teams for global users and save team selection between pages ( #3204 )
2021-12-06 20:04:40 -06:00
Luke Heath
b3a69680e7
Fix duplicate hosts on render when host_id URL params are present ( #3189 )
2021-12-06 20:02:52 -06:00
RachelElysia
10dbfaad86
Query UI Bug: Query checkbox now reset on delete ( #3203 )
2021-12-06 11:25:02 -06:00
Lucas Manuel Rodriguez
c5375263b6
Change policy platforms name to platform singular (for consistency) ( #3221 )
...
* Change policy platforms name to platform singular
* Fix fleetctl tests
2021-12-06 13:56:28 -03:00
Martin Angers
b84ef79bf4
Add the fleetctl debug {errors,db-locks} sub-commands ( #3168 )
2021-12-06 09:26:01 -05:00
RachelElysia
eba5d1b1b6
Manage Policies Page: New policy modal ( #3108 )
2021-12-05 17:12:55 -06:00
Lucas Manuel Rodriguez
b9a408704e
Add platforms
field to policies ( #3181 )
...
* Add platforms field to policies
* Fix fleetctl tests
* PR review changes
* Add missing tests
* Add changes for ListPoliciesForHost
2021-12-03 15:33:33 -03:00
Tomas Touceda
142006cbdd
Issue 2099 enable vulnerability processing new installs ( #3104 )
...
* Enable vulnerability processing by default
* Add changes file
* Remove wrong env var
* Fix import
* Fix tests
* Update log line
* Remove unneeded import
2021-12-03 14:44:57 -03:00
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
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
Lucas Manuel Rodriguez
e64a88d8b1
Add COALESCE
s 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
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
RachelElysia
185441adc9
Manage Schedule Page: Create/Edit schedule preview modal ( #3102 )
2021-11-29 18:29:41 -05: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
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
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
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
Zach Wasserman
2b2e9f9f44
Prepare for 4.6.1 release ( #3067 )
2021-11-21 21:23:25 -08: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
Noah Talerman
a6e9d551fd
Prepare for Fleet 4.6.0 ( #3018 )
2021-11-18 17:46:57 -08:00
Zach Wasserman
b65c61cb12
Change Orbit osquery to Fleet osquery in generated packages ( #3034 )
...
Use "Fleet osquery" rather than "Orbit osquery" in packages generated
by `fleetctl package`.
2021-11-18 17:43:52 -08:00
Zach Wasserman
73ee2c6b16
Add changes files
2021-11-18 16:52:53 -08:00
Zach Wasserman
3811a63daf
Add osquery flagfile support in Orbit ( #3006 )
...
- Orbit automatically loads the flagfile when it exists in the orbit
root.
- Add packaging support to include flagfile with package.
- Fix a panic when osquery fails to start up.
2021-11-18 15:06:33 -08:00
gillespi314
c8f3934772
Fix targets selector bug ( #2981 )
2021-11-17 10:26:49 -06:00
Tomas Touceda
77a91a7ab7
Add new index to policy_memership_history ( #2973 )
...
* Add new index to policy_memership_history
* Fix typos
2021-11-17 11:42:24 -03:00
RachelElysia
f81d010b72
Fleet setup: Overflow fix ( #2927 )
2021-11-16 12:55:57 -05:00
Martavis Parker
5ac01dff4e
Re-enabled software card for home page ( #2780 )
...
* re-enabled software
* added changes files
* lint fix
* fixed url format
* fixed 500 bug, order key
* fixed table data
* fixed data gathering and linking to hosts
* fixed grid columns
2021-11-15 15:42:51 -08:00
RachelElysia
a7c6b3e7d7
Add/Edit/Delete enroll secret UI ( #2645 )
2021-11-15 16:16:06 -05:00
Lucas Manuel Rodriguez
5c1edaf527
Kill existing instances of orbit
and osqueryd
in fleetctl preview
( #2921 )
...
* Kill existing instances of orbit and osqueryd in fleetctl preview
* Add changes file
2021-11-15 18:12:25 -03:00
Luke Heath
4619696036
Fix table layout styling on host details and query page ( #2925 )
2021-11-15 14:11:22 -06:00
Zach Wasserman
e279dc1682
Implement fleetctl updates rotate
( #2831 )
...
Add support for updating keys used in the TUF update system.
2021-11-15 10:01:48 -08:00