Commit graph

13439 commits

Author SHA1 Message Date
Gabriel Hernandez
b1effeb188
set fix widths on os settings table so we can consistantly show data (#21835)
relates to #7476, #21632

we add fix widths to the columns of the OS Settings modal table so that
we can correctly show the information without UI overflow issues.

**before**


![image](https://github.com/user-attachments/assets/fb4f60c1-a70f-4c4f-a194-2143f98e6ec1)


**after**


![image](https://github.com/user-attachments/assets/2b88619f-f1b6-4c84-ab6e-bace5b584c36)


- [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
2024-09-05 17:22:15 +01:00
Shea Craig
239c69b747
Fix type error (#21667) 2024-09-05 11:18:15 -05:00
Roberto Dip
c0373cbe51
add end user BYOD enrollment into Fleet MDM (#21836)
relates to #19448

Adds the ability for a user to enroll a their device into fleet MDM.

> NOTE: this is the PR for the feature branch to go into main so all
code has already been approved.
2024-09-05 11:24:06 -03:00
Roberto Dip
1019317975
fix migration order (#21839)
This migration is not in `minor-fleet-v4.56.0` but other migrations in
the branch have a newer timestamp.
2024-09-05 11:19:49 -03:00
Jahziel Villasana-Espinoza
3bebd7f347
fix: better UX when attempting to turn off MDM on an offline host (#21770)
> Related issue: #20868

# 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
2024-09-05 10:07:44 -04:00
Roberto Dip
a8b7dba58f
fixes for getting an OTA profile (#21837)
minor unreleased fixes for #21557 

# Checklist for submitter

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-09-05 10:54:54 -03:00
Gabriel Hernandez
35c172dcfd
add ability for end users to enrol their device into fleet mdm (#21751)
relates to #21559

This adds the ability for end users to enrol their own device in fleet
mdm.

> NOTE: this new byod HTML page is a separate HTML asset that contains
all styles and scripts needed for the page to work. We do not send the
fleet UI assets and this drastically cuts down the response time to the
users who will be visiting this page on mobile devices

There are two sides included in this:

**Adding a new add host modal ios and iPad section for IT admins**


![image](https://github.com/user-attachments/assets/1008b190-9c38-4a0e-9b02-19df5da7937d)

**delivering a new byod HTML page to end users that will allow end users
to download the config profile to enrol into fleet mdm**


![image](https://github.com/user-attachments/assets/58d790e4-233b-4b03-ab36-9971aac075de)

<!-- 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.
- [ ] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-09-05 12:47:34 +01:00
Rachael Shaw
74a9f50ba7
Update usage statistics example (#21823)
Move array to the bottom of the example for readability.
2024-09-04 14:13:05 -07:00
Drew Baker
cbf31af92b
Update README.md (#21206)
Adding warm-up actions and discovering intent signals to handbook

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-09-04 15:51:36 -05:00
Alex Mitchell
b353c46a0b
Update README.md (#19379)
Added Opportunity pipeline review details

# 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://fleetdm.com/docs/contributing/committing-changes#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 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:
- [ ] 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)).

---------

Co-authored-by: Sam Pfluger <108141731+Sampfluger88@users.noreply.github.com>
2024-09-04 15:27:32 -05:00
Tim Lee
8542a823a7
macOS VirtualBox false negative (#21646) 2024-09-04 14:22:36 -06:00
RachelElysia
a4fb3f45a1
Unreleased bug: Clear all pre-selected vuln filters when vulnerable filter is toggled off (#21821) 2024-09-04 16:15:34 -04:00
Martin Angers
73222541da
MABM: fix non-integrations skipped tests part 2 (#21805) 2024-09-04 15:17:32 -04:00
Mike McNeil
a1d05ade04
Handbook: Ritual: Ensure we don't blow people up who don't want to be blown up (#20242) 2024-09-04 13:51:51 -05:00
github-actions[bot]
d7b5eb9383
Update versions of fleetd components in Fleet's TUF [automated] (#21814)
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-09-04 15:05:58 -03:00
Martin Angers
a16733e02f
MABM: fix/update non-integration MABM-related skipped tests (#21799) 2024-09-04 10:08:22 -04:00
Marko Lisica
19db84352f
Update: Renew SCEP certificates 180 days before expiration (#21747)
Updates related to: #19684
2024-09-04 09:53:42 -04:00
Gabriel Hernandez
910b5a7b2b Merge branch 'main' into feat-byod-enrollment 2024-09-04 14:21:21 +01:00
Lucas Manuel Rodriguez
6a5c515dc4
Attempt to use go.mod version instead of hidden Github var (#21768)
Done as part of oncall improvements.

`vars.GO_VERSION` can only be changed by admins and it's not public
(Fleet devs don't know the current value of the variable), this approach
uses the version specified in our `go.mod` file.
2024-09-03 20:49:50 -03:00
jacobshandling
09b6402f76
UI – Policy software install automations (#21792)
## Front end for #19551

Feature branch merge to `main` – all work as been previously approved in
individual PRs to the feature branch.

- [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-09-03 15:35:33 -07:00
Harrison Ravazzolo
271368c72d
Add Harrison to humans list (#21794) 2024-09-03 14:01:33 -07:00
Eric
9f5f848cde
Website: add fixed width to Github stars button in website navigation (#21783)
Closes: #21469

Changes:
- Updated the styles for the GitHub stars button in the websites desktop
header navigation to prevent layout shifts when navigating between
pages.
2024-09-03 15:56:32 -05:00
Robert Fairburn
0091a45905
ensure that "/repo" can ever be accessed (#21788)
The `/repo` path would never get hit in the order that this was
previously. This corrects the behavior.
2024-09-03 14:58:15 -05:00
Martin Angers
51709eadb6
Bugfix: cron startup scheduling is delayed too long if no prior run exists (#21784) 2024-09-03 15:50:43 -04:00
Rachael Shaw
f5720d38a4
Docs: Use consistent naming for parameter types (#21787)
bool ➡️ boolean
list ➡️ array
2024-09-03 14:40:58 -05:00
Robert Fairburn
6a0b0cc018
Update mdmproxy dockerfile to use go 1.22.6 (#21785) 2024-09-03 14:12:04 -05:00
Sam Pfluger
93b4f48457
Add context to Prioritize for next sprint ritual (#21737) 2024-09-03 14:06:12 -05:00
Rachael Shaw
bb77b9a5ff
Handbook: Add note about image exports (#21772)
Follow-up from discussion @ product design sync awhile back re:
exporting any image more complex than an icon as PNG. (Complex SVGs can
have issues like emojis not rendering and inconsistencies between
browsers.)
2024-09-03 14:04:54 -05:00
Victor Lyuboslavsky
c0687573c6
Added backend patterns.md (#21782)
As discussed at backend sync
https://us-65885.app.gong.io/call?id=8041045095900447703
2024-09-03 13:42:08 -05:00
Allen Houchins
be2d0a6556
added allenhouchins to name list (#21781) 2024-09-03 13:38:27 -05:00
Roberto Dip
a8a739ab29
update copy for VPP team modal (#21766)
unreleased spec change.

# 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-09-03 14:32:40 -03:00
Brock Walters
80e37fb787
Update cryptoinfo.yml (#21762) 2024-09-03 12:24:24 -05:00
Martin Angers
5b1a603d3b
MABM bugfix: fix the expected format of the migrated VPP token (#21761) 2024-09-03 13:23:44 -04:00
Noah Talerman
904234251f
App deployment API endpoints are experimental (#21615)
App deployment features are experimental features:
https://fleetdm.com/handbook/company/product-groups#experimental-features
2024-09-03 12:33:09 -04:00
Noah Talerman
aa952962b5
API design: Fleet MDM features depend on MDM name (#21279)
API design for this bug: #18977 

Documentation story is here: 
- #20373
2024-09-03 12:32:39 -04:00
Noah Talerman
d44d675568
Fix API docs bug (#21263)
Broken label's don't have an `id` (they've been deleted):
https://github.com/fleetdm/fleet/pull/21162#discussion_r1713715452
2024-09-03 12:32:18 -04:00
Gabriel Hernandez
6de73537a1
show correct error message when the VPP token is invalid (#21744)
relates to #21725

shows the correct UI error when a user tries to upload an invalid token

- [x] Added/updated tests
2024-09-03 17:04:55 +01:00
Luke Heath
004ed9fc9a
Update KPI script (#21732) 2024-09-03 10:52:38 -05:00
Mike Thomas
f51fe63259
Update mdm-migration.md (#21534)
- Updated the intro to this guide. 
- I added a note directing users to "Seamless MDM migration."
- Updated the requirements section.

---------

Co-authored-by: JD <spokanemac@users.noreply.github.com>
2024-09-03 08:29:36 -07:00
Roberto Dip
f6165a220a
fix: properly catch and log APNs errors (#21753)
found reproducing other issues:

1. In the APNs cron, the logger wasn't good enough to print an slice and
the log message was "unsupported type"
2. `APNSDeliveryError` _always_ had `Err` set to nil, while we were
catching those errors, it was impossible to see the cause in the logs
(always printed err=nil)

# 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
2024-09-03 11:40:17 -03:00
Victor Lyuboslavsky
1b06b050d7
Fix issues with coverage uploads (#21736)
#21707
2024-09-03 09:07:16 -05:00
Gabriel Hernandez
bf8f84a399
show abm and vpp sections when mdm is disabled (#21752)
relates to #21716

This shows the abm and vpp sections on the mdm settings page when mdm is
not enabled.


![image](https://github.com/user-attachments/assets/357a0f5a-6e99-4a85-aed5-e5e4c18a5b20)
2024-09-03 14:46:11 +01:00
Dante Catalfamo
a6dcdca2dd
Validate Premium license when uploading VPP tokens (#21720)
#21315

Ensures VPP uploads are behind premium license.

Also moved the VPP service methods to the correct file
2024-09-03 09:39:29 -04:00
Gabriel Hernandez
694598b803 Merge branch 'main' into feat-byod-enrollment 2024-09-02 11:58:36 +01:00
Jahziel Villasana-Espinoza
70a106ccb0
fix: update copy in VPP/ABM UI (#21730)
> Related issue: #21723

# 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-09-02 11:39:11 +01:00
Ian Littman
ebf1a2d8f5
Show zeroes on software/software OSes/software vulns tables (#21584)
#18897 

# Checklist for submitter

- [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-08-30 18:12:19 -05:00
Sarah Gillespie
6d1de32713
Remove APNS certificate validation from server start up (#21728) 2024-08-30 17:36:29 -05:00
Eric
4ffde1dc09
Website: add new metrics to HistoricalUsageSnapshot model. (#21625)
Related to: #21259

Changes:
- Updated the `receive-usage-analytics` webhook to add new inputs for
metrics added in [#21131](https://github.com/fleetdm/fleet/pull/21131)
- Updated the `HIstoricalUsageSnapshot` model to add attributes for the
new metrics.


When this PR is merged:
- [ ] Put the website into maintenance mode
- [ ] Update the HistoricalUsageSnapshot table to add new columns
- [ ] Update all existing records to set the default value for the new
columns
2024-08-30 17:13:07 -05:00
Lucas Manuel Rodriguez
78bd5db0b8
Remove invalid node keys from server logs (#21731)
#21412

Tested using the curl command in the issue description.

- [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
2024-08-30 18:58:33 -03:00
Lucas Manuel Rodriguez
c6e20456a5
Do not queue installations on vanilla osquery devices (#21718)
Another small fix for #21428.
2024-08-30 18:58:20 -03:00