Commit graph

11966 commits

Author SHA1 Message Date
Roberto Dip
8d9dcafbbc Merge remote-tracking branch 'origin/main' into feat-software-installers 2024-05-16 17:23:39 -03:00
Jacob Shandling
df7e8fc64a
UI - sort host queries case-insensitively (#19004)
## Addresses #18953 

<img width="727" alt="Screenshot 2024-05-14 at 4 30 58 PM"
src="https://github.com/fleetdm/fleet/assets/61553566/d60ed18a-e0ad-4a55-86f6-db3b6bb8e707">


- [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-05-16 12:52:47 -07:00
Jacob Shandling
7cc39cdc3e
UI – Only render SW version tooltip for > 1 version (#19003)
## Addresses #18852 

![Screenshot-2024-05-14-at-41502PM](https://github.com/fleetdm/fleet/assets/61553566/04e2ae9c-613e-49ba-95df-e2915e1427df)

- [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-05-16 12:52:39 -07:00
Victor Lyuboslavsky
f87906b1d1
Fixing flaky software tests. (#19069)
Attempt to fix the flaky software tests. Because the insert order of
software is now not deterministic.
2024-05-16 14:49:09 -05:00
Jacob Shandling
185ec23ee2
Add form validation logic pattern (#18548)
Merging during freeze as this is an internal engineering doc update with no necessary QA nor potential impact on the Fleet binary.

## Weekly update to `patterns.md` with decisions from frontend sync

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-05-16 12:48:05 -07:00
Noah Talerman
1077255791
Vulnerability processing docs: Add VS Code extensions (#19070)
- Document that Fleet now detects vulns on VS Code extensions
2024-05-16 15:41:17 -04:00
JD
910c0bc4c3
Rename Explore data (fleetdm.com) team (#19074)
Renames team `Explore data (fleetdm.com)` to match team name in dogfood
for successful gitops run.
2024-05-16 12:10:42 -07:00
Mike Thomas
ebf2f867f6
Website - Add new docs CTA (#19062)
Closes https://github.com/fleetdm/fleet/issues/19061

- added new docs CTA
- removed old Slack CTA
- removed old improve docs CTA

# Checklist for submitter

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

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-05-16 12:58:32 -05:00
Savannah Friend
ef2f26a01a
Update "Apprentice to CEO" to "Apprentice" in handbook/digital experi… (#19079)
Closes fleetdm/confidential#6543 ...
2024-05-16 12:15:06 -05:00
Lucas Manuel Rodriguez
bb310e685d
Support Ubuntu 24.04 with Xorg (by detecting user's DISPLAY environment variable) (#18996)
#18925 (Should also fix #17660.)

Tests:
- Ubuntu 22.04.2
	- Wayland
		- Works with chrome  
		- Doesn't work with Firefox. 
	- Xorg
		- Works with Chrome.  
		- Works with Firefox. 
- Ubuntu 24.04
	- Wayland
		- Doesn't work with Chrome. 
		- Doesn't work with Firefox. 
- Xorg (when using Xorg it defaults to `DISPLAY=:1`, and with the
changes in this PR it works):
		- Works with Chrome.  
		- Works with Firefox.  
---

How to change between Wayland and Xorg:

- Set `WaylandEnable=false` in `/etc/gdm3/custom.conf` and reboot.

---

How to determine what's running:
```sh
$ loginctl
SESSION  UID USER SEAT  TTY 
      2 1000 luk  seat0 tty2
     c2 1000 luk        

$ loginctl show-session 2 -p Type
# will output
Type=wayland
or
Type=x11
```
---

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/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
  - 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-05-16 08:39:30 -03:00
Mike McNeil
e666ea7922
Website: Make tagline less scary (#19058) 2024-05-15 22:56:04 -05:00
Mike Thomas
18d97c828f
Added archive notes to deployment guides and linked to recommended docs (#19056)
To reduce the surface area of deployment guides to maintain (other than
our recommended method in the docs), I have:

- Added archive notes to deployment guides in our blog and linked to our
recommended deployment methods in the docs.
- Tracked down (approximately) the original publication dates of the
guides for posterity.
2024-05-16 11:31:03 +09:00
Eric
0e0cb6f8d2
Website: fix article redirect (#19051)
Changes:
- Removed an old redirect for the "Deploy Fleet on Hetzner Cloud"
article
2024-05-15 18:05:29 -05:00
Roberto Dip
8612e1aa59 rearrange migrations 2024-05-15 20:03:08 -03:00
Roberto Dip
1ef19e4ff2 Merge remote-tracking branch 'origin/main' into feat-software-installers 2024-05-15 19:55:02 -03:00
Mike Thomas
f506e85fbc
Style and typo fixes (#19008)
I fixed a couple of typos, corrected a couple of header tags, and
tightened up a couple of margins.

# Checklist for submitter

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

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-05-16 07:49:39 +09:00
Roberto Dip
d383876a3c
fix issues installing software in windows (#19048)
for #19039 and #19041 this:

- fixes the install/remove scripts to read the env variable the proper
way
- truncates output before storing in the databse in case its longer than
MySQL's TEXT size

# 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] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-05-15 19:39:42 -03:00
Mike Thomas
9802ccc37a
Migrate deployment guides to articles (#19007)
This PR is a follow-up to https://github.com/fleetdm/fleet/issues/16660
to:

- Move all (non-recommended) deployment guides from the docs into
`/articles` under the `guides` category
    - AWS ECS
    - CentOS
    - Cloud.gov
    - AWS with Terraform
    - Hetzner Cloud
    - Render
    - Kubernetes
- Set up redirects for migrated articles
- Add article thumbnail and cover images

# Checklist for submitter

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

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
Co-authored-by: Eric <eashaw@sailsjs.com>
2024-05-16 07:29:51 +09:00
Roberto Dip
ad94dff814
installer report and rollback fixes (#19046)
for https://github.com/fleetdm/fleet/issues/19020

- Fixes the rollback logic to get the right script for the software
being installed
- Fixes the messages displayed in the install results

# 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] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-05-15 19:18:35 -03:00
Isabell Reedy
e05cc41ff3
Add Dale to customer success page (#19032)
...
2024-05-15 16:59:48 -05:00
Noah Talerman
bddfb2271b
SSO docs: Fix typo (#19042)
- Fix numbered steps
2024-05-15 17:55:04 -04:00
JD
4a6cd9c79f
Update GitOps config to macOS Sonoma 14.5 (#19034)
Updates minimum macOS configuration to 14.5 for Sonoma.
https://github.com/fleetdm/confidential/issues/6576

TODO: 
- [x] Update MDM Payload in Tines workflow.

---------

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2024-05-15 14:50:37 -07:00
Luke Heath
5876681c78
Updating documentation DRIs (#18877)
Per our chat, we realized we need to have DRIs listed for specific
documentation sections, as right now it is unclear who is responsible
for some pages in docs. This PR aims to set an explicit DRI for every
section and page in the docs. ...

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-05-15 16:40:45 -05:00
Sam Pfluger
397f56ab1c
Change DRI (#18951) 2024-05-15 16:27:50 -05:00
Martin Angers
62adb46a36
Partial fix: fix empty software title when metadata doesn't find one (#19047)
#19041 (it falls back on filename)

# Checklist for submitter

- [x] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
2024-05-15 18:27:04 -03:00
Jahziel Villasana-Espinoza
01898fd176
fix: typos in scripts (#19045)
Feature cleanup

# 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://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
2024-05-15 16:36:31 -04:00
Eric
34c1b1d291
Vulnerability dashboard: Batch logged warnings, update vulnerable and critical software processing. (#19030)
Related to https://github.com/fleetdm/confidential/issues/6523

Changes:
- Updated the update-reports batch warnings and surface them after the
script runs.
- Updated logged warning messages to include what the impact of the
warning is.
- Updated the script to only check for duplicate uninstalled vulnerable
install records when it processes vulnerable software.
2024-05-15 15:12:05 -05:00
Noah Talerman
dd22be4c8c
Customer codenames live in fleetdm/confidential (#18984)
- Update instructions to clarify how to create customer codenames and
where the mapping lives: fleetdm/confidential
- Fix broken link
2024-05-15 15:37:16 -04:00
Noah Talerman
af6129cc16
Update Windows MDM setup article and MDM setup docs (#18981)
- Update docs to reflect that, in order to use Autopilot, you must have
one Intune license per host (from #fleetdm/confidential#6283)
- Make "MDM setup" doc page cross platform
- Cut content
2024-05-15 15:34:58 -04:00
Sarah Gillespie
1adb7677fd
Validate installer file size in UI; add install tooltip to software list (#19036) 2024-05-15 14:32:20 -05:00
Eric
3b586cc7db
Vulnerability dashboard: Update session config (#19040)
https://github.com/fleetdm/confidential/issues/6577

Changes:
- Updated the vulnerability dashboard's session configuration
2024-05-15 14:15:03 -05:00
Sarah Gillespie
48684fb6ca
Fix unreleased issues in software installers UI: Part 5 (#19033) 2024-05-15 12:43:12 -05:00
Jahziel Villasana-Espinoza
40dc8e57ed
fix: add missing software_package field (#18998)
No related issue, just cleanup work on the feature

# 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://fleetdm.com/docs/contributing/committing-changes#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-05-15 13:41:35 -04:00
Dante Catalfamo
5fb52f6baf
Install script extension test (#19025)
Fixes a test I accidentally broke in #19012
2024-05-15 12:17:18 -04:00
Victor Lyuboslavsky
825e785821
Optimizations to reduce MySQL writer DB load (#18880)
#18838 and #18986
Optimized master DB accesses during host software ingestion.

# 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://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-05-15 10:34:21 -05:00
Sam Pfluger
17235a14c4
Update communications.md (#19019)
Closes fleetdm/fleet#19018 ...
2024-05-15 10:21:57 -05:00
Dante Catalfamo
6e8e1bd0b4
Install script extension (#19012)
Because windows won't run powershell scripts without it 👎
2024-05-15 10:31:13 -04:00
Lucas Manuel Rodriguez
fd323a3909
Catch FAIL and panic: runtime error in CI (#19009)
This is just a CI change to catch these other type of errors and display
them on the Slack message:

Instead of showing just `unknown, please check build URL`:
![Screenshot 2024-05-15 at 8 34
19 AM](https://github.com/fleetdm/fleet/assets/2073526/bd66def6-50de-4ee5-8ccd-17a7cf0741ae)
2024-05-15 10:01:26 -03:00
Roberto Dip
da85d91551
add counts to host software endpoints (#18995)
part of #18677

# 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] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-05-15 09:55:27 -03:00
Martin Angers
79a121256e
Software installers: backend cleanup tasks part 2 (#18982) 2024-05-15 08:40:06 -04:00
Eric
2dd7b6e564
Website: add "Deploy Fleet" docs page. (#18992)
https://github.com/fleetdm/fleet/issues/16660

Changes:
- Added a new page (deploy-fleet.md) to the deploying docs
- Moved the content from the following pages to the
deploy/reference-architectures page:
  - Systemd
  - Proxies
  - Public IPs
  - Monitoring Fleet
  - Introduction
- Reordered the pages in the Deploy docs folder
- Added a redirect: `/docs/deploy/introduction »
/docs/deploy/deploy-fleet`

---------

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2024-05-15 13:56:36 +09:00
Jacob Shandling
5acbfab566
Update MS vulnerability details links to point to NVD (#18991)
## Addresses #18470 

- [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-05-14 16:00:33 -07:00
Sam Pfluger
1b44927968
Fix broken markdown formatting (#18999)
Closes #18985 
...
2024-05-14 17:40:05 -05:00
Savannah Friend
997d9c60b8
Added Username to receive-from-github.js (#18956)
.
2024-05-14 17:01:14 -05:00
Martin Angers
1def5b2ddf
Add support for software installers in fleetctl gitops (#18990) 2024-05-14 16:58:58 -04:00
Dante Catalfamo
71c0026168
Orbit software installer flow (#18797)
# 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://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Added/updated tests
- [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)).

---------

Co-authored-by: Roberto Dip <rroperzh@gmail.com>
2024-05-14 17:25:35 -03:00
Victor Lyuboslavsky
8d253fe19a
Updating user now updates activity feed. (#18962)
#18766
Fixed a bug where updating user via `/api/v1/fleet/users/:id` endpoint
sometimes did not update the activity feed and returned the un-updated
user object.

You must use a DB configuration with a replica to reproduce the issue.

# Checklist for submitter

<!-- 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://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-05-14 15:06:23 -05:00
Roberto Dip
f0e3903585
add boilerplate to host installation result outputs (#18988)
Specified by Marko, this should be returned by the API:

<img width="642" alt="image"
src="https://github.com/fleetdm/fleet/assets/4419992/945e899e-9527-43cb-ac42-88b02d4bc844">


# 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] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-05-14 17:03:44 -03:00
Jahziel Villasana-Espinoza
6b31b71c93
18531 failed mdm profs (#18930)
> Related issue: #18531
2024-05-14 14:19:14 -05:00
Joanne Stableford
c45973c64f
Add payment reminder steps to weekly ritual process (#18635)
...

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
Co-authored-by: Eric <eashaw@sailsjs.com>
2024-05-14 13:59:31 -05:00