Commit graph

14323 commits

Author SHA1 Message Date
Martin Angers
c3ebce9293
Improve memory usage of software installers parsing (#23596) 2024-11-12 09:28:08 -05:00
Mike McNeil
eff1041b14
Website: Give people an option of Slack channels (#23717) 2024-11-11 23:17:54 -06:00
Mike McNeil
af2a3e6a6d
Website: Follow-up to "fluffing" PR (#23715) 2024-11-11 22:53:28 -06:00
Eric
a026d94c5e
Website: Update alignment of mobile nav links & homepage statistics styles (#23708)
Closes: #23640

Changes:
- Updated the styles of mobile nav links to keep text vertically
aligned.
- Updated the statistics on the homepage to stack vertically on smaller
screens
- Reduced the padding and font size of the homepage hero on smaller
screens
2024-11-12 10:07:01 +09:00
Eric
59c85b6ddd
Website: add Workbrew integration card (#23633)
Closes: https://github.com/fleetdm/confidential/issues/8543

Changes:
- Added a card for Workbrew on the integrations page.

---------

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2024-11-12 08:29:21 +09:00
github-actions[bot]
2490e105ee
Update versions of fleetd components in Fleet's TUF [automated] (#23704)
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-11 20:27:26 -03:00
Dante Catalfamo
17c3a1e552
Update golden scripts for warp and box fix (#23696)
#22773

Added/updated tests
2024-11-11 17:00:03 -05:00
Rachael Shaw
df6da8101f
API docs: fix queries response formatting (#23698)
Fix indentation
2024-11-11 15:27:31 -06:00
Victor Lyuboslavsky
cab2426bf4
Added better handling of timeout and insufficient permissions errors in NDES SCEP proxy. (#23654)
#23525

# Demo
<div>
<a href="https://www.loom.com/share/e252ac2038b34941a9043867f79228f3">
<p>[Demo] Handling timeout and insufficient permission errors in NDES
#23525 - Watch Video</p>
    </a>
<a href="https://www.loom.com/share/e252ac2038b34941a9043867f79228f3">
<img style="max-width:300px;"
src="https://cdn.loom.com/sessions/thumbnails/e252ac2038b34941a9043867f79228f3-2ff60eb9e0f54dd5-full-play.gif">
    </a>
  </div>

# 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-11 14:57:28 -06:00
Rachael Shaw
9585ca7d9a
Docs: Fix formatting issues in API responses (#23692)
+ Fixed some indentation
+ Added some missing commas and colons
+ Removed some duplicate keynames
2024-11-11 14:08:14 -06:00
Jahziel Villasana-Espinoza
59abd8b1d0
fix: update logic for filtering VPP apps based on host MDM status (#23656)
> Related issue: #23247 

# 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-11-11 14:35:05 -05:00
Victor Lyuboslavsky
90915b9e1d
Allow to disable Apple MDM SCEP renewal/verification (#23660)
https://github.com/fleetdm/confidential/issues/8528

Manual merge from special branch
https://github.com/fleetdm/fleet/compare/rc-patch-fleet-v4.57.3...rh-patch-4.57.3,
gated by env vars.

No changes entry since this is a temporary feature for a customer, which
we may not want to maintain.
2024-11-11 13:25:21 -06:00
Dante Catalfamo
3604a9abf8
Add reboot to linux unlock script (#23382)
#22437

There is a bug in Ubuntu 24.04's distribution of GDM that prevents it
from starting correctly and displaying a prompt to the user if
`/etc/nologin` is present. This issue is not present on the current
release of Fedora, meaning it is Ubuntu specific.

The way we lock users out is by manually creating the `nologin` file and
then masking the `systemd-user-sessions` systemd unit, which creates the
file on shutdown and deletes it on startup. This will cause a PAM policy
to fail and prevents anyone from logging in. When we unlock the system
we delete the `nologin` file, unmask the `systemd-user-sessions` unit,
and manually run the binary that it should start.

This process removes the cause of the GDM bug, but we need to reboot the
machine to get GDM working again.

While I have not yet been able to determine the exact cause of the bug,
this fix will prevent the user from being stuck with a black screen once
the machine is unlocked.

This fix will not remedy GDM showing a black screen upon being locked,
it only ensures that the user isn't stuck having to manually reboot the
machine once it's unlocked.

We should check back on this soon to see if the bug gets been fixed
upstream.
2024-11-11 14:22:22 -05:00
Dante Catalfamo
915213a0a3
Fix uninstall for Warp and Box (#23652)
#22773
2024-11-11 14:20:31 -05:00
Dante Catalfamo
ddbf6f1f29
Add support for zstd deb packages (#23657)
#22891
2024-11-11 14:13:01 -05:00
Eric
2d8ebb4388
Website: Update CRM helper and usage (#23670)
Changes:
- Updated the update-or-create-contact-and-account helper to update
created contact records with a psychological stage
- Updated places where we were using the
update-or-create-contact-and-account helper to set a contact source on
new records.
2024-11-11 12:35:49 -06:00
jacobshandling
e1b28eadc2
Set minimum height for the Add hosts > ChromeOS > Policy for extension field to avoid scrollbar (#23642)
## #23016 

![Screenshot 2024-11-07 at 10 50
48 PM](https://github.com/user-attachments/assets/68b1ea91-416b-4cf8-b4fa-ede1f72cef66)


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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-11-11 10:15:47 -08:00
jacobshandling
8fe73d7efe
UI: Dismiss error flash on DUP when changing URL (#23671)
## #23669 


![ezgif-4-55897686f6](https://github.com/user-attachments/assets/20232177-d919-4a67-bfe9-d4c20c375dd3)


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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-11-11 10:14:49 -08:00
Mike McNeil
1db781f603
Fluffing (#23677) 2024-11-10 00:31:13 -06:00
Ian Littman
8b2d21604e
Delete Fleet Desktop auth token when we detect a migrated host (#23658)
#23164

This ensures that "My device" correctly shows the current host
immediately after migration, rather than the old host (Orbit is already
reporting on the current host correctly due to swapped node keys)

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

QA'd on macOS as there's a runtime guard on this code.
2024-11-09 23:35:49 -06:00
Ian Littman
28cd420b08
Set self-service on initial data pull when premium license is set (#23641)
#21948

This should avoid temporary periods where self-service is missing when
it shouldn't be.

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

Will validate updates and cross-OS compat once code is reviewed and I
hear back on logs to make sure this is the correct fix.
2024-11-08 17:15:29 -06:00
Brock Walters
8ecaed8c35
authentication link in API-only user paragraph is dead (#23628)
Changes not intended to be permanent. Link needs to be fixed.

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2024-11-08 17:16:30 -05:00
Sharon Katz
a24a78416a
Modify EOPs points to 156 (#23662) 2024-11-08 15:53:04 -06:00
Ian Littman
d746b9179a
Record activity when activity automations are enabled/edited/disabled (#23477)
#21709, re-roll/expansion of work done by @ilpianista in #21368

# 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

---------

Co-authored-by: Andrea Scarpino <andrea@scarpino.dev>
2024-11-08 09:07:56 -06:00
Marko Lisica
e5f1e2b6a2
Call out that automatic install is available for macOS, Windows and Linux hosts (#23650) 2024-11-08 09:52:56 -05:00
RachelElysia
518a3115cd
Followup: Fix run script from script details bug, clean code (#23601) 2024-11-08 09:22:49 -05:00
Mike McNeil
c230642fa4
Handbook: fix broken link (#23043) 2024-11-07 23:17:10 -06:00
Eric
59d956df3a
Website: Update hover state on articles sidebar CTA, fix alignment of newsletter banner (#23638)
Changes:
- Added a hover state to the swag request CTA on the device-management
page
- Made the entire sidebar cta on article pages clickable.
- Updated the alignment of the newsletter banner on the homepage.
2024-11-08 09:03:12 +09:00
Eric
c1ed73a8b4
Website: Update links in query library and syntax highlighting on policy pages. (#23591)
Closes: #23516
Closes: #23517

Changes:
- Updated the headings on the /queries page to be clickable links
- Updated the query detail page to highlight osquery tables/columns in
queries
- Updated code blocks on the query details page to prevent the copy
button from covering the content in the code block.
2024-11-07 15:49:16 -06:00
Scott Gress
1551157c23
Fix rate limiting issue in Trivy workflow scan (#23634) 2024-11-07 15:06:17 -06:00
Brock Walters
fa24f130b2
Update workstations-canary.yml (#23617)
Add - path: macos-execute-disable-fleet-desktop.sh to Workstations
(canary) script library

Co-authored-by: Victor Lyuboslavsky <victor.lyuboslavsky@gmail.com>
2024-11-07 15:43:08 -05:00
Brock Walters
56d4fb02f3
Update fleetctl.md (#23632)
Customer using * in their password got shell errors using fleetctl
commands copied from this article.

Updated strings in fleetctl commands to be single-quoted (literal) to
show users good hygiene on input.
2024-11-07 15:42:49 -05:00
Gabriel Hernandez
7b39252852
remove express package (#23576) 2024-11-07 14:40:08 -06:00
Luke Heath
77085666f9
Update ABM yaml to set defaults teams using new format (#23600) 2024-11-07 14:38:35 -06:00
Eric
5d0b4e9360
Handbook: add section about article meta tags (#23630)
Closes: #23510

Changes:
- Added a section to the communications handbook page about article meta
tags
2024-11-07 13:38:05 -06:00
Lucas Manuel Rodriguez
4eabb68f6e
Prevent broken build system when Ctrl+C a orbit/desktop windows compilation (#23623)
#23606

A Ctrl+C during a fleetd Windows build could leave a windows syso named
`resource.syso` in Fleet Desktop folder which was preventing macOS/Linux
builds from happening.

Related: https://github.com/josephspurrier/goversioninfo/issues/14

PS: If you already have a lingering `resource.syso` in `orbit/cmd/orbit`
or `orbit/cmd/desktop` then removing it will solve the issue.
2024-11-07 15:55:41 -03:00
Drew Baker
82a7e6f831
Create how-to-use-policies-for-patch-management-in-fleet.md (#23626)
Adding blog post from Harrison
2024-11-07 13:53:53 -05:00
Brock Walters
4be695931b
Add macos-execute-disable-fleet-desktop to Workstations (canary) script library (#23616)
Customers that have deployed the Fleet agent with the Fleet Desktop
application enabled sometimes want a method to arbitrarily disable Fleet
Desktop without deploying a new Fleet agent package installer.

This workflow writes a script & a Launch Daemon on a macOS Host which is
executed as a background process (because it must stop & restart the
Fleet agent) in order to disable the Fleet Desktop application by
modifying the Fleet agent configuration.
2024-11-07 13:04:45 -05:00
Robert Fairburn
e525eed606
Include root.json in check-tuf-timestamps.yml (#23608) 2024-11-07 11:32:01 -06:00
Jahziel Villasana-Espinoza
ff90aade76
feat: add some docs for creating a signed fleetd-base installer for QA purposes (#23614)
Updated the docs based on our experience QA-ing
https://github.com/fleetdm/fleet/issues/19372

There will be a follow-up PR with some details for generating the base
installer during development.
2024-11-07 12:29:47 -05:00
Ian Littman
cfead6a35f
Fix path resolution for installer queries and scripts to always be relative to where the query file or script is referenced (#23502)
#22187

Similar fix to #22555: resolve paths at spec parsing time rather than
when trying to grab files

# 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-07 11:22:08 -06:00
Eric
b6a1127b60
Website: update custom hook (#23618)
Changes:
- Updated sails.LOOKS_LIKE_ASSET_RX
2024-11-07 11:09:55 -06:00
Ian Littman
c797fb73c2
Delete pending script executions when the underlying script is edited or deleted (#23520)
#21888 

# 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-11-06 18:15:52 -06:00
Mike McNeil
48e1d7bde1
Update single-sign-on-sso.md (#22500)
This is a really bad PR. I am sorry. I previewed it and I know it looks
horrible. Please consider it only little stickerboard of ideas.

I do, however, stand by these ideas (though not my execution of them):
- changing the first sentence to clarify whether or not this is SSO for
the Fleet console GUI/CLI experience, or if we're talking about end user
admin for employees using Fleet Desktop / getting "zero touched"
(signing into their ABM'd or autopiloted devices)
- finding some way to name Okta, and ideally the other examples I
provided, for SEO, to give people examples from a set, to get
recognizable names of the integratiion above the fold, to give people a
dash of personality by including authentik
- consolidating JIT and the other SAML implementation details into a
sentence
- unhoisting it downards (though not in the weird way I did it) -

> References:
> - ["Why read
documentation?"](https://fleetdm.com/handbook/company/why-this-way#why-read-documentation)

---------

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2024-11-07 08:02:28 +09:00
Rachael Shaw
1e0c482290
#23314: Rename "Transparency" menu item in Fleet Desktop (#23392)
Took a stab at implementing #23314 since it is a text change only.

Documentation changes are
[here](https://github.com/fleetdm/fleet/pull/23375); if this gets merged
I'll make a new PR to the v4.60.0 docs.

---------

Co-authored-by: Ian Littman <iansltx@gmail.com>
2024-11-06 17:00:37 -06:00
Sarah Gillespie
3ea68ae1e7
Update guide to puppet module (#23369) 2024-11-06 16:57:59 -06:00
Noah Talerman
dabdb81be1
Update reference doc page: Fleet server configuration (#23551)
- Update section headers so that config options show up in the right
side bar. Today, there's only one header that shows up in the sidebar:
![Screenshot 2024-11-05 at 3 29
29 PM](https://github.com/user-attachments/assets/a208f6fa-d48d-482d-b689-36ba36fb8764)
- Remove "Example YAML" sections b/c they're redundant. More to maintain
2024-11-06 16:38:35 -06:00
Eric
581a2f7a53
Website: update sails.LOOKS_LIKE_ASSET_RX (#23603)
Closes: https://github.com/fleetdm/fleet/issues/23598

Changes:
- Updated `sails.LOOKS_LIKE_ASSET_RX` to not match URLs for articles.
2024-11-06 16:08:35 -06:00
Victor Lyuboslavsky
06a4c86b3b
Allow uploading PKG without Distribution.xml (#23590)
#23213
Use PackageInfo.xml if Distribution.xml does not exist in uploaded macOS
PKG.

This means we now support script-only packages:
<div>
<a href="https://www.loom.com/share/fb2f9fe93cb64f3aa1221f974ca0eb3a">
<p>[Demo] Install script-only macOS package on Fleet (#23213) - Watch
Video</p>
    </a>
<a href="https://www.loom.com/share/fb2f9fe93cb64f3aa1221f974ca0eb3a">
<img style="max-width:300px;"
src="https://cdn.loom.com/sessions/thumbnails/fb2f9fe93cb64f3aa1221f974ca0eb3a-4b035241497a6c22-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
2024-11-06 14:38:13 -06:00
Eric
1c2f4a77d0
Website: Update sidebar on article template page and scrolling sidebar functions (#23594)
Changes:
- Updated the styles and layout of the article template page sidebar to
match the latest wireframes
- Updated the scrolling function for sticky sidebars on articles and
docs pages
- Updated the sidebar CTA on article pages to check `typeof me` instead
of `me`.
2024-11-06 14:35:48 -06:00