Commit Graph
14257 Commits
Author SHA1 Message Date
EricandIan Littman 3bfbc5654c Website: Update Vanta script for Fleet's integration (#23514)
Related to: https://github.com/fleetdm/fleet/issues/19312

Changes:
- Updated the send-data-to-vanta script to exclude hosts on a specific
team when it runs for Fleet's Vanta integration.

---------

Co-authored-by: Ian Littman <iansltx@gmail.com>
2024-11-05 11:02:27 -06:00
Martin Angers 2f54879f2a Bugfix: config profile deployment based on label exclusion (#23533) 2024-11-05 11:58:31 -05:00
dependabot[bot] dad4414ac5 Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#23515) 2024-11-05 10:49:49 -06:00
Gabriel Hernandez 73d287eaeb update msw (mock service worker) package to 2.5.1 (#23480)
relates to #23128

updates mock service worker package as it was using a version of
`path-to-regexp` that had a high security vulnerability. This updated
version of msw uses a newer version of the package that does not have
this vulnerability

I had to add the `jest-fixed-dom` package to update msw as well as
update our version of typescript to 4.7
2024-11-05 10:13:30 -06:00
Ian Littman 257fc8590d Expose counts_updated_at on software title by-ID endpoint, show in UI (#23478)
#22269

# 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] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-11-05 09:54:02 -06:00
Victor Lyuboslavsky 9e1c451e2b Fully deleting pending host. (#23503)
#23204 

When deleting Pending hosts, using the standard `ds.DeleteHosts` method.
This seems cleaner and more scalable than trying to handle every host
table in cleanups cron.

# Checklist for submitter

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-11-05 09:47:28 -06:00
Gabriel Hernandez 53dc33d7d6 add message to ui for cloud customers for windows auto enrollment (#23481)
relates to #21633

This adds an info banner for cloud customers to help them with their
Windows autoenrollment setup.


![image](https://github.com/user-attachments/assets/57b5e966-2b37-40eb-b85c-632ea107e624)

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
- [x] Manual QA for all new/changed functionality
2024-11-05 15:25:10 +00:00
Ian Littman a2468fa0b4 Re-enable TestCronVulnerabilitiesCreatesDatabasesPath test with more precise SUT and internal panic recovery (#23468)
#23258 (see
[comment](https://github.com/fleetdm/fleet/issues/23258#issuecomment-2443304838)
for rationale)

Validated by removing the two places that would create the directory
(early in scanVulnerabilities in cron.go, partway through download in
download.go) and ensuring the test failed (timeout after 10s).

Both dir creations happen early in the vulns cron so I was able to
drastically tighten the timing on the periodic check on this test, so
this tests completes way quicker than before as an added benefit
(automatic test parallelism notwithstanding).

The panic recovery here theoretically shouldn't be necessary, as on a
passed test the context will get cancelled while syncing the CPE sqlite,
but is included to ensure the test doesn't flake if the implementation
of the vulnerabilities cron changes such that we _would_ get a panic by
cancelling the context this early.

# Checklist for submitter
- [x] Added/updated tests
2024-11-05 07:34:54 -06:00
Sam Pfluger c025d89f2f Remove consultant (#23522) 2024-11-05 03:10:12 -06:00
Lucas Manuel Rodriguez c09360aabb Add workflow to ease QA of ADE workflows (#23470)
From discussions with @jahzielv.

QAing ADE flows:

1. New version of fleetd is pushed to `edge`
2. QA folks can trigger this new workflow and download the generated
`fleetd-base.pkg` and `fleetd-base-manifest.plist`.
3. Host the downloaded files (in `foobar/`) in their ngroks URLs (using
e.g. `go tools ./tools/file-server 8085 foobar/`)
4. Use Fleet's `FLEET_DEV_DOWNLOAD_FLEETDM_URL` to point the Fleet
server to their ngrok URL.
2024-11-05 05:28:50 -03:00
Sam Pfluger acf7f70138 Add Konstantin Sykulev (#23521) 2024-11-05 01:04:24 -06:00
RachelElysia 2d2aa24466 Fleet UI: Hide host software filters when no software + no filters applied (#23519) 2024-11-04 21:51:08 -05:00
RachelElysia 441661db2c Fleet UI: Move Fleet Desktop help text to section description (#23518) 2024-11-04 21:17:12 -05:00
Sam Pfluger bb7b14754f Fix typo and non-existent dept. (#23508) 2024-11-04 18:24:42 -06:00
Mike Thomas d2846f0fb0 website-change-macOS-to-Apple (#23429)
Closes https://github.com/fleetdm/confidential/issues/8485

- Changed "macOS" to "Apple" on the homepage and endpoint ops landing
page.
2024-11-04 17:05:51 -06:00
Sam Pfluger 5943b2081a Add sightseeing tour agenda to handbook (#23513) 2024-11-04 16:39:34 -06:00
Eric 900298f638 Website: Update contacts created by talk to us form submissions (#23498)
Closes: #23277

Changes:
- Added the submitted number of hosts to the description of contacts
created by "talk to us" form submissions
2024-11-04 15:59:39 -06:00
Sam Pfluger 9b1677213b Make Sam maintainer of communications and leadership (#23509) 2024-11-04 15:58:33 -06:00
Victor Lyuboslavsky 1d972b2853 Fix overwritten NDES errors. (#23506)
#23505 
Unreleased NDES bug

Profile error was being overwritten by a subsequent DB update.

# Checklist for submitter
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-11-04 15:44:52 -06:00
Brock Walters 988f0fbab4 Update install-fleet-maintained-apps-on-macos-hosts.md (#23499)
Updated language around use of Homebrew in Fleet-maintained apps
2024-11-04 15:59:25 -05:00
Eric 65fbc8101b Website: update talk to us form (#23500)
Closes: #23317

Changes:
- Changed the select input for the "What will you be using Fleet for?"
question into a radio input on the Talk to us" contact form.
2024-11-04 14:29:38 -06:00
Eric 16e3161dd7 Website: Enable Docsearch on query pages. (#23496)
Changes:
- enabled Algolia Docsearch on the /queries pages.
2024-11-04 13:31:36 -06:00
Ian LittmanandNoah Talerman 1d0ab5650b Docs: Note permissions distinction between global policy automations and software install (#19551) and script execution (#17129) policy automations (#23447)
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2024-11-04 12:35:49 -06:00
jacobshandlingandJacob Shandling e58ecb0ddc Update to React 18.3.1 (warnings to anticipate upgrade to React 19) (#23394)
From [the
changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md):

> "This release is identical to 18.2 but adds warnings for deprecated
APIs and other changes that are needed for React 19."

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-11-04 10:00:22 -08:00
Eric 696ab33145 Website: Update platform icons on query details page (#23491)
Changes:
- Updated position and spacing of platform icons on the query details
page to prevent style issues on multi-platform policies
2024-11-04 11:46:39 -06:00
Eric 9a0ab0b2af Website: update queries page styles (#23489)
Changes:
- Updated the class on the query code blocks on the query details page
to make sure they have SQL syntax highlighting.
 - Updated the query details page stylesheet.
2024-11-04 11:09:45 -06:00
EricandRachael Shaw f623eed47b Website: Update /queries page (#23472)
Changes:
- Standard query library:
- Added three policies to the Standard query library (tagged as premium)
- Changed the `kind` of the "Identify Apple development secrets (macOS)"
query to `policy` because it is an informational query (It returns rows
of results rather than 1 or 0) and removed its `resolution` value
- Updated the build-static-content script to remove platform names from
the end of query names (e.g., (macOS)). This is done to keep the URLs
for queries the same while hiding them in the UI
- Updated the layout of the queries page to match the latest wireframes
and updated the page to only show policies
 - Updated the styles and layout of the queries-details page.

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2024-11-04 10:58:08 -06:00
github-actions[bot]andlucasmrod 71b0ae18c9 Update versions of fleetd components in Fleet's TUF [automated] (#23474)
Automated change from [GitHub
action](https://github.com/fleetdm/fleet/actions/workflows/fleetd-tuf.yml).

Co-authored-by: lucasmrod <lucasmrod@users.noreply.github.com>
2024-11-04 11:40:21 -03:00
Lucas Manuel Rodriguez 3cdafcee5f Release fleetd 1.35.0 (#23467) 2024-11-04 11:39:46 -03:00
Randy Hill b4a5a1fb49 Update product-groups.md (#23457) 2024-11-01 16:36:04 -05:00
Noah Talerman 65d703b983 Update product-groups.md (#23421) 2024-11-01 16:32:07 -05:00
dependabot[bot] f6e93778d3 Bump elliptic from 6.5.7 to 6.6.0 (#23417) 2024-11-01 16:28:42 -05:00
Eric 89d15bb71f Website: follow up changes from pr review (#23471)
Changes:
- Updated view-basic-documentation, view-transparency, and
view-device-management to log warnings if the Cloudflare headers we use
to determine whether or not to show the swag CTA are missing in
production
- Fixed a typo in save-questionnaire-progress
2024-11-01 16:11:00 -05:00
Ian LittmanandRachael Shaw f59ffc235d Add iOS/iPadOS updates to example GitOps YAML, reference OS update GitOps YAML from OS update enforcement guide (#23320)
#21998

While looking through this I noticed a few other issues:

1. We seem to be inconsistent about what time we pick for OS update
deadlines. For profiles [it's noon local
time](https://github.com/fleetdm/fleet/blob/2e5bf75b6d40d65c5f05b0f58665375dbb71e650/ee/server/service/mdm.go#L1096),
while for Nudge [it appears to be 4am...server time or
UTC](https://github.com/fleetdm/fleet/blob/2e5bf75b6d40d65c5f05b0f58665375dbb71e650/server/fleet/nudge.go#L53-L57)?
#9013 also mentions "noon UTC-8/Pacific Standard Time", which is neither
of the above (and means that, if implemented as spec'd, the deadline
would shift by an hour during DST), while docs prior to this PR
mentioned 4am UTC-8. Maybe we don't care enough to fix the Nudge
behavior since macOS 14 (which no longer requires Nudge) came out over a
year ago, but we should at least agree on desired behavior for DDM and
document that (which is what I've done for iOS/iPad OS since they don't
use Nudge).
2. The [REST API
docs](https://github.com/fleetdm/fleet/blob/2e5bf75b6d40d65c5f05b0f58665375dbb71e650/docs/REST%20API/rest-api.md?plain=1#L1720-L1757)
don't seem to match the description of macOS behavior in the article;
the former indicates that OS updates pop up with increasing frequency
post-deadline, rather than having an impassible dialog. This may be
because behavior changed from Nudge to DDM, but iOS/iPadOS got
copy-pasted from the macOS REST docs and they never used Nudge. My guess
is that we should describe DDM behavior here.

Tagging in @mna as he looks to have implemented DDM OS updates so should
have some context here, and @noahtalerman to confirm desired behavior,
particularly on the deadline side.

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2024-11-01 14:13:58 -05:00
Ian Littman 06ad3ecb6b Clarify OS update enforcement details in REST API docs (#23464)
This applies some consistency fixes as well (e.g. noting that Mac/Win
enforcement requires MDM). Also removed mention of MDM on iOS/iPadOS
enforcement as if an iOS/iPadOS host is enrolled, it's enrolled via MDM.

See #21998
2024-11-01 14:12:01 -05:00
Mike Thomas fb473f3ece update eo-security hero text (#23450)
Closes https://github.com/fleetdm/fleet/issues/23449

- updated eo-security hero text

@mikermcneil, "Easily get security data" is my favourite, but I don't
like the double compound adjective in the subheading. What do you think
about this instead?
2024-11-01 13:50:29 -05:00
Sam Pfluger a6fd506668 Combine security docs (#23422) 2024-11-01 10:12:58 -05:00
Eric 0bb1d1e1df Website: update position of sticky sidebar nav on documentation pages. (#23446)
Changes:
- Updated the position of the "On this page" links on documentation
pages.
2024-11-01 11:17:30 +09:00
Ian Littman 8258d481a1 Clear pending (un)installs when installers are deleted (#23427)
For unreleased bug #23350, introduced because we're no longer
cascade-deleting _all_ related installs (related to #22996, #21654,
#22087)

# Checklist for submitter

- [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-10-31 18:04:06 -05:00
Sarah Gillespie 04f5b5c80c Update user permissions documentation for MDM commands (#23368) 2024-10-31 16:10:50 -05:00
Marko Lisica afd4ea115d Improve automatic install software guide (#23431)
Related to: #23245
2024-10-31 16:08:15 -04:00
Victor Lyuboslavsky bab0e159a9 Adding telemetry for specific Fleet Desktop errors (#23349)
Adding telemetry for catching issue #19172

# Docs changes

In another PR: https://github.com/fleetdm/fleet/pull/23423/files

# Demo
<div>
<a href="https://www.loom.com/share/233625875eec46508c26ae315cd52d19">
<p>[Demo] Add telemetry for vital fleetd errors - Issue #23413 - Watch
Video</p>
    </a>
<a href="https://www.loom.com/share/233625875eec46508c26ae315cd52d19">
<img style="max-width:300px;"
src="https://cdn.loom.com/sessions/thumbnails/233625875eec46508c26ae315cd52d19-45ca0ec1b7b5e9e7-full-play.gif">
    </a>
  </div>

# 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
- For Orbit and Fleet Desktop changes:
- [x] Orbit runs on macOS, Linux and Windows. Check if the orbit
feature/bugfix should only apply to one platform (`runtime.GOOS`).
- [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-10-31 14:24:42 -05:00
Noah Talerman 62d8f6454e Update pricing-features-table.yml (#23195)
User story for the customer promise was shipped in 4.56: 
- #19037
2024-10-31 12:16:20 -04:00
RachelElysia 06c2b5cc23 FE: 22916 followup code cleanup (#23306) 2024-10-31 11:14:55 -04:00
Victor Lyuboslavsky d4525d8b94 Allow reusing docker container for building desktop-linux. (#23424) 2024-10-31 09:59:04 -05:00
Noah Talerman 93b51f3ff3 Controls > Setup experience > Setup assistant: add space (#23384)
For the following bug:
- #23383
2024-10-31 09:28:55 -04:00
Noah Talerman 16054dd39b Confirm and celebrate ritual occurs triweekly (#23432)
Ritual has been happening on the Thursday following each scheduled minor
release of Fleet.
2024-10-31 09:17:53 -04:00
Drew Baker 8071e8b79d Update testimonials.yml (#23420) 2024-10-31 12:20:28 +09:00
Martin Angers 2d929115ad Add automated test for the release device iPhone/iPad flow (#23416)
Follow-up to #23340 

# Checklist for submitter
- [x] Added/updated tests
2024-10-30 21:58:52 -04:00
Eric 19be0b649d Website: update links in pricing tooltips (#23425)
Closes: https://github.com/fleetdm/confidential/issues/8642

Changes:
 - Added a lighter version of the "more info" icon
- Updated the tooltips on the pricing page to be clearer about where
users need to click.
2024-10-31 09:32:37 +09:00