Commit Graph
13892 Commits
Author SHA1 Message Date
Ian Littman 92bb7ec666 Add policy ID and name to activity for automated software installs, list Fleet as author rather than installer uploader (#22747)
#22424, #22705

TODO: integration test updates

# 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 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-10-09 18:15:56 -05:00
Ian Littman 550de39a7c Switch path resolution for scripts to happen when spec is parsed (#22782)
#22555

This resolves issues where no-team script paths are resolved relative to
the base rather than the file they're in.

There was a similar issue for software packages, which I also fixed.

This also fixes script-poolicy associations when scripts and policy
files automating those scripts need different relative paths.

Test file moves ensure that these fixes are tested.

# 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 tests
- [x] Manual QA for all new/changed functionality
2024-10-09 17:57:08 -05:00
Luke Heath df3d3f356b Move Victor to MDM group (#22798) 2024-10-09 17:49:03 -05:00
Mike ThomasandEric 3dc1dc6f64 Website: Integrations update (#22686)
- Added Homebrew to the list of integrations
- Update descriptions for Oomnitza and Adaptive Shield

Closes https://github.com/fleetdm/fleet/issues/21853 and
https://github.com/fleetdm/confidential/issues/8072

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-10-09 18:04:00 -04:00
Sam Pfluger 093292aae3 Make Ben Edwards CODEOWNER of render.yml (#22799) 2024-10-09 16:41:02 -05:00
Roberto Dip c02af491c2 fix typos and ensure installers with choices work (#22800)
for #22774

# 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 tests
- [x] Manual QA for all new/changed functionality
2024-10-09 18:24:25 -03:00
Victor Lyuboslavsky 567803955e NDES SCEP proxy backend (#22542)
#21955

<div>
<a href="https://www.loom.com/share/ba40b440502845d2861fd3ec7611bade">
<p>[Demo] Deploy SCEP certificates from Network Device Enrollment
Service (NDES) #21955 - Watch Video</p>
    </a>
<a href="https://www.loom.com/share/ba40b440502845d2861fd3ec7611bade">
<img style="max-width:300px;"
src="https://cdn.loom.com/sessions/thumbnails/ba40b440502845d2861fd3ec7611bade-84f2d88c9f5106c2-full-play.gif">
    </a>
  </div>

Note: A few remaining subtasks will be done in a follow-up PR. See
#22123 for a detailed list.

# 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] Manual QA for all new/changed functionality
2024-10-09 13:47:27 -05:00
cui fliter cc6384eda1 fix: fix slice init length (#22608)
# Checklist for submitter



The intention here should be to initialize a slice with a capacity of
totalTitlesToProcess rather than initializing the length of this slice.

The only demo: https://go.dev/play/p/q1BcVCmvidW
2024-10-09 11:45:46 -05:00
Mike Thomas 5beea75e43 Website - homepage text fix (#22777)
Changed "Chromebook" to "ChromeOS" to be consistent with macOS, Windows,
and Linux, which refer to the operating system, not the device name.
2024-10-09 10:06:42 -05:00
Dale Ribeiro 2b300d13dc Change mentions of 0-day to same-day (#22763)
There's some discussion in the community of the best way to describe
this, but 0-day has associations with vulnerabilities. "Same-day
support" seems to the currently agreed upon phrase other products use.

# 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-09 10:03:58 -05:00
Gabriel Hernandez a9f4749054 Add count and apps_updated_at data to GET /fleet_maintained_apps and UI (#22778)
relates to #22732

This adds the `counts` and `apps_updated_at` response data on the `GET
/fleet_maintained_apps` endpoint. We then add that to the UI to show the
counts and last time fleet maintained app data has been updated:


![image](https://github.com/user-attachments/assets/bb4d3819-2274-4782-a56b-b1868122cce0)


- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-10-09 15:49:06 +01:00
Lucas Manuel Rodriguez 9eea9ffa7f Clear policy failing counts on hosts that are not running policies (#22665)
#21470

- [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-09 08:14:21 -03:00
Mike McNeil d65d78807d Fix circular link (#22776) 2024-10-09 00:04:22 -05:00
Ian Littman 5339794f97 Include the policy ID and name in the "script ran" activity of a script run queued by a policy failure (#22690)
#22692 

# 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 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-10-08 15:45:31 -05:00
Lucas Manuel Rodriguez 580dc13f92 Remove root rotation from releaser.sh script (#22748)
We will move the rotation of the root key to a separate script+guide.
2024-10-08 16:49:14 -03:00
Sarah Gillespie 9c4671a37e Increase max size and remove timeout for software installer uploads (#22725) 2024-10-08 14:27:55 -05:00
jacobshandlingandJacob Shandling 88fe04ebdf UI - Show installer extension in select options (#22720)
## #22656 

- Tighten software `source` and `browser` types
- Include package extensions, when present, in help text
<img width="1271" alt="Screenshot 2024-10-07 at 3 09 47 PM"
src="https://github.com/user-attachments/assets/d401498b-41d0-4afe-8bca-4e52b821939c">

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-10-08 12:19:32 -07:00
Noah Talerman 2839fe1187 Story issue template (#22695)
- Add "Objective" and "Original requests" section
  - Remove "Requestor" item b/c it's now covered by original requests
2024-10-08 13:28:38 -05:00
Noah Talerman 5d054adc4f Update sprint kickoff review ritual (#22718)
Update ritual to reflect what actually happens today

- @noahtalerman: I'm responsible for updating the stories pushed KPI. I
do this async using the `~pushed` label
- @noahtalerman: I'm responsible for notifying stakeholders. I do this
async
- @noahtalerman: We haven't been chatting about product group staffing
on this call. I think this is happening separately during 1:1s and other
calls. I chat w/ Luke about this semi-regularly during our 1:1
2024-10-08 13:28:00 -05:00
Mike McNeil dafa1692ee Capitalization: Update fleet-desktop.md (#22730) 2024-10-08 10:35:11 -07:00
Eric 7c14a3cace Website: Move /try-fleet link in /start questionnaire (#22749)
Closes: #22737

Changes:
- Moved the link to /try-fleet to the "What did you think" step of the
/start questionnaire
2024-10-08 11:38:16 -05:00
Roberto Dip c4c8efb5b1 Back-end fixes for FMA (#22742)
for https://github.com/fleetdm/fleet/issues/22733,
https://github.com/fleetdm/fleet/issues/22734 and
https://github.com/fleetdm/fleet/issues/22735

# 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 tests
- [x] Manual QA for all new/changed functionality
2024-10-08 12:49:11 -03:00
Eric 2b651a9e01 [A/B] Website: remove integrations section on homepage (#22746)
Related to: #22738

Changes:
- Commented out the integrations section on the homepage
2024-10-08 10:46:41 -05:00
Gabriel Hernandez e4bf007d9f fix for typo and adding link for empty fleet maintained apps table (#22744)
relates to #22731

fix typo and put in link
2024-10-08 16:30:17 +01:00
Mike Thomas e3a5985b92 updated homepage (#22736)
- updated text in the carousel
- swapped position of integrations and open interface card
- updated links in open by design columns
- swapped IoT icon for iOS
- reduced/made spacings consistent
2024-10-08 10:19:56 -05:00
Roberto DipandZach Wasserman cb35db4b14 tool to perform touchless MDM migrations (#18151)
This started as a proof of concept that was later successfully used to
perform a touchless migration.

# 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] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2024-10-08 09:48:06 -03:00
Sam Pfluger 4ff5f7a18a Fix workiversary (#22728) 2024-10-07 21:15:30 -05:00
jacobshandlingandJacob Shandling e625e94577 to RC: UI - Limit width of query selection options (#22722) (#22726)
#### This PR already merged to `main`, see
https://github.com/fleetdm/fleet/pull/22722. This is against the release
branch so it can be included in 4.58.0.

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-10-07 17:25:02 -07:00
jacobshandlingandJacob Shandling 4c661acb19 UI - Limit width of query selection options (#22722)
## #22660 
<img width="1271" alt="Screenshot 2024-10-07 at 1 48 25 PM"
src="https://github.com/user-attachments/assets/5621b0fc-62b5-40c7-8f94-150bb2bf49fb">
- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-10-07 15:02:05 -07:00
Sam Pfluger d2594ec142 Update drive folder for interview feedback (#22721) 2024-10-07 16:48:13 -05:00
Lucas Manuel Rodriguez d0a1e621f1 releaser.sh don't pull when pushing (#22724) 2024-10-07 16:15:47 -05:00
Mike ThomasandEric 25c5e0c760 Update basic-documentation.less (#22688)
- Fixed spaces and sizes of headings
- Table margin-bottom so scroll sits correctly on narrow widths

Closes https://github.com/fleetdm/confidential/issues/8071

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-10-07 14:38:32 -05:00
Mike Thomas f510946d80 Website "Less friction" text update (#22685)
Closes https://github.com/fleetdm/fleet/issues/21965
2024-10-07 14:10:38 -05:00
Allen Houchins 278b81d7f5 Fixed minor typo in yaml-files.md (#22698)
# 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-07 12:48:34 -05:00
Manoj GuglaniandEric f9c0b2444b Update account_policy_data.yml (#22684)
Missing comma between u.username, u.uid causes the query to fail with
this error (Note the query is only applicable to Mac OS):

```
osquery> SELECT u.username u.uid, strftime('%Y-%m-%dT%H:%M:%S', a.password_last_set_time, 'unixepoch') AS password_last_set_time, a.failed_login_count, strftime('%Y-%m-%dT%H:%M:%S', a.failed_login_timestamp, 'unixepoch') AS failed_login_timestamp FROM account_policy_data AS a CROSS JOIN users AS u USING (uid) ORDER BY password_last_set_time ASC;
Error: near ".": syntax error
```
Output after fixing the missing , (removed part of the output):

```
osquery> SELECT u.username, u.uid, strftime('%Y-%m-%dT%H:%M:%S', a.password_last_set_time, 'unixepoch') AS password_last_set_time, a.failed_login_count, strftime('%Y-%m-%dT%H:%M:%S', a.failed_login_timestamp, 'unixepoch') AS failed_login_timestamp FROM account_policy_data AS a CROSS JOIN users AS u USING (uid) ORDER BY password_last_set_time ASC;
+--------------+------------+------------------------+--------------------+------------------------+
| username     | uid        | password_last_set_time | failed_login_count | failed_login_timestamp |
+--------------+------------+------------------------+--------------------+------------------------+
| nobody       | 4294967294 |                        |                    |                        |
| root         | 0          |                        |                    |                        |
```
# 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] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-10-07 11:05:17 -05:00
Mike ThomasandEric 55f5c6aad9 updated psystage images (#22649)
Updated psy-stage images

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-10-07 11:04:32 -05:00
Lucas Manuel Rodriguez d7caf304c2 Add fix for rotate-root-key (#22703)
#22687
2024-10-07 10:49:26 -05:00
Lucas Manuel Rodriguez d9a7d4e5e8 Add missing setup step for root (#22699) 2024-10-07 10:15:16 -05:00
Gaston SilvaandJD 9fbeb42d2f Add note for configuration profile file extension (#22679)
# Checklist for submitter

- No tasks found for article changes

Co-authored-by: JD <spokanemac@users.noreply.github.com>
2024-10-07 07:54:35 -07:00
Lucas Manuel Rodriguez e399249128 Add functionality to rotate expired TUF root key (#22693) 2024-10-07 09:36:37 -05:00
github-actions[bot]andlucasmrod a07988a88d Update versions of fleetd components in Fleet's TUF [automated] (#22680)
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-10-07 08:57:28 -03:00
Sam Pfluger 671acfb081 Add marketing apprentice (#22681) 2024-10-05 18:19:00 -05:00
Noah Talerman 16f2955901 Fix product design rituals (#22655)
Noah: I edited the wrong ritual in my PR
[here](https://github.com/fleetdm/fleet/pull/22615) (d'oh)
2024-10-04 15:05:17 -05:00
Noah Talerman b25a098e3f Product design rituals (#22667)
- Update description for pre-sprint prioritization. Stories not
completed count is done async using the `~pushed` label.
2024-10-04 15:04:12 -05:00
Lucas Manuel Rodriguez 008938b405 Reduce test-packaging.yml runs on main (#22670)
Last change for #22206.

No need to run this workflow on **every** push to `main`. Let's match
the PR paths.
2024-10-04 16:58:38 -03:00
Eric 3829095d66 Website: remove JNUC banner on device management page (#22629)
Closes: #22530

Changes:
- Removed the JNUC banner on the device management page.
2024-10-04 14:52:20 -05:00
Sam Pfluger f2bcfe98d7 Change Dale to CSA (#22669) 2024-10-04 14:35:03 -05:00
Lucas Manuel Rodriguez 2cb17b34d3 Disable test packaging of MSI on macOS Github runners (#22562)
#22206

This was discussed in the backend weekly.

Currently the test-packaging.yml is extremely unreliable (it has more
failures than successes), because of issues with Docker and colima on
Github macOS runners (we tried docker then colima but both have issues,
timeouts, etc.).

This only removes testing of MSI package generation from macOS. IMO this
is low risk as almost all Fleet devs generate MSI packages from their
macOS workstations.
2024-10-04 16:33:42 -03:00
Katheryn Satterlee 3e44610200 Remove dead links (#22635)
Removed dead links for os versions in 'hosts' endpoint list

# Checklist for submitter

Docs only change
2024-10-04 14:28:37 -05:00
Sam Pfluger 442732def5 Update README.md (#22668) 2024-10-04 14:13:45 -05:00