Commit Graph
15617 Commits
Author SHA1 Message Date
Ian Littman f6f540b74e Add created_at/updated_at timestamps to VPP apps teams table, return as added_at (#26442)
For #23744.

Splitting into another PR: query to pull more accurate timestamps from
activity feed

# 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] 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] Added/updated automated tests
- [x] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality
2025-02-21 15:07:52 -06:00
jacobshandlingandJacob Shandling 391bd0a5a0 UI - GitOps mode, part 2 (#26509)
## For #26229 

This is the 2nd iterative PR for this ticket. It includes:
- tests with a new testing utility
- refactored argument and class names
- another batch of UI updates

- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-02-21 12:22:08 -08:00
Gabriel Hernandez a748e923c8 add UI for turning android mdm on/off (#26517)
For #26207

Adds UI for turning the android mdm on and off. This is currently hidden
behind a feature flag. To enable use FLEET_DEV_ANDROID_ENABLED=1 when
running your fleet server.

This includes:

**android mdm on and off card:**


![image](https://github.com/user-attachments/assets/4205f364-7c90-47c5-bb67-37a571e6a713)


![image](https://github.com/user-attachments/assets/67839f8f-fc51-43bc-b1ce-86b793b60ed2)

**Android mdm page off state**


![image](https://github.com/user-attachments/assets/fe12d0ac-9395-42a2-ab10-ea027bc560ba)

**Andoid mdm page on state**


![image](https://github.com/user-attachments/assets/d1ca80b1-6794-47ce-ab16-d0603295d581)

**Turn off android mdm modal**


![image](https://github.com/user-attachments/assets/18e69319-5b29-4d70-a9e0-7ff3c489e2aa)

> NOTE: will need to come back and revisit this for the SSE handling
when android mdm is successfully turned on.

- [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.
- [ ] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
2025-02-21 17:23:38 +00:00
jacobshandlingandJacob Shandling f9ca0f9c4c UI: Clean up unused error and Edit code (#26514)
## Side quest while doing feature work - Edit modal and error code was
completely unused

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

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-02-21 09:20:18 -08:00
Dante Catalfamo 89176651c2 Working LUKS key escrow on non-english systems (#26474)
#26146
2025-02-21 11:42:44 -05:00
Lucas Manuel Rodriguez 6e097988d5 Update ubuntu-20.04 to ubuntu-22.04 on CI actions due to deprecation (#26466)
> We will soon start the deprecation process for Ubuntu 20.04. While the
image is being deprecated, you may experience longer queue times during
peak usage hours. Deprecation will begin on 2025-02-01 and the image
will be fully unsupported by 2025-04-01.

From https://github.com/actions/runner-images/issues/11101.

![Screenshot 2025-02-19 at 4 39
10 PM](https://github.com/user-attachments/assets/803e8ed3-31b0-4221-9d29-446a0d305567)
2025-02-21 13:11:50 -03:00
Noah Talerman bde75e0b49 Windows install scripts guide: "machine-scope" (#26499)
Update the guide to follow [winget's
naming](https://github.com/microsoft/winget-pkgs/blob/master/doc/manifest/schema/1.0.0/installer.md#scope).
Fleet is going to use winget for Fleet-maintained apps for Windows
(#23118)
2025-02-21 10:02:14 -05:00
Lucas Manuel Rodriguez eede554a79 Update Wayland docs (#26446)
For #25998
2025-02-21 09:24:03 -05:00
Drew Baker 516f17bb09 Update meetings handbook entry (#26511)
Designating a spot to signal which meetings are currently expected to be
published on YouTube
2025-02-20 22:35:25 -06:00
George Karr 4a03051c10 Adding changes for Fleet v4.64.1 (#26491) 2025-02-20 19:39:26 -06:00
Sam Pfluger 72f0ff7bf4 Rename demand.rituals.yml to marketing.rituals.yml (#26512) 2025-02-20 18:47:19 -06:00
Eric 7dd2f8557c Website: add bash commands for macOS vitals, queries, and policies (#26327)
Changes:
- Updated the query-detail, vital-detail, and policy-detail pages to
have a tab for bash commands.
- Updated queries, vitals, and policies to have a bash command that
returns the same results as the SQL query.
2025-02-20 18:16:16 -06:00
Janis Watts 3ee2c0c3b1 Update fleetd smoke tests (#26467)
Added additional section in fleetd testing to include testing against
the current released version of fleet. Outcome of Incident Postmortem
#26283
2025-02-20 16:57:31 -06:00
Scott Gress 39e9c0a349 Fix issues related to architecture-namespaced binaries (#26453)
This PR fixes a couple of issues introduced when we started releasing
separate amd64 and arm64 versions of our windows and linux binaries:

* Adds the architecture string to the download url in the fleetctl npm
package
* Updates the goreleaser templates to only add the architecture to
non-macos (i.e. windows and linux) packages
* Updates the script that the website uses to download fleetctl

I did a weak test of the fleetctl npm installer by hardcoding what was
returned for my system type and at least verified that the download url
worked. Doing some more checks on VMs now.
2025-02-20 16:42:14 -06:00
Noah Talerman aa16261959 Fleet attestation: cleanup (#26487) 2025-02-20 13:37:52 -05:00
Scott Gress 8bab38b75a Update "used by" display and tooltip styling (#26262)
For #25283 

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

## Details

This PR updates the styling on the "Used by" line of the host details
page in the following ways:

* Updated color of the "more..." text
* Truncated long email address with ellipses
* Tooltip displays _all_ email addresses (in case the first one was
truncated)

## Screenshots

With extra long email:
<img width="353" alt="image"
src="https://github.com/user-attachments/assets/1e6dc535-c40d-44b6-a3ad-86920ac06772"
/>

---

Tooltips:
<img width="386" alt="image"
src="https://github.com/user-attachments/assets/8138e666-18f9-4e3b-a26a-99dc5b0492e7"
/>
<img width="455" alt="image"
src="https://github.com/user-attachments/assets/ef3ac552-b4ee-42ca-a522-aefacb4c9227"
/>

---

With regular email:
<img width="273" alt="image"
src="https://github.com/user-attachments/assets/88fae2c8-a2c8-4dd7-8a67-a8d9e33b7f08"
/>

---

With one email:
<img width="220" alt="image"
src="https://github.com/user-attachments/assets/198cf108-a8b7-4856-aa46-46e4a7676ef5"
/>

---

With one long email:
<img width="314" alt="image"
src="https://github.com/user-attachments/assets/0d781689-3140-41e2-be8c-a0c9b2542b35"
/>
2025-02-20 12:08:25 -06:00
Sam Pfluger 1fe9b537de Remove Onasis from contact form messages (#26480) 2025-02-20 11:39:31 -06:00
Robert Fairburn 15a19f8d31 Increase snapshot retention for rds in dogfood (#26454) 2025-02-20 11:30:33 -06:00
jacobshandlingandJacob Shandling 5d9026b7e5 UI - GitOps Mode: Core abstractions, first batch of applications (#26401)
## For #26229 – Part 1


![ezgif-6bbe6d60c12ed4](https://github.com/user-attachments/assets/37a04b64-abd7-4605-b4ac-9542836ff562)

- This PR contains the core abstractions, routes, API updates, and types
for GitOps mode in the UI. Since this work will touch essentially every
part of the Fleet UI, it is ripe for merge conflicts. To mitigate such
conflicts, I'll be merging this work in a number of iterative PRs. ~To
effectively gate any of this work from showing until it is all merged to
`main`, [this commit](feedbb2d4c25ec2e304e1f18d409cee62f6752ed) hides
the settings section that allows enabling/disabling this setting,
effectively feature flagging the entire thing. In the last of these
iterative PRs, that commit will be reverted to engage the entire
feature. For testing purposes, reviewers can `git revert
feedbb2d4c25ec2e304e1f18d409cee62f6752ed` locally~ The new settings
section for this feature is feature flagged until all PRs are merged -
to show the setting section while testing, run `ALLOW_GITOPS_MODE=true
NODE_ENV=development yarn run webpack --progress --watch` in place of
`make generate-dev`

- Changes file will be added and feature flag removed in the last PR

- [x] Settings page with routing, form, API integration (hidden until
last PR)
- [x] Activities
- [x] Navbar indicator
- Apply GOM conditional UI to:
    - [x] Manage enroll secret modal: .5
    -  Controls >
        - [x] Scripts:
        - Setup experience > 
            - [x] Install software > Select software modal
        - [x] OS Settings >
            - [x] Custom settings
            - [x] Disk encryption
        - [x] OS Updates
 
2/18/25, added to this PR:

   - [x] Controls > Setup experience > Run script
   - [x] Software >
        - [x] Manage automations modal
        - [x] Add software >
            - [x] App Store (VPP)
            - [x] Custom package
   - [x] Queries
        - [x] Manage
        - [x] Automations modal
        - [x] New
        - [x] Edit
   - [x] Policies
     - [x] Manage
     - [x] New
     - [x] Edit
     -  Manage automations
       - [x] Calendar events


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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-02-20 08:41:07 -08:00
jacobshandlingandJacob Shandling c22f575150 Add gitops app config fields, API access, activities, tests (#26282)
## For #26230 

- Add `gitops` settings to app config
- GET and PATCH endpoint functionality to retrieve and modify these
settings
- generate activities for enabling and disabling GitOps mode
- Premium only
- Update tests

<img width="1355" alt="Screenshot 2025-02-17 at 9 22 13 AM"
src="https://github.com/user-attachments/assets/e03d7fd6-8795-4df2-9c8f-ffbcabd2d212"
/>

<img width="1575" alt="Screenshot 2025-02-17 at 9 24 33 AM"
src="https://github.com/user-attachments/assets/5bf963d4-6fb7-4586-8f6f-9e605c25bf06"
/>

## Checklist for submitter

- [x] Added/updated automated tests
- [ ] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-02-20 08:40:46 -08:00
George Karr 076fe894c5 Adding changes for Fleet v4.63.1 (#26471) 2025-02-20 10:02:42 -06:00
Allen HouchinsandNoah Talerman 0a94f81431 Switched from metadata_url to metadata for end user authentication (#26042)
Switched from metadata_url to metadata for end user authentication.

---------

Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2025-02-20 10:02:24 -06:00
Gabriel Hernandez 9039a95453 add Learn more link for cert key error when turning on windows mdm (#26170)
For #26047

adds a "learn more" link on the cert/key pair error when turning on
windows.


![image](https://github.com/user-attachments/assets/011e6111-f694-4345-81f2-44c4c3d29ed2)

This also updates the CustomLink to add new variant for when we want to
display this in a flash message

- [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
2025-02-20 11:33:46 +00:00
Sam Pfluger cd36118e63 Update labels and slack channels (#26481) 2025-02-20 01:28:15 -06:00
RachelElysia cba20fa330 Fleet UI: Accidental commit expiry banner test (#26475) 2025-02-19 16:33:46 -05:00
Noah Talerman fa5e2187ac Enable disk encryption for "Compliance exclusions" (#26476)
- @noahtalerman: I'm using a test Windows computer to write a guide
about disk encryption keys (more info
[here](https://github.com/fleetdm/confidential/issues/9031)). This
Windows computer isn't used for work so we want to add it to our
"Compliance exclusions" team so it doesn't show up in Vanta compliance
reports.
2025-02-19 15:29:23 -06:00
Martin Angers 6ed89bd099 Unified Queue: add fleet initiated flag to past activities (#26451) 2025-02-19 14:55:20 -05:00
Martin Angers bf2fd2e641 Fix increment software install errors in osquery-perf (#26447)
Found during latest load test.
2025-02-19 14:39:55 -05:00
Lucas Manuel Rodriguez 306d1c91c5 Add reminder must rule (#26461)
Related to fleetd critical issue in 1.39.0.
2025-02-19 16:31:43 -03:00
Allen Houchins 330eed346e Update dogfood-policy-updater-latest-macos.sh (#26456)
Added more reviewers
2025-02-19 11:00:22 -06:00
Allen Houchins b02966b529 Software updates (#26452)
Updated software titles and fixed `self_service` issue.
2025-02-19 10:35:47 -06:00
RachelElysia 20033a8d5f Fleet UI: Info banner component, uses Card as base component, tests (#26276) 2025-02-19 10:36:36 -05:00
Dante Catalfamo 739ca1e8c2 Remove restriction on setting both metadata and metadata_url (#26279)
For #26075
2025-02-19 10:11:52 -05:00
Martin Angers 6049b3919f Unified Queue: add DB migration for existing pending activities (#26413) 2025-02-19 08:29:14 -05:00
Isabell Reedy bf417665c3 Update weekly revenue report to reflect current process (#26433) 2025-02-18 23:26:53 -06:00
Luke Heath 35f16f799a Update ARM feature to include Windows (#26441) 2025-02-18 17:14:23 -06:00
Eric ba61420c83 Website: update order of statistics on mobile homepage (#26427)
Closes: https://github.com/fleetdm/confidential/issues/9668

Changes:
- Updated the order of the stacked statistics on the homepage on mobile
devices (<575px)
2025-02-18 17:03:02 -06:00
f596b9fabd Release article: Fleet 4.64.0 (#26306)
Co-authored-by: Luke Heath <luke@fleetdm.com>
Co-authored-by: Drew Baker <89049099+Drew-P-drawers@users.noreply.github.com>
2025-02-18 16:34:40 -06:00
b682ee1b07 Docs v4.64.0 (#26393)
Reference doc changes for Fleet 4.64.0

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
Co-authored-by: Ian Littman <iansltx@gmail.com>
Co-authored-by: Eric <eashaw@sailsjs.com>
2025-02-18 16:31:55 -06:00
Noah Talerman 9dc3ce850b GitHub comments instead of Figma comments (#26432)
- Clarify the why
2025-02-18 17:13:08 -05:00
Eric 683c3b3892 Website: Add images to pricing tier cards (#26425)
Closes: #24993

Changes:
- Added images to the pricing tiers on the pricing page.
2025-02-18 15:45:16 -06:00
Victor Lyuboslavsky 5ee9c0c809 Refactoring common mysql (#26367)
For #26218 

Refactoring android/mysql/testing_utils.go to remove duplication with
main mysql package.
No functional changes.

# Checklist for submitter

- [x] Manual QA for all new/changed functionality
2025-02-18 15:28:54 -06:00
Gabriel Hernandez a669f3938b fix issue with resetting abm token teams (#26259)
For #24040

Add gitops option for the request to modify the app config.

There was an issue with the abm token teams getting reset to default
anytime the `PATCH /fleet/config` endpoint was called. @jahzielv and I
discussed various options on how to solve this and agreed that the
approach taken in this PR was the quickest but not the best. Ideally,
we'd like the gitops client to send back the data to the endpoint that
its going to update. This will allow the `PATCH /fleet/config` endpoint
to work like a standard `PATCH` request and only update the options
provided instead of updating the app config differently depending on the
client calling the endpoint.

- [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 automated tests
- [x] Manual QA for all new/changed functionality
2025-02-18 20:08:06 +00:00
Lucas Manuel Rodriguez e5fd094c68 Release osqueryd 5.16.0 (#26394)
For #26324.
2025-02-18 16:59:09 -03:00
Luke Heath 311b0c8001 Add arch to all fleetctl archives (#26424) 2025-02-18 12:44:54 -06:00
Luke Heath 1289b39a98 Add architecture to fleetctl archive for linux (#26421) 2025-02-18 12:33:33 -06:00
Drew Baker 7f4292863d Update ADR responsibilities.md (#26402)
Linking doc for Account Development Representative responsibilities and
rituals from the handbook.
2025-02-18 11:51:29 -06:00
Scott Gress 403deb1e3e Don't truncate text in SQL editor (#26292)
For #25921 

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

## Details

This PR fixes an issue where the SQL editor would truncate large
queries, because it was setting a mandatory height on the content
element rather than letting the element use its own computed height.

## Screenshots

**Before:**

![25921-before](https://github.com/user-attachments/assets/19e6e4ea-6ec4-4451-80c7-c5fa061353d7)

**After:**

![25921-after](https://github.com/user-attachments/assets/26c80f89-4bd7-4f43-9d28-531fff945aba)
2025-02-18 11:10:16 -06:00
Victor Lyuboslavsky 386ce37168 Refactoring endpoint_utils (#26342)
For #26218 

Refactoring service/android endpoint_utils to remove duplication.
No functional changes.

- [x] Manual QA for all new/changed functionality
2025-02-18 11:09:43 -06:00
Scott Gress f200bb38c0 Revert "Add "ExcludeFleetMaintainedApps" option to software titles query (#26383)
This feature was requested by a customer that has since decided not to
continue using the MSP dashboard. We had identified some edge cases with
the feature that we wanted to add patches for, so rather than leave it
in the current state (which isn't being used) we decided to back the
code out entirely.

This is a revert of commit
https://github.com/fleetdm/fleet/commit/8419b8e87a2c9bf98a2736726673f7893743f483.
2025-02-18 10:46:47 -06:00