Commit Graph
13419 Commits
Author SHA1 Message Date
Jacob Shandling 25d08d1051 change file 2024-09-03 15:45:55 -07:00
jacobshandlingandJacob Shandling 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 ThomasandJD 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
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 LittmanandJacob Shandling 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
Lucas Manuel Rodriguez 5f2eaefabd Prevent installing on pending host+installer (#21722)
#21428

Figma:
https://www.figma.com/design/4pfUOYy7IyMIrjMH2fuCdU/%2319551-Policy-automations%3A-install-software?node-id=5871-12100&t=pKh926u8a30iYFBA-4


- [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-08-30 18:58:10 -03:00
Eric ee7b05cb26 Website: Replace eo-it quote (#21734)
Closes: #21695

Changes:
- Removed the quote from Harrison in testimonials.yml
- Updated the order of quotes on the endpoint ops page
- Replaced the quote from Harrison on the /contact and /signup pages
2024-08-30 16:54:08 -05:00
Eric 5b2f8d75ef Website: Update contacts created by talk to us form submissions (>700 hosts) (#21671)
Closes: https://github.com/fleetdm/confidential/issues/7815

Changes:
- Updated deliver-talk-to-us-form-submission to set contacts who fill
out the "talk to us form" to book a meeting as Psychological stage 4.
2024-08-30 16:34:06 -05:00
Savannah Friend 6ed3ce8439 Add "Complete Digital Experience KPIs" to digital-experience.rituals.yml (#21726) 2024-08-30 16:26:58 -05:00
Ian Littman 29af66076a Add docs for --dev default MinIO buckets (#21721)
I noticed this wasn't documented when i went hunting for what I figured
were defaults baked into `--dev`; thanks @jahzielv for pointing me in
the right direction!
2024-08-30 16:12:43 -05:00
JoGSalandEric 50cc41c7f9 Documentation: Internationalize Render deployment guide (#20725)
Row 11: Internationalize Render deployment guide. Updated language to
reflect need to be aware of regional settings when outside the United
States.

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

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-08-30 16:06:55 -05:00
Victor Lyuboslavsky 23f9065522 Profiles batch activity (#21604)
#20757
API endpoint `/api/v1/fleet/mdm/profiles/batch` will now not log an
activity for profile types that did not change in the database (Apple
configuration profiles, Windows configuration profiles, or Apple
declarations).

Demo video: https://www.loom.com/share/8b75cbd8e7394c12ac6b56746b72c244

# 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] If database migrations are included, checked table schema to
confirm autoupdate
- [x] Manual QA for all new/changed functionality
2024-08-30 16:00:35 -05:00
Lucas Manuel Rodriguez f30017f354 Fix upcoming activities for automatic installers (#21714)
Small fix for #21428.

This is to show the activity the right way (Because installations
triggered by Fleet will have `host_software_installs` with `NULL`
`user_id`.).
2024-08-30 17:00:29 -03:00
Eric 390c6888d7 Website: link to personalized view of endpoint ops page without changing primaryBuyingSituation (#21680)
Closes: #21237

Changes:
- Updated view-endpoint-ops to set a `pagePersonalization` value using
the users primaryBuyingSituation (if it is set) or a `pageMode` query
parameter.
- Updated the endpoint ops page to be personalized based off the
pagePersonalization value set in the view action
- Updated the links to the endpoint ops page on the unpersonalized
homepage to use a pageMode query parameter (e.g., pageMode=it) instead
of a utm_content query parameter.
- Updated the links to the endpoint ops page on the personalized
homepage to not include a utm_content query parameter.
2024-08-30 13:18:47 -05:00
Lucas Manuel Rodriguez fcdda20664 Backend for policy automation to install software (#21650)
#21428

- [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 tests
- [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
2024-08-30 14:13:25 -03:00
Gabriel Hernandez 1d7d84022c fix selected team names overflowing in vpp edit teams modal dropdown (#21710)
relates to #21700

This fixes an issue where the selected team names were overflowing in
the dropdown in vpp edit teams modal. This makes it so they now wrap.

**Before**


![image](https://github.com/user-attachments/assets/c69f1855-95ef-4eb0-9ade-8a67c2b44e70)

**After**


![image](https://github.com/user-attachments/assets/c922a587-35fe-41c5-ba8f-976084c0103c)

> NOTE: I'm not sure why the top padding in the dropdown is removed when
the text wraps and still need to figure that part out but I wanted to
get this in to unblock the release.



- [x] Manual QA for all new/changed functionality
2024-08-30 17:02:49 +01:00
Sam Pfluger 45f4825c0a Fix spacing on product-groups page (#21682) 2024-08-30 10:59:28 -05:00
Victor Lyuboslavsky 182823753c Revert "Fleet UI: Update profile activities to not include host platform" (#21678)
Reverts fleetdm/fleet#20696

See discussion here:
https://fleetdm.slack.com/archives/C01EZVBHFHU/p1724875922881429
2024-08-30 08:18:07 -05:00
Roberto Dip 6920eedfab unreleased fixes for MABM (#21704)
# 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-08-30 09:46:33 -03:00
github-actions[bot]andlucasmrod bac0d8376a Update versions of fleetd components in Fleet's TUF [automated] (#21701)
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-08-30 08:44:21 -03:00
Eric e2077eb79d Website: Update /endpoint-ops page layout (#21689)
Closes: #21542

Changes:
- Updated the "three column feature" blocks on the /endpoint-ops page to
be more responsive. They start at three columns on large screens, then
go to a two-column layout on medium screens and a one-column layout on
small screens (previously three columns on large, then one column on
small)
2024-08-30 08:15:00 +09:00
a00559e732 feat: enable multiple ABM and VPP tokens (#21693)
> Related issue: #9956 

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

---------

Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
Co-authored-by: Gabriel Hernandez <ghernandez345@gmail.com>
Co-authored-by: Roberto Dip <rroperzh@gmail.com>
Co-authored-by: Sarah Gillespie <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Dante Catalfamo <43040593+dantecatalfamo@users.noreply.github.com>
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
2024-08-29 18:51:46 -04:00
Eric 45b7f315bb Website: Fix overflowing step of /start questionnaire (#21692)
Related to: #21081
Closes: #21690

Changes:
- Updated the styles for the /start questionnaire to prevent the content
from overflowing outside of the page's container on smaller screen
sizes.
2024-08-29 17:13:43 -05:00
Lucas Manuel RodriguezandSharon Katz ea7d08fc88 Release fleetd 1.32.0 (#21658)
Co-authored-by: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com>
2024-08-29 18:51:10 -03:00