Commit Graph
14630 Commits
Author SHA1 Message Date
Mike McNeil fd56f1cfc8 DRIs: Drew gets his articles auto-approved and Zay doesn't get pinged every time (#24393)
fyi @zayhanlon if you want to be pinged on every one of these, let Drew
know

# 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. -->

- [ ] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes
- [ ] If database migrations are included, checked table schema to
confirm autoupdate
- For database migrations:
- [ ] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [ ] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [ ] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [ ] Manual QA for all new/changed functionality
- For Orbit and Fleet Desktop changes:
- [ ] Orbit runs on macOS, Linux and Windows. Check if the orbit
feature/bugfix should only apply to one platform (`runtime.GOOS`).
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2024-12-04 15:17:47 -06:00
Drew Baker 6fe7a6f087 Linux device management article (#24329)
Adding @allenhouchins LinkedIn article to Fleet
2024-12-04 15:14:46 -06:00
Luke Heath e569720c4c Adding Drew to article DRIs (#24391) 2024-12-04 15:01:40 -06:00
Eric f67ff80e4d Website: Update stripe webhook to send confirmation emails. (#24378)
Closes: #24345

Changes:
- Updated the receive-from-stripe webhook to send confirmation emails to
users who purchase a Fleet Premium license subscription.
2024-12-04 14:22:09 -06:00
Marko LisicaandSarah Gillespie 6039708e59 Add VPP app: fix confusing empty states (#24243)
# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Sarah Gillespie <73313222+gillespi314@users.noreply.github.com>
2024-12-04 19:38:30 +01:00
Marko Lisica 317717776a Add missing loading states in delete modal (#24245)
# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2024-12-04 19:35:09 +01:00
Andrea ScarpinoandZach Wasserman 0028e2ce3f Add nftables table (#23941)
Following the discussion in #15651, this adds the `nftables` table by parsing the binary output.

---------

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2024-12-04 10:10:09 -07:00
Dante Catalfamo ca54b2264e Fix zip and dmg automation showing null platform (#24346)
#23020
2024-12-04 11:00:28 -05:00
Eugene 337d4955a0 Update product-groups.md (#24316) 2024-12-03 20:00:02 -06:00
Jahziel Villasana-Espinoza f0e3a5758f feat: create automatic install policies for fleet-maintained apps (#24298)
> Related issue: #22077

# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-12-03 19:55:58 -05:00
Eric 53e1970e44 Website: (/app-library) rename zoom icon, update button placement on mobile (#24360)
Closes #24352
Closes #24306

Changes:
- Updated the name of the Zoom icon
- Updated the Request an app button to be at the bottom of the page on
mobile devices.
2024-12-03 17:49:45 -06:00
Marko Lisica ad83e71e39 [API design] Custom OS settings: "include any label" option for custom target (#23647) 2024-12-03 18:17:42 -05:00
Marko Lisica 42d51a5b05 [YAML changes] Custom OS settings: "include any label" option for custom target (#23648) 2024-12-03 18:15:38 -05:00
jacobshandlingandJacob Shandling 6f34ca465e UI - Update service to use the latest endpoint (#24188)
## Ad-hoc small improvement, no ticket

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

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-12-03 15:08:58 -08:00
Eric 8b2c04e790 Fix broken embedded youtube video in Fleet 4.58.0 release notes (#24350)
Changes:
- Fixed a broken embedded youtube video on the Fleet 4.58.0 release
notes.
2024-12-03 16:57:11 -06:00
Scott Gress 04010ba5f3 Use goreleaser v2 in CI (#23748) 2024-12-03 16:15:31 -06:00
Eric 52d8e45d7f Msp dashboard: Update package.json and axios usage. (#24344)
Changes:
- (msp dashboard) Updated axios usage in upload-software and
edit-software to use the postForm method.
- Added form-data as a dependency to make sure the app uses
form-data@4.0.1
2024-12-03 15:42:42 -06:00
Jahziel Villasana-Espinoza 92d7f3daeb chore: fix typo (#24323)
No related issue, just noticed some small typos in the handbook
2024-12-03 15:22:09 -06:00
Martin Angers 0b57c7ab2e Maintained Apps: Add missing error check (#24340)
Found while setting up for another ticket.
2024-12-03 16:11:57 -05:00
Jahziel Villasana-Espinoza ddf5e1d19b fix: add back queries removed during merge with main 2024-12-03 16:11:08 -05:00
Mike McNeil f2850f04bc Update press-kit.ejs (#24161) 2024-12-03 14:25:57 -06:00
Eric eb1c2f5c44 Msp dashboard: Add more debug logging to software actions. (#24339)
Changes:
- (msp dashboard) Updated the edit-software and upload-software endpoints to log more
information about errors when requests to upload a software installer
fail.
2024-12-03 14:25:11 -06:00
Scott Gress 1eb71674fa Fix software title reconciliation (#24146)
for #24131 

This PR fixes an issue that can occur when reconciling entries in the
`software` and `software_titles` tables. This can cause
vulnerability-scanning cron jobs to exit early. The error is:

```
upsert software titles: Error 1869 (HY000): Auto-increment value in UPDATE conflicts with internally generated values
```

I haven't had any luck reproducing this locally; the relevant query
seems to cover all the bases as far as ensuring there are no duplicates.
I suspect it may be due to data in these instances that existed prior to
the introduction of the `additional_identifier` column in
`software_titles`. In any case, replacing the `id = id` no-op with a
clause that updates non-auto-incrementing fields is the standard
practice here (in fact it's done in other ON DUPLICATE KEY UPDATE
queries in the same file).

There are automated tests for `ReconcileSoftwareTitles`. I'd gladly add
one to test this case if I could figure out how to reliably cause it,
but if that involves altering the database to put in bad data, it's so
far from the happy path that it's probably not worth it.
2024-12-03 13:29:18 -06:00
Jahziel Villasana-Espinoza 9df4b066ff chore: merge main 2024-12-03 13:16:00 -05:00
Jahziel Villasana-Espinoza b482223d02 fix: replace Zoom FMA with Zoom for IT (#24311)
> Related issue: #23686

# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [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] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [x] Manual QA for all new/changed functionality

---

## QA steps

1. Start up Fleet. Check the DB `cron_stats` table and the
`fleet_library_apps` table to make sure that the FMA cron job was
scheduled and ran successfully
2. Apply the migrations and re-start Fleet
3. Check that 
a. The previously run FMA job(s) in the `cron_stats` table have been
deleted
b. There should now be just 1 scheduled job in the `cron_stats` table,
which should have been created ~30s after you re-started Fleet after the
migration
c. The FMA for Zoom should be replaced by "Zoom for IT" in the list of
FMAs.
4. Add the new Zoom FMA to a setup experience for some team. Run the
setup experience and validate Zoom was installed, but that no windows
pop up during setup experience.
5. Uninstall the FMA, validate that uninstall is successful
2024-12-03 13:08:54 -05:00
Martin Angers 1d365eee4c Feature branch: Windows MDM migration (#24262)
Feature branch for the https://github.com/fleetdm/fleet/issues/22075
story.
2024-12-03 12:20:24 -05:00
Martin Angers 15a8214145 Merge branch 'main' into feat-automatic-migrate-windows-hosts 2024-12-03 11:28:04 -05:00
Luke Heath 941713dda3 Update CODEOWNERS (#24314) 2024-12-03 10:20:54 -06:00
Victor Lyuboslavsky 2a6a9b990f Fixed gitops issue with gitops role. (#24297)
#24288

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

# Checklist for submitter
- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-12-03 10:12:07 -06:00
Martin Angers 7d3b11a10c Merge branch 'main' into feat-automatic-migrate-windows-hosts 2024-12-03 11:07:25 -05:00
Luke Heath b312bb99e5 Adding changes for Fleet v4.60.0 (#23817) (#24294) 2024-12-03 10:03:37 -06:00
Martin Angers 2dda7a1eb0 Replace deprecated pkcs7 package with a maintained fork (#24313) 2024-12-03 11:01:22 -05:00
Dante Catalfamo d00ab6a986 Stop hiding Windows MDM WSTEP config flags (#24289) 2024-12-03 10:04:49 -05:00
RachelElysia a0b03b0c6e Fleet UI: Add ModalFooter component to help handle sticky footers (#24169) 2024-12-03 09:09:53 -05:00
RachelElysia f6425e686c Fleet UI: Update Dropdown to use react-select 5.4 and other cleanup (#24164) 2024-12-03 09:08:11 -05:00
Martin Angers df6e1cf473 Merge branch 'main' into feat-automatic-migrate-windows-hosts 2024-12-03 08:41:57 -05:00
Eric 93d6c029f4 Msp dashboard: Update software endpoints (#24299)
Changes:
- Updated the software page to display different error messages when
requests to software endpoints fail.
- Updated the edit software endpoint to:
- have three new exits, `softwareAlreadyExistsOnThisTeam`,
`couldNotReadVersion` and `softwareDeletionFailed`
- Create database records for newly undeployed software after it has
been removed from all teams on a Fleet instance.
- Return a `softwareAlreadyExistsOnThisTeam` response if undeployed
software is being transferred to a team it is already deployed to.
- Return a `couldNotReadVersion` response if the Fleet instance cannot
read the version information from an uploaded software installer
- Return a `softwareDeletionFailed` response if an installer cannot be
deleted via an API request (If it is configured to be installed during
the macOS setup experience)
- Updated the upload-software endpoint to return a `couldNotReadVersion`
response if the Fleet instance cannot read the version information from
an uploaded software installer
2024-12-02 22:28:03 -06:00
Eric 511ffd144f Website: Update /app-library page (#24301)
Closes: #24257

Changes:
- Added an app count and link to the contact form to the /app-library
page.
2024-12-03 10:36:37 +09:00
Eric 4f70fdac3b Website: add link to /app-library to /docs sidebar (#24302)
Closes: #24258

Changes:
- Added a link to the /app-library page to the documentation sidebar
2024-12-03 10:25:29 +09:00
Eric 528d158a62 Website: update spacing between elements on personalized homepage. (#24300)
Closes: #24256

Changes:
- updated margin between sections on the homepage.
2024-12-03 10:20:32 +09:00
Eric 763d050fd6 Website: update testimonials heading on landing pages. (#24304)
Closes: #24255

Changes:
- Updated the testimonials heading on landing pages to be the same
across all landing pages/buying situations
2024-12-03 10:15:03 +09:00
jacobshandlingandJacob Shandling ed8c3a3b98 UI - Only show 'follow instructions on My device' banner for encrypted and non-escrowed Linux hosts (#24277)
## #24248

For hosts with encrypted disks that Fleet does not have a key escrowed
for:

**Banner shown for Linux:**
<img width="1464" alt="Screenshot 2024-12-02 at 10 52 08 AM"
src="https://github.com/user-attachments/assets/91dd3b64-b9da-430b-9eb0-0ae30af751d8">

**but not for Windows:**
<img width="1464" alt="Screenshot 2024-12-02 at 10 49 54 AM"
src="https://github.com/user-attachments/assets/0345db0d-74f5-4608-af7b-58efae14dfea">



- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-12-02 16:28:28 -08:00
Jahziel Villasana-Espinoza 2cdead2dce fix: use the correct copy for a macos host (#24292)
> Related issue: #23621

# 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/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2024-12-02 17:30:18 -05:00
Luke Heath 5ff65462ca Remove kubequery as no longer usable reference (#24291) 2024-12-02 16:24:20 -06:00
Martin Angers 5aef78ee26 Merge branch 'main' into feat-automatic-migrate-windows-hosts 2024-12-02 16:51:57 -05:00
Tim Lee 47a43850f0 Skip python vulnerabilities test (#24287) 2024-12-02 14:33:03 -07:00
RachelElysia 54455e9958 Fleet UI: Ability to clear webhook address and still disable policy automation (#24163) 2024-12-02 16:18:42 -05:00
Martin Angers aa8e20f21e Merge branch 'main' into feat-automatic-migrate-windows-hosts 2024-12-02 16:12:30 -05:00
Eric 6d468cada4 Msp dashboard: Update error handling in software related actions (#24283)
Changes:
- Updated the edit-software endpoint to:
- log a detailed warning when a request to get a stream of an existing
software installer returns a non-200 repsonse
- Use the modify package API endpoint when a software installer is
replaced.
- include the nested response from the Fleet instance in error messages
- Updated the delete-software endpoint to return a
'softwareDeletionFailed` exit when a specified software installer is
included in the macOS setup experience and cannot be deleted via API
requests.
- Updated the software page to show an error message with a link to the
controls page on the connected Fleet instance if the delete-software
endpoint returns a `softwareDeletionFailed` exit
2024-12-02 14:46:07 -06:00
Martin Angers 4d732113e0 Windows Migration: support the new activities in the UI (#24279) 2024-12-02 15:30:51 -05:00