Commit Graph
14180 Commits
Author SHA1 Message Date
Victor Lyuboslavsky e2d9a9016c Add gosimple linter (#23250)
#23249

Add gosimple linter to golangci-lint CI job.
2024-10-29 14:17:51 -05:00
Noah Talerman 6f6ecf010d Deploy software: update pricing page and guides (#23329)
- Add learn more link to pricing page to point to deploy software guide
[here](https://fleetdm.com/guides/deploy-software-packages)
- Update deploy software guide to link to the guides for other software
types (Fleet-maintained and App Store apps) and automatic install guide
- This way, when a user lands on deploy software, they can quickly find
guides for all other guides
2024-10-29 13:58:30 -05:00
Gabriel Hernandez f73cb371bc fix not showing install software when there was software titles (#23352)
relates to #23321

fix that shows the add install software UI when there is software to
install.
2024-10-29 18:52:09 +00:00
Allen Houchins 2e3bd410da Update macos-mdm-setup.md to reflect shared admin account best practice (#23347)
# 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-10-29 13:45:09 -05:00
Sarah Gillespie 48d140145f Update tooltips for bootstrap package install status and VPP app install status (#23178) 2024-10-29 13:36:49 -05:00
Lucas Manuel Rodriguez 6fc0577704 Fix flaky timing test (#23333)
![Screenshot 2024-10-29 at 11 54
54 AM](https://github.com/user-attachments/assets/e90926bd-8bd8-4739-ad50-602fad029898)

#22740
2024-10-29 14:13:17 -03:00
Ian Littman 12b29143c5 Merge duplicate package entries for deb-installed Python packages for Debian (#23325)
#22219

Note caveats in added tests; we may need to add more matching logic here
based on the Debian Bookworm repro I did.

# 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-10-29 11:16:09 -05:00
Jahziel Villasana-Espinoza 4b14f73e5b feat: show "Fleet" as actor on setup experience activities (#23334)
> Related issue: #23310 

# 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] Manual QA for all new/changed functionality
2024-10-29 12:01:09 -04:00
RachelElysia eaac61534e Fleet UI: Fix host actions dropdown from cutting off last 2 options (#23335) 2024-10-29 11:39:32 -04:00
Gabriel Hernandez 489035ef2b Various setup exp UI fixes (#23328)
relates to #23321, #23322, #23323

This contains three UI fixes:

1. fix when we show the empty state for install software. We were
expecting an empty array but the response from `GET
/setup_experience/software` sends null when no software has been added


![image](https://github.com/user-attachments/assets/0300fffa-5586-4073-a6df-491e844516c9)

2. fix to add responsive style to install software and run script panels
that matches the other setup experience panels.


![image](https://github.com/user-attachments/assets/5494146f-583d-4816-9c1b-6227bb520108)


![image](https://github.com/user-attachments/assets/a2e3c43d-64bf-4695-9870-029482080172)

3. Fix and clean up the copy of the first three setup experience panels
to match the new ones. Also, update the alt text on the images to be
more descriptive.

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-10-29 14:29:05 +00:00
Noah Talerman 8ee5af3e45 Product design rituals: Sprint kickoff review (#23330)
Add step to notify API design DRI about stories that didn't make it in
2024-10-29 10:16:50 -04:00
Sam Pfluger f4042183b4 Update "Change a team members comp" (#23324) 2024-10-28 23:32:07 -05:00
Lucas Manuel Rodriguez 2e5bf75b6d fleetd to start up when TUF signatures are expired (#23102)
#22740

Full QA is still a WIP but this is ready for review.

- [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-28 20:40:19 -03:00
Eric 48578a0a32 Msp dashboard: Add syncing overlay. (#23311)
Related to: https://github.com/fleetdm/confidential/issues/8602

Changes:
- Added a syncing overlay when the dashboard gathers an updated list of
software, profiles, and scripts from a Fleet instance.
2024-10-28 17:24:21 -05:00
Dante Catalfamo 6e9955d7c7 Add clause to exclude VPP apps from host software list (#23207) 2024-10-28 15:48:54 -04:00
Eric 7ec2184843 Msp dashboard: update sails-hook-sockets configuration (#23303)
Changes:
- Updated the `sails.hook.sockets` configuration to enable the sockets
hook.
2024-10-28 14:40:40 -05:00
Noah Talerman f6966d322c Reference doc and guide updates: Policy automations: run script (#17129) (#23300)
- Update guides to reflect use case: automatically run scripts and
install software
- @noahtalerman: I removed top image from "Automatically run scripts"
b/c I think it looked rushed/unexpected
  - Update "execute" language to "run" and add "manual" language
- Clarify when a policy's host counts are reset
- Clarify support for policy automations: team v. default (global) v. no
team
- Update `software.packages` example to best practice: separate file
  - Inline is supported for backwards compatibility
- Remove `policies` and `controls` call outs about "No team." This info
is covered in the starter filed in fleetdm/gitops. For an example, see
`teams/no-teams.yml` here:
https://github.com/fleetdm/fleet-gitops/blob/main/teams/no-team.yml
2024-10-28 14:15:54 -05:00
Gabriel Hernandez d063085f40 fix file uplader being shown twice when clicking button (#23297) 2024-10-28 18:53:03 +00:00
TomOstertag1010 e8426c3ff7 Update customer number in history (#23296) 2024-10-28 12:25:15 -05:00
eugkuo 76d4f85a4a Handbook: Update communications.md (#23063) 2024-10-28 12:20:49 -05:00
Luke Heath bd35c6a12f Bump Express version (#23135) 2024-10-28 11:53:14 -05:00
Victor Lyuboslavsky 59a26db1f8 Limit OpenTelemetry span name length. (#23281)
Minor tweak to OpenTelemetry SQL config.

- [x] Manual testing
2024-10-28 10:50:35 -05:00
Luke Heath 3a278c67a3 Remove myself from docs codeowners (#23291) 2024-10-28 10:26:30 -05:00
Noah Talerman f2f1e09b59 New feature prioritization framework (#23184) 2024-10-28 10:24:15 -05:00
Martin Angers d5c9a165e5 Bugfix and SE: support VPP apps and (install during setup of VPP apps) in gitops for no-team (#23160) 2024-10-28 10:35:57 -04:00
George Karr d66a2a7c48 feat: macOS setup experience - install software and run a script (#23267)
> Related issue: #19372

These commits have all been reviewed in their respective PRs.

# 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 support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [x] Added/updated tests
- [x] If paths of existing endpoints are modified without backwards
compatibility, checked the frontend/CLI for any necessary changes
- [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
- 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-28 08:08:50 -05:00
George Karr 9f326422c3 Merge branch 'main' into feat-setup-experience 2024-10-28 08:08:18 -05:00
Isabell Reedy 82d88bb6ce Update history with 2024 usage stats (#23187) 2024-10-27 11:48:49 -05:00
EricandSam Pfluger 6094e31fad Website: add support for annual auto issues, add new digital experience issue (#23218)
Changes:
- updated build-static-content to allow auto-issue rituals with a
`annually` frequency
- Updated the create-issues-for-todays-rituals script to create GH
issues for annually occurring rituals
- Added an annual ritual for checking GitHub's terms
- Added a responsibility to the Digital experience handbook page about
the ritual.

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-10-27 11:48:05 -05:00
Noah Talerman 0ba4a93f6d Update security.md (#23265)
- Handbook default protected branches
- Remove table and point to settings so handbook is easier to maintain.
2024-10-27 10:48:41 -05:00
Mike McNeil abc15a217e Handbook: Add calendly availability check (#23273) 2024-10-27 10:43:17 -05:00
Eric 6b62f3f882 Website: Update Homepage 2024-10-25 (#23254)
Closes: https://github.com/fleetdm/confidential/issues/8555

Changes:
- Added a statistics section under the logo carousel on the homepage.
2024-10-25 19:00:08 -05:00
Mike McNeil e3df0afda7 Update CODEOWNERS (#23279)
Transfer codeowner for communiations and leadership to Sam, who will
loop me in anytime I need 👀
2024-10-25 18:20:07 -05:00
Sam Pfluger e9dc3dfdcd Update communications.md (#23278) 2024-10-25 18:14:20 -05:00
Jahziel Villasana-Espinoza 862585447d fix: migration order 2024-10-25 18:11:56 -04:00
Jahziel Villasana-Espinoza 3bc1d50456 fix: migration order 2024-10-25 18:05:48 -04:00
Jahziel Villasana-Espinoza 0bf331786e chore: dump sql schema 2024-10-25 18:01:19 -04:00
Rachael Shaw 24db6c1cde Update headings in YAML docs for easier navigation (#23217) 2024-10-25 16:45:54 -05:00
Victor Lyuboslavsky d0ed03f3c8 Update Go CI tests: MySQL 8.4.2 -> 8.4.3 (#23255)
Make sure Fleet works with the latest MySQL 8.4
2024-10-25 15:58:10 -05:00
Victor Lyuboslavsky 722608318e Minor fixes from analyzing test results (#23260)
Newlines improve test result parsing.

Extra `t.Parallel()` calls removed in subtest since parent test and
package are already parallelized.
2024-10-25 15:57:51 -05:00
Victor Lyuboslavsky 40f7cdf547 Added Render deploy workflow for fleet-gitops CI. (#23190)
#21715 

# Checklist for submitter
- [x] Manual QA for all new/changed functionality
2024-10-25 15:55:42 -05:00
Victor Lyuboslavsky b67127c357 Skip TestCronVulnerabilitiesCreatesDatabasesPath (#23263)
Seeing very high failure rate for this test. Bug already filed:
https://github.com/fleetdm/fleet/issues/23258
2024-10-25 15:05:38 -05:00
Marko Lisica c381c301a0 Make file extensions lowercase (#23228)
File extensions should be written in lowercase with . in front of the
extension (e.g. .exe, .pkg, etc).
2024-10-25 14:35:32 -05:00
Sam Pfluger ce292b9e64 Update README.md (#23262) 2024-10-25 14:34:50 -05:00
Jahziel Villasana-Espinoza 9fb657a9e3 fix: correct the guide (#23261)
> No issue, but realized guide had some mistakes

# 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] Manual QA for all new/changed functionality
2024-10-25 14:26:58 -05:00
Eric e7ffbd2666 Handbook: fix <ticket-number> template on engineering handbook page. (#23156) 2024-10-25 13:36:54 -05:00
William Theaker 86713f1b71 Improve gitops dry run logging for query deletion (#23202) 2024-10-25 13:35:53 -05:00
jacobshandlingandJacob Shandling a97e6efb79 Enable full-row clickability on the disk encryption table (#23220)
## #23219 

https://www.loom.com/share/d59be837e3f842288c2d259745ad49dc


- [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-10-25 09:16:04 -07:00
jacobshandlingandJacob Shandling f3755986c1 Explicitly set "Add profile" message line heights (#23216)
## #23215 

- Explicitly set "Add profile" message line heights so they are
consistent cross-browser

<img width="1624" alt="Screenshot 2024-10-24 at 3 34 45 PM"
src="https://github.com/user-attachments/assets/ac793e32-729f-423a-b672-ed60412eb92d">
<img width="1624" alt="Screenshot 2024-10-24 at 3 34 53 PM"
src="https://github.com/user-attachments/assets/5d8c8947-34ad-49c0-87d6-ea10b0ebd980">


- [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-10-25 09:15:43 -07:00
RachelElysia 2a756088f1 Fleet UI: Accessibility button actions, tabbing (#22916) 2024-10-25 11:02:52 -04:00