Commit graph

13892 commits

Author SHA1 Message Date
Gabriel Hernandez
3729b4b98d
Install software setup experience UI (#22651)
relates to #22373

This implements the UI for the install software setup experience in the
UI. This includes:

**updating the nav sidebar**


![image](https://github.com/user-attachments/assets/91928a23-13cc-430b-b207-ba226df32b86)

**creating a new install software card**


![image](https://github.com/user-attachments/assets/8b4a9495-4119-4360-9f31-53ac41b83316)

**select software modal for selecting which software to install**


![image](https://github.com/user-attachments/assets/a3b4b786-ab8e-42b2-8feb-4b2a83e69af9)**


- [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-10-09 16:09:38 +01:00
Gabriel Hernandez
4e2791a0dc Merge branch 'main' into feat-setup-experience 2024-10-09 15:36:48 +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
Dante Catalfamo
ab1b66e5c6
Setup experience software API (#22507) 2024-10-08 16:41:57 -04: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
jacobshandling
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 Dip
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
jacobshandling
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
jacobshandling
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
Jahziel Villasana-Espinoza
0a4107c889
feat: orbit SE status endpoint (#22678)
> Related issue: #22637

# 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-07 17:16:32 -04:00
Lucas Manuel Rodriguez
d0a1e621f1
releaser.sh don't pull when pushing (#22724) 2024-10-07 16:15:47 -05:00
Mike Thomas
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 Guglani
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 Thomas
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 Silva
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]
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
Gabriel Hernandez
d3508f6781 Merge branch 'main' into feat-setup-experience 2024-10-07 12:08:05 +01:00
Sam Pfluger
671acfb081
Add marketing apprentice (#22681) 2024-10-05 18:19:00 -05:00
Jahziel Villasana-Espinoza
9598b769a9
fix: add some missing columns to migration (#22671)
> No issue, just updating an existing 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)
- 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-04 16:49:41 -04: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
jacobshandling
ea4e12208b
Pad copy button for BYOD link (#22645)
## #22485 

<img width="1464" alt="Screenshot 2024-10-03 at 4 54 04 PM"
src="https://github.com/user-attachments/assets/1c64a78f-7642-4dd2-b7a5-14de6ab32018">


- [x] Changes file added for user-visible changes in `changes/`,
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-10-04 10:32:40 -07:00
jacobshandling
21175ea706
Render unsupported screen size on My device page (#22643)
## #22490 

- Componentize relevant UI
- Apply to both core layout and My device page
<img width="876" alt="Screenshot 2024-10-03 at 4 28 18 PM"
src="https://github.com/user-attachments/assets/931ccd78-e525-43d9-8a5d-169e2bf6624b">

- [x] Changes file added for user-visible changes in `changes/`,
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-10-04 10:25:08 -07:00
RachelElysia
d056f04dd7
Fleet UI: Label display names fix (#22641) 2024-10-04 10:17:25 -07:00
RachelElysia
92778d3eb9
[unreleased] Fleet UI: Live query target spinner fix for various browsers (#22617) 2024-10-04 10:16:29 -07:00
jacobshandling
b3928c2b23
When trying to delete an installer associated with a policy automation, return 409 instead of 500 (#22646)
## #22565 

- Update returned error type
- Confirm test of DS method still passes

<img width="1464" alt="Screenshot 2024-10-03 at 6 12 11 PM"
src="https://github.com/user-attachments/assets/c1513714-2016-4fa4-a9cb-0bf1fff35f0f">


- [x] Changes file added for user-visible changes in `changes/`,
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-10-04 09:11:36 -07:00