Commit Graph
15848 Commits
Author SHA1 Message Date
Sam Pfluger fec311d68c Fix broken link (#27028) 2025-03-11 09:48:29 -05:00
Gabriel Hernandez 9484ac30bc add UI for certificate authority list (#26955)
For #26605

This is the UI for the certificate authority list that shows the added
CAs. This includes:

**new CA section and list on integration page**


![image](https://github.com/user-attachments/assets/4159bd6d-632e-4adc-ae45-d83f824380ae)

**empty CA list state**


![image](https://github.com/user-attachments/assets/8f27cd8b-53b2-4cf3-ac64-8fa6ec0a2ae2)

**gitops mode on add CA card and CA list**


![image](https://github.com/user-attachments/assets/981a353c-f515-44ed-90d5-f55e412053ba)


![image](https://github.com/user-attachments/assets/286dc503-f2cd-4329-aa46-6301df75b826)


- [ ] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
2025-03-11 14:31:02 +00:00
Dante Catalfamo 7be7d17489 Identify if the release is older than npm, publish with tag (#26787)
#26520
2025-03-11 09:46:01 -04:00
Dante CatalfamoandScott Gress d5e9153cea Add LabelsIncludeAny to queries endpoint (#26823)
#16413 

---------

Co-authored-by: Scott Gress <scottmgress@gmail.com>
2025-03-11 09:45:01 -04:00
Dante Catalfamo fd9664ce4d Respect user input whitespace when previewing calendar event (#26920)
# 26689
2025-03-11 09:44:02 -04:00
Sam Pfluger 31548de657 Add step to update salesforce with GitHub label (#27022)
https://github.com/fleetdm/confidential/pull/9913
2025-03-11 03:49:30 -05:00
Mike ThomasandEric cf70f9a014 Updated app-library on website (#27016)
Closes https://github.com/fleetdm/fleet/issues/26510 to make page title
match the title in the nav.

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2025-03-11 09:42:54 +09:00
Mike ThomasandBrock Walters 5c8c0422fe Add license key details to deploy docs (#26985)
Closes https://github.com/fleetdm/confidential/issues/9461

- Add license key details to deploy docs.

Co-authored-by: Brock Walters <153771548+nonpunctual@users.noreply.github.com>
2025-03-11 07:06:52 +09:00
Victor Lyuboslavsky 57ef7b36ac Added DigiCert UPN support. (#27006)
For #26609

- Added User Principal Name (UPN) support for DigiCert integration. We
currently support only 1 UPN.

# Checklist for submitter

- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
2025-03-10 16:02:23 -05:00
dependabot[bot] 6bbf645c10 Bump axios from 1.7.9 to 1.8.2 in /tools/fleetctl-npm (#26994) 2025-03-10 15:01:42 -05:00
dependabot[bot] 8123215f25 Bump axios from 1.7.4 to 1.8.2 (#26974) 2025-03-10 14:54:05 -05:00
Ian LittmanandRachael Shaw 32143284f6 Force a user to click through to redeem MFA if they aren't on a browser that started the MFA process (#26980)
For #26976.

<img width="384" alt="image"
src="https://github.com/user-attachments/assets/8d057ec2-c3b0-45d1-bb8c-9745b426e27d"
/>

An example of such a browser would be an email link scanner, so this
*should* fix cases where link-scanning was redeeming the MFA link before
the intended user could get to it. Real users can still click through if
they wind up on this page, e.g. if they logged in with a different
browser than the one used to open the MFA link.

Users redeeming MFA with the same browser that initiated the login skp
the button and redeem/land on the dashboard automatically.

# 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] 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: Rachael Shaw <r@rachael.wtf>
2025-03-10 13:56:25 -05:00
jacobshandlingandJacob Shandling 93581e7cb6 Prevent GitOps mode tooltip on 'Cancel' button hover in policies automations modals (#26998)
## For #26997 

<img width="1001" alt="Screenshot 2025-03-10 at 10 16 04 AM"
src="https://github.com/user-attachments/assets/bf23a3b0-d5b9-4d3c-8df6-dc3ebcf93a6d"
/>

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

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-03-10 11:45:26 -07:00
Noah Talerman e4ef8cc6db YAML reference docs (#27000)
- Fix quotes
- `macos_settings` is for all Apple platforms Fleet supports: #26096
2025-03-10 13:43:23 -05:00
Noah TalermanandRachael Shaw 273601d695 Agent configuration reference docs (#26999)
- Remove rotate enroll secret instructions because they're wrong: #25755
- Update contributor docs to simplify: #24309

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2025-03-10 13:36:44 -05:00
Victor Lyuboslavsky b42dbf2ff7 DigiCert backend (#26914)
For #26609 

This PR includes
- ability to get a DigiCert certificate to a macOS device
- integration test for the above
- some validation

This PR does not include the following. They will be included in
subsequent PRs:
- support for User Principal Name in certificate
- support for $FLEET_VAR_HOST_HARDWARE_SERIAL
- saving certificate expiration date
- not resending DigiCert profile after failure

# 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 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-03-10 13:02:49 -05:00
RachelElysia aad8d858cc Fleet UI: Never truncate host count on Dashboard > Software table (#26777) 2025-03-10 14:02:13 -04:00
Victor LyuboslavskyandMartin Angers 683c93f99f Android architecture docs (#26975)
For #23231

---------

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
2025-03-10 13:01:57 -05:00
Noah Talerman ce915c460d Use disk encryption key to login to a Windows computer (#26951)
Hint: you don't need the disk encryption key
2025-03-10 13:32:10 -04:00
Dante Catalfamo b49d131a05 Parse top-level json array when request arrives, before service func (#26665)
#24390
2025-03-10 13:27:17 -04:00
jacobshandlingandJacob Shandling 1268036c1f 23971 Proposed API and schema changes (#25013)
## For #25034

### API changes:
[this PR diff](https://github.com/fleetdm/fleet/pull/25013/files)
("available_teams" change is adding missing documentation for current
API behavior)

### schema changes:
- new col in `users` table, `settings`, type `json`. Defaults to `{}`.
New setting, `hidden_host_columns`, added or updated on first relevant
API call per user.

### semantics

- **null** `"hidden_host_columns"` field means "not yet set, use
defaults": `{"settings":{"hidden_host_columns": null}}`
- **included and empty** `"hidden_host_columns"` field means "no columns
hidden, show all columns in the UI":
`{"settings":{"hidden_host_columns": []}}`

### Updates 1/7/25 per discussion with @rachaelshaw @lucasmrod
@sgress454:
- Optional query param `include_ui_settings=true` included with `GET`s
to `/me` or `/users/:id` will trigger considering the API call to be a
contributor API call, giving more flexibility for future changes. Note
that this is the first time we have one endpoint that can be
conditionally considered a contributor endpoint depending on how it is
called.

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2025-03-10 10:17:57 -07:00
Konstantin Sykulev 13003cf5fc Updated developer on-call (#26795)
Updated docs to point developers to bash script to pull open community
issues and prs.

Added greater limit to existing pr fetch call.
2025-03-10 11:28:08 -05:00
Mike Thomas 24d516dc9c MDM comparison update (#26984)
Added Tanium and fixed up some errors.

Compare against [Figma
draft](https://www.figma.com/design/3he8e72251IEnF6dBafKq1/%F0%9F%9A%A7-fleetdm.com-(scratchpad)?node-id=19416-11228)
for QA review.
2025-03-10 11:26:43 -05:00
Scott Gress f5f2a16867 Clear db before restoring from backup (#26928)
For #26478 

## Details

This PR updates the db snapshot script to have it add a `drop database
if exists` line to the top. This means that snapshots will start from a
clean state, so that they won't get out of sync with migrations.

## Testing

I tested this by:

1. starting with an up-to-date database, restoring an old snapshot while
on the main code branch, then trying `fleet prepare db`.
2. This failed because the migrations it tried to run were creating
tables that already existed in the database.
3. I made a new copy of this snapshot by dropping my db and doing
`create database fleet`, restoring the snapshot and snapshotting again.
4. On the main branch, I reset my db using `make db-reset` and then
restore my new snapshot
5. Finally, did `fleet prepare db` and this time it worked since the new
snapshot dropped the database before restoring.
2025-03-10 10:01:52 -05:00
Scott Gress caa91dbc04 Update goreleaser-fleet workflow to use ubuntu-22.04-4-cores runner (#26930)
For #26927 

See
[actions/runner-images#11101](https://github.com/actions/runner-images/issues/11101)
and https://github.com/fleetdm/fleet/pull/26466/files. Updating
explicitly to `ubuntu-22.04-4-cores` to not have it float with `latest`.
[Other](https://github.com/fleetdm/fleet/blob/6e097988d5e1172660d81ec668d055d408e7a54e/.github/workflows/goreleaser-orbit.yaml#L81)
[goreleaser](https://github.com/fleetdm/fleet/blob/6e097988d5e1172660d81ec668d055d408e7a54e/.github/workflows/goreleaser-snapshot-fleet.yaml#L40)
workflows use 22.04.
2025-03-10 10:01:36 -05:00
Jahziel Villasana-EspinozaandIan Littman 7c7d9cb30a add batching logic when we pull windows profiles to install or remove (#26964)
> For #26918

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

---------

Co-authored-by: Ian Littman <iansltx@gmail.com>
2025-03-10 09:12:24 -05:00
Ian Littman b2efa09e2b Add new archive URL as data source for Mac Office release notes (#26978)
For #26977.

# 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 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-03-10 08:46:18 -05:00
Gabriel Hernandez 20eb780ffd add anroid enterprise deleted banner (#26685)
For #26207

added banner that shows when android enterprise has been deleted.

> TODO: this is only the frontend and will not work until BE work is
done. It will not show in the UI currently


![image](https://github.com/user-attachments/assets/842fd4d2-43fe-4b06-95ff-f2c7a43a8b9f)
2025-03-10 13:16:43 +00:00
Noah Talerman 07ea0508e8 Android BYOD enrollment: simplify language (#26970)
@marko-lisica what do you think?
2025-03-10 09:03:55 -04:00
Noah Talerman 889f874362 Expedited drafting (#26971)
- Add "QA" to list of folks notified
2025-03-10 09:03:36 -04:00
Sam Pfluger 988927ceaa Add Jorge to team table (#26983) 2025-03-09 21:40:35 -05:00
Sam PflugerandEric 3f39450959 Add Luis Madrigal testimonial (#26973)
Co-authored-by: Eric <eashaw@sailsjs.com>
2025-03-07 18:08:59 -06:00
4b3e2a0f69 Create design-qa-considerations.md (#26774)
Co-authored-by: Marko Lisica <83164494+marko-lisica@users.noreply.github.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2025-03-07 15:32:41 -06:00
Victor Lyuboslavsky dc7d1b382f DigiCert verify profile ID (#26899)
For #26603

This PR completes the #26603 sub-task for configuring DigiCert. It adds:
- validation call to DigiCert to verify the profile ID
- tests/checks for activity feed

The changes file will be added in the next DigiCert subtask.

# Checklist for submitter
- [x] Added/updated automated tests
- [x] Manual QA for all new/changed functionality
2025-03-07 14:55:25 -06:00
Noah Talerman ba4608455f Capital "D" in "Product Designer" (#26947) 2025-03-07 13:44:09 -06:00
Sarah Gillespie e75ef8bc1c Use server-side sort for host certificates (#26898) 2025-03-07 12:28:07 -06:00
Sarah Gillespie 44a985d06e Update PR template with checklist item regarding potential load test impact of unreleased bug fixes (#26909) 2025-03-07 12:27:46 -06:00
Ian LittmanandRachael Shaw 014f10fb46 Add experimental software title name update endpoint for titles with a bundle ID (#26938)
For #26933.

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

---------

Co-authored-by: Rachael Shaw <r@rachael.wtf>
2025-03-07 11:36:17 -06:00
Allen Houchins 2975d51032 Assigning new disk encryption check policies to teams (#26952)
Assigning policies created
[here](https://github.com/fleetdm/fleet/commit/72230056d11f68d5549463f8e24dd5d18be01b51)
to the Workstations teams.
2025-03-07 10:24:55 -06:00
Allen HouchinsandBrock Walters 72230056d1 Added disk encryption check policies (#26949)
Now that we are getting the new APNs certificate and enrollment profile
distributed, devices need to reboot to have FileVault enabled and their
keys escrowed the Fleet. These policies should hopefully encourage
everyone affected to restart their device.

---------

Co-authored-by: Brock Walters <153771548+nonpunctual@users.noreply.github.com>
2025-03-07 09:49:23 -06:00
Eric 5748facb0a Website: update query generator (#26926)
Related to: https://github.com/fleetdm/confidential/issues/9884

Changes:
- Updated the prompt in the `get-llm-generated-sql` action to include a
note about using wildcard characters when generating queries that use
the LIKE operator.
- Improved error handling in the `get-llm-generated-sql` action
2025-03-07 09:49:07 -06:00
Noah Talerman 6275289d76 Windows MDM setup: updates (#26922)
- Updates based on this retired doc:
https://docs.google.com/document/d/1hpvREXZFLsLdOp-_vS4pISJ1sLb6BzEWdbRBCR6xj0k/edit?tab=t.0
2025-03-07 10:48:17 -05:00
Jahziel Villasana-Espinoza 32c5c47b1f added panic recovery to software mutations flow just to be safe (#26932)
> For #24784

# 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 automated tests
- [x] Manual QA for all new/changed functionality
2025-03-07 10:24:56 -05:00
George Karr eb6020846a Update Product Design handbook 2025-03-07 10:00:02 -05:00
George Karr 36aba531f4 Revert "Disallow user-scoped profiles for Windows MDM" (#26940)
Reverts fleetdm/fleet#26153
2025-03-07 08:33:40 -06:00
Eric a0f8d09d41 Website: update start CTA (#26937)
Changes:
- Updated the Start CTA partial to make sure that the `showStartCta`
variable exists.
2025-03-06 18:45:19 -06:00
Eugene 31191689e8 Update yaml-files.md (#26781)
Cleaning up and standardizing use of quotations in YAML.

1. Updated to use single quotes
2. Updated to use double quotes to enclose single quote references.
3. Removed extraneous quotes around strings.
2025-03-06 17:34:44 -06:00
Scott Gress b95f5ac50c Don't allow gitops to disable gitops mode (#26794)
For #26743

This PR fixes an issue where using `fleetctl gitops` unsets the "gitops
mode" settings in the UI. The code which prepares the config spec to
send to the "modify config" endpoint deliberately copies over the
current app settings for gitops mode to facilitate this. I updated an
existing test to verify the new behavior.
2025-03-06 16:42:58 -06:00
Eric 695bf2900a Website: Update start CTA visibility (#26865)
Closes: #26754

Changes:
- Updated the start CTA on the website to be visible to logged out
users.
2025-03-06 16:34:43 -06:00
Noah Talerman 9d3398a1aa Fleet supports system level configuration profiles (#26923) 2025-03-06 16:37:35 -05:00