Commit Graph
10405 Commits
Author SHA1 Message Date
Victor LyuboslavskyandNoah Talerman ed7ab1e428 Fixed macOS MSI package -- using local wine and wix (#16307)
New flow for `fleetctl --package --type=msi` on macOS using arm64
processor (M1, M2, etc.)
- wine must be installed locally. See
./orbit/tools/build/install-wine-macos.sh and
https://wiki.winehq.org/MacOS for reference.
- --local-wix-dir can be used to point to a local Wix3 installation
(using this switch requires a current Fleet EE subscription)
#15463 

PR for docs: https://github.com/fleetdm/fleet/pull/16459

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2024-01-30 11:08:21 -06:00
Jahziel Villasana-Espinoza 8b2e94ed95 fix: add "w" prefix to Windows OS update profile UUIDs (#16437)
> Related issue: #16411

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [x] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [x] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [x] Manual QA for all new/changed functionality
2024-01-30 12:05:43 -05:00
Gabriel Hernandez b32ba3f11c Fix UI premium message icon and text alignment (#16447)
relates to #16218

fix the alignment of the icon and text on the premium message component


![image](https://github.com/fleetdm/fleet/assets/1153709/ef83ce32-0900-4654-986a-37f4e18dc341)


- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [x] Manual QA for all new/changed functionality
2024-01-30 17:05:03 +00:00
Victor Lyuboslavsky 72705ef93a Switching from FixedBuild to FixedBuilds (part 1). (#16454)
Switching from FixedBuild to FixedBuilds (part 1).
#16412 

Converting msrc files from using FixedBuild to FixedBuilds. In part 2,
FixedBuild will be completely removed.

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
2024-01-30 10:43:28 -06:00
Gabriel Hernandez bd799c2393 fix os icons not showing properly (#16453)
relates to #15736

fix software icons not rendering properly.

- [x] Manual QA for all new/changed functionality
2024-01-30 16:14:33 +00:00
RachelElysia b49d9225f9 Fleet UI: Platform compatibility checker hides unsupported osquery tables (#16435) 2024-01-30 10:31:06 -05:00
Noah Talerman 1022282c15 Docs: update links (#16434)
- Update links for deprecated API endpoints so that they link to the
before they were deprecated
2024-01-30 10:14:48 -05:00
Victor Lyuboslavsky f3df2394e6 When writing to logging destination fails, fleet server now issues a 4xx error instead of 500. (#16420) 2024-01-29 18:38:10 -06:00
Eric a862591180 Website: update integration cards on homepage. (#16439)
Changes:
- Removed the set height and updated the padding of the integration
cards on the homepage.
2024-01-30 09:29:35 +09:00
fb395f5ef1 API design: software titles (#14831)
API changes for the following story: 
- #14674 

- Both `GET /software` and [`GET
/software/versions`](https://github.com/fleetdm/fleet/pull/14831/files#diff-7246bc304b15c8865ed8eaa205e9c244d0a0314e4bae60cf553dc06147c38b64R7035)
will work the same. We're just documenting `GET /software/versions`
- Both `GET /software/{id}` and `GET /software/versions/{id}` will work
the same. We're just documenting `GET /software/versions/{id}`
- `count` added in both `GET /software/versions` and `GET
/software/titles`. `GET / software/count` still available (but removed
from docs).

---------

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Sarah Gillespie <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Rachael Shaw <r@rachael.wtf>
2024-01-29 17:19:26 -06:00
Grant Bilstad f49075c58d broken scripts API link on scripts execution doc (#16415)
Docs change to fix broken link
2024-01-29 15:57:39 -07:00
Roberto Dip 384d0a6af0 timeout is valid only if script is sync (#16428)
this prevents us from sending `host_timeout: true` for async scripts, as
those can be queued for long periods of time.
2024-01-29 19:07:17 -03:00
Lucas Manuel Rodriguez ea25ce4e9e Fix Fleet Desktop bugs on Windows (#16402)
#15821

This PR is adding two improvements and fixing two Windows bugs in Fleet
Desktop:

## Improvement
- We are now capturing the stderr of Fleet Desktop. This helped me find
bug (1) below (otherwise the panic output below was hidden from us).
- To reduce complexity I'm removing the "Theme detection" routine
because we made the decision to use the colored icon for both themes...,
see here:
https://github.com/fleetdm/fleet/blob/415d1f493b91d9f40d87b968ce95cfc01e810e56/orbit/cmd/desktop/desktop_windows.go#L21-L27

## Bug fixes
1. Fleet Desktop icon not showing in the task bar. This was fixed by
updating to use the latest version of `fyne.io/systray`. (See
https://github.com/fyne-io/systray/issues/22#issuecomment-1173157898.)
2. Orbit now properly detects if Fleet Desktop isn't running on Windows.

Bug (1)'s panic output 
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x72b14b]

goroutine 23 [running]:
fyne.io/systray.(*winTray).setTooltip(0x1eb5d40, {0x126923f?, 0x0?})
	/Users/luk/gopath/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:260 +0xcb
fyne.io/systray.SetTooltip({0x126923f?, 0x125fc16?})
	/Users/luk/gopath/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:961 +0x29
main.main.func1()
	/Users/luk/fleetdm/git/fleet/orbit/cmd/desktop/desktop.go:103 +0xba
fyne.io/systray.Register.func2()
	/Users/luk/gopath/pkg/mod/fyne.io/systray@v1.10.0/systray.go:98 +0x2f
created by fyne.io/systray.Register in goroutine 1
	/Users/luk/gopath/pkg/mod/fyne.io/systray@v1.10.0/systray.go:96 +0xb1
```

- [X] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [X] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [X] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [x] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2024-01-29 18:52:55 -03:00
Jacob ShandlingandJacob Shandling 3c5d52a5ff UI – Adjust API Token modal, other small fixes (#16396)
<img width="653" alt="Screenshot 2024-01-26 at 4 03 14 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/4cb59fbc-1cde-4b07-bbf4-cc73091c26b1">

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-01-29 13:05:22 -08:00
Sarah Gillespie a01bc79328 Update UI pending script message (#16427) 2024-01-29 14:09:23 -06:00
Tim Lee ae87519938 16356 Unreleased bugfix for osversions filter (#16391) 2024-01-29 13:04:26 -07:00
Lucas Manuel Rodriguez b65739f035 Orbit to kill pre-existing osqueryd processes during startup (#16343)
This should fix #16006.

On Windows when a process is killed by the Task Manager, it is killed
without any signaling, thus the osqueryd processes are left orphaned.
Executing osqueryd (which we do to get host information) was failing
because the lingering processes had a lock on the database file. The
solution implemented in this PR is to kill any pre-existing osqueryd
processes before running osqueryd.

- [X] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [X] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [X] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [X] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).

PS: I added a log of the stdout+stderr of osqueryd execution when such
command fails to execute. (This helped me find the root cause.)
```
2024-01-25T11:57:56-08:00 ERR getHostInfo via osquery output= stderr="E0125 11:57:56.744843
7860 shutdown.cpp:79] IO error: Failed to create lock file:
C:\\Program Files\\Orbit\\osquery.db/LOCK: The process cannot access the file because it is
being used by another process.\r\r\n"
```

PPS: I removed some unused exported methods in the `orbit/pkg/platform`
package.
2024-01-29 16:44:50 -03:00
Luke Heath 2b7319baa5 Add changefile for Orbit modification (#16305) 2024-01-29 13:43:35 -06:00
RachelElysia 24c7044835 Fleet Frontend/UI: Revert wrapper changes (#16424) 2024-01-29 14:35:17 -05:00
Jacob ShandlingandJacob Shandling ed0346e250 UI – apply grid gap in both directions in 'Edit column modal' (#16421)
## Addresses #16418 
<img width="808" alt="Screenshot 2024-01-29 at 10 55 40 AM"
src="https://github.com/fleetdm/fleet/assets/61553566/6142337f-b781-4670-a1b3-f2bb5d225e7a">


- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-01-29 11:12:21 -08:00
Jacob ShandlingandJacob Shandling 02ecb77172 UI – negate global form field width for host page filters; help text update (#16397)
## Follow-up to #16159 - part of form field spot checks

- Negate `.form-field {width: 100%}` for `.form-field`s used within the
manage hosts page filter block

<img width="1276" alt="Screenshot 2024-01-26 at 6 10 58 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/da0b4de0-6131-4e84-adca-86d48c1335f3">
<img width="1276" alt="Screenshot 2024-01-26 at 6 10 01 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/9076a04f-946f-461a-b279-1efba26e7caf">
<img width="1276" alt="Screenshot 2024-01-26 at 6 50 40 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/0faa4329-727b-4031-8d1a-2259487ce957">


Follow form field help text pattern in edit team modal
<img width="654" alt="Screenshot 2024-01-26 at 4 50 58 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/fbd8b736-cabf-468e-8270-3d1f3257d905">
# Checklist for submitter

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-01-29 10:31:13 -08:00
Tim Lee ad5748a857 Additional OS support in osquery perf (#16390)
Adding OS Support for: 
- macOS 14.1.2 (new default)
- macOS 13.6.2
- Windows 11 22H2 2861
- Windows 11 22H2 3007
2024-01-29 11:11:49 -07:00
Roberto Dip 4aff553f1b update Go to 1.21.6 (#16405)
for https://github.com/fleetdm/fleet/issues/16278
2024-01-29 15:11:07 -03:00
Dave Herder 5bc0207c16 Update what-api-endpoints-to-expose-to-the-public-internet.md typo (#16351)
"outsite" should be "outside"
2024-01-29 10:06:33 -08:00
Lucas Manuel Rodriguez 1afb015f6c Test DB migrations with Percona XtraDB MySQL server 5.7.25 (#16320)
#15881

This PR adds a script to test DB migrations with Percona XtraDB 5.7.25.

PS: To run this test before we merge this PR to `main` you will need to
change step 2 (`Make sure to be on latest main`), instead of `main` use
this branch `15881-test-migrations-with-percona`.
2024-01-29 14:21:37 -03:00
Sarah Gillespie f0c8c0e6a7 Fix bug in manage hosts UI where changing the dropdown filter did not clear OS settings filter (#16409) 2024-01-29 11:07:58 -06:00
Jahziel Villasana-Espinoza 214315da14 fix: show pointer cursor over entire button area (#16410)
# Checklist for submitter

> Related issue: #16380

Loom demo:
https://www.loom.com/share/279daee6d5d543bc9b0a503dd6bd54c6?sid=96598e88-172f-4945-a50c-f0c68a85c050

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2024-01-29 12:03:35 -05:00
ca435eb244 Queued scripts feature (#16300)
This is the feature branch for the [queued
scripts](https://github.com/fleetdm/fleet/issues/15529) story.

---------

Co-authored-by: Jahziel Villasana-Espinoza <jahziel@fleetdm.com>
Co-authored-by: Gabriel Hernandez <ghernandez345@gmail.com>
Co-authored-by: Sarah Gillespie <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
2024-01-29 11:37:54 -03:00
RachelElysia e52dc6d8fc Fleet UI: Disable tooltip on default value (#16371) 2024-01-29 09:20:41 -05:00
Gabriel Hernandez 415d1f493b fix os updates page form not updating properly on team switch (#16369)
relates to #16045

fix UI bug on the controls os updates page where the updated targets
were not being rendered correctly when switching teams.

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [x] Manual QA for all new/changed functionality
2024-01-29 13:12:23 +00:00
Mike McNeil 0f31cefdf3 Update homepage.ejs (#16400)
Mike do you reckon this is any good?
2024-01-28 00:57:17 -06:00
Jahziel Villasana-Espinoza 0ef59081ba feat: add manual enrollment profile endpoint (#16357)
> Related issue: #16252

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-01-26 19:57:19 -05:00
Eric 213baaa258 Website: update testimonials on landing pages (#16318)
Closes: #16246
Closes: https://github.com/fleetdm/fleet/issues/16245

Changes:
- Added a logo for the quote from Harrison Ravazzolo
- Changed the `productCategories` value for the quotes from Nick Fohs
and Erik Gomez
- Updated the order of testimonials on the /endpoint-ops and
/vulnerability-management pages
2024-01-26 15:20:33 -06:00
Noah Talerman f3cb43bd19 Pricing page: Add Microsoft Security Response Center (MSRC) (#16377)
- Add MSRC to vuln management ...
2024-01-26 13:17:59 -06:00
Gabriel Hernandez ce01ca32ce Feat UI changes to controls page (#16379)
relates to #16046

updates to various UI changes for the controls page.

includes:

- changes to header styles,
- changing layout of the os updates
- remove accordion and add tabs for os update targets
- various style fixes

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
- [x] Manual QA for all new/changed functionality
2024-01-26 18:41:35 +00:00
7d00d5a41e feature: target profiles by labels (#16202)
for #14715

---------

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
Co-authored-by: Sarah Gillespie <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Jahziel Villasana-Espinoza <jahziel@fleetdm.com>
2024-01-26 11:00:58 -05:00
RachelElysia 901004e149 Fleet UI: Remove repeated version number on os details page (#16374) 2024-01-26 10:40:21 -05:00
Eric 512f0b7d3f Website: Update vulnerability management image on homepage (#16375)
https://fleetdm.slack.com/archives/C058S8PFSK0/p1706280817663569

Changes:
- Updated the widths of category images on the homepage to match
wireframes
- Added left padding to the vulnerability management image to align it
with the center of the viewport.
2024-01-26 09:38:58 -06:00
Victor Lyuboslavsky b8ccebcbca Release fleetctl for macOS as a universal binary (native support for both amd64 and arm64 architectures). (#16346)
Release fleetctl for macOS as a universal binary (native support for
both amd64 and arm64 architectures).
#9047

Tested goreleaser locally.
2024-01-26 08:01:12 -06:00
Sam Pfluger 9f244bb787 Handbook/company/readme: Add Your last MDM migration to history section (#16368)
...
2024-01-25 23:48:34 -06:00
Eric a3565ed90a Website: update default image for articles (#16365)
Closes: #16032

Changes:
- Updated the cards on article pages to display the Fleet logo on a
white background for articles that do not have an image.
2024-01-25 18:16:41 -06:00
Eric 0728f8389b Website: Update mobile docs styles (#16367)
Closes: #16324

Changes:
- Updated the "Edit page" button on documentation pages to always be
visible on mobile devices.
2024-01-26 09:12:50 +09:00
Eric de5b878b00 Website: Update homepage styles (#16353)
Changes:
- Updated the height and padding of the homepage hero 
- Updated the spacing of the logos underneath the homepage hero
- Updated the border of boxes with images in the "An open interface for
every endpoint" callout box
- Cleaned up unused and duplicated CSS rules in the homepage's
stylesheet
2024-01-26 08:32:16 +09:00
Roberto Dip b9be12b604 fix query to get windows MDM enrollment (#16348)
for #16332, this updates the windows mdm query to always return at least
one row, so we can detect windows unenrollments
2024-01-25 15:37:36 -05:00
Jacob ShandlingandJacob Shandling 07366e9497 UI – remove problematic legacy .body-wrap, apply UI-standard .core-wrapper and .main-content to DUP (#16310)
## More global solution to #16277, cleanup to prevent similar bugs

- Swap out [localized
solution](https://github.com/fleetdm/fleet/pull/16287) for standard
`.main-content` containing desired padding
- Apply `.core-wrapper` class to parent, in line with all other UI pages
- Remove problematic legacy `.body-wrap`
  - spot check all places this class was being applied:
    - PlatformWrapper
    - LiveQuery –> SelectTargets (was causing excess padding here)
    - PackQueriesTable (caused excess padding here)
    - TeamManagementPage (excess padding was being locally negated)
    - EditQueryPage
    - LiveQueryPage
    - DeviceUserPage
  - Remove local styles meant to negate `.body-wrap`'s styles

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-01-25 18:48:38 +00:00
Victor Lyuboslavsky c8ac7777e3 Fixed unreleased fleetd-chrome bug with sticky errors showing up after querying privacy_preferences table. (#16333)
Fixed unreleased fleetd-chrome bug with sticky errors showing up after
querying privacy_preferences table.
#16292
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-01-25 12:32:10 -06:00
Jacob ShandlingandJacob Shandling 026c012d6b UI - add missing 'No report' copy (#16339)
## Addresses [this missing
copy](https://github.com/fleetdm/fleet/issues/15707#issuecomment-1906595805)

<img width="1109" alt="image"
src="https://github.com/fleetdm/fleet/assets/61553566/a8b8bf17-ec42-401b-ae2c-99b8bbdbd26e">


- [x] Changes file added for user-visible changes in `changes/`
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-01-25 18:20:26 +00:00
7550fd69fa UI – Team-level host expiry setting (#16276)
## ➡️ #15965 

Without global setting:

![Screenshot-2024-01-24-at-12035PM(1)](https://github.com/fleetdm/fleet/assets/61553566/a98007a4-21b2-4f55-84e3-f58cf529af43)

With global setting:

![Screenshot-2024-01-24-at-12925PM(1)](https://github.com/fleetdm/fleet/assets/61553566/e6d20038-d2c2-4f75-a82e-3d4c0c8cb1fd)

 
- [x] Changes file added for user-visible changes in `changes/`
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
Co-authored-by: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com>
2024-01-25 18:19:49 +00:00
RachelElysia aa60187aa1 Fleet UI: Can run a live query on an edited (but not saved) existing query (#16282) 2024-01-25 13:12:59 -05:00
Sabrina Coy c069a446fd Update smoke-tests.md (#16296)
Adds additional test cases for release QA.
2024-01-25 12:10:21 -06:00