Commit Graph
14154 Commits
Author SHA1 Message Date
Benjamin Edwards 6781d154fb only render the policy document if we are creating the bucket (#23085) 2024-10-22 14:06:02 -04:00
jacobshandlingandJacob Shandling d3ccb51755 UI - Improve UX of Flash messages (#22836)
## #22661 


![ezgif-6-71e48912ae](https://github.com/user-attachments/assets/01144620-0eba-48f0-9254-cc4795fde9fd)

- Update `FlashMessage` behavior to, by default, hide itself when the
user performs any URL-changing navigation
- Add `persistOnPageChange` option to `renderFlash` API and associated
notification context and reducer logic, allowing override of this
behavior on a per-call basis
- Ensure proper order of evaluation of URL changes and render flash
action dispatches on the event loop
- Clean up legacy unused "undo"-related arguments and logic
- Allow the user to click in the same horizontal dimension as a flash
message
- Other misc. cleanup and refactoring

[Demo - messages hidden on page (any URL)
change](https://www.loom.com/share/1e884b6ba11c4b59bc74f51df3690131?sid=9b53e78b-6535-4541-b676-377760366cf4)

- [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-22 10:52:20 -07:00
Ian Littman 3e8f68f80d Pass through original status of an install when the removed flag is set when GETing the install result (#23072)
#23070 // https://www.loom.com/share/6ac7260712c94d4890f67fe8d5a26ea1

Also removes the unused, undocumented Detail field on software install
results

# 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] 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
2024-10-22 12:47:46 -05:00
Mike McNeilandEric 89d53330f5 Update process_open_sockets.yml (#23033)
Co-authored-by: Eric <eashaw@sailsjs.com>
2024-10-22 12:41:33 -05:00
Lucas Manuel Rodriguez 2c891447d4 Release osqueryd 5.14.1 (#23045) 2024-10-22 12:27:00 -05:00
Sharon Katz f9c5139b5e Additional comments to the release instructions. (#23005) 2024-10-22 12:26:14 -05:00
Luke Heath 6166a4967a Update patch release instructions (#22831) 2024-10-22 12:22:53 -05:00
jacobshandlingandJacob Shandling ad9c919219 Frontend – Custom MDM URL UI, Update data validation pattern (#22727)
## #22700 


![ezgif-6-801855a36d](https://github.com/user-attachments/assets/72ddd339-acfa-4afe-a322-c1e6a2a38dd2)

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-10-22 10:10:50 -07:00
Tim Lee d69100940e Add config for custom MDM URL (#22878) 2024-10-22 11:05:35 -06:00
Brock Walters 6b4f705f20 Update macos-mdm-setup.md (#23084)
Added info box around "no team" verbiage for clarity.
2024-10-22 11:23:13 -05:00
Sam Pfluger fe59c7482c Remove CPE (#23007) 2024-10-22 10:59:16 -05:00
Sam PflugerandNoah Talerman c3085bc8a1 Add responsibilities to product design (#23019)
- Handbook flow from new feature request to drafting board. 
- File new GitHub issues for every customer/prospect requests:
https://github.com/fleetdm/fleet/pull/23019/files#diff-c99d12c3af50c0c2aca2b9ef7597c02ccfe87678291956ff0b2e83d63978ea38R77
- Handbook new "Unpacking the why", "Unpacking the how", and "Product
design check in" product design responsibilities

---------

Co-authored-by: Noah Talerman <noahtal@umich.edu>
2024-10-22 10:22:27 -05:00
Sam Pfluger ad7c529a90 Add DRIs (#23076) 2024-10-22 10:21:57 -05:00
Sharon Katz d8b3a1c7bb Fix CIS query (#23062) 2024-10-22 09:54:19 -04:00
github-actions[bot]andlucasmrod cc3f4e0bde Update versions of fleetd components in Fleet's TUF [automated] (#23071)
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-22 07:28:08 -03:00
Eric 1e593375f8 Msp dashboard: Update error handling in software-related actions (#23065)
For: https://github.com/fleetdm/confidential/issues/8473

Changes:
- Updated the cloud error components message
- Updated the upload-software action to log errors about failed requests
to the Fleet API
- Updated the edit-software action to log errors about failed requests
to the Fleet API, and to delete temporary files when requests fail.
- Updated the software page to clear cloud errors when modals are
closed.
2024-10-21 21:13:06 -05:00
Ian Littman 91eef00d05 Fall back to pending-outline when we see an unexpected or blank host software install status (#23069)
#23068

# 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-10-21 18:20:34 -05:00
Ian Littman bbac39f22a Ensure software installs aren't deleted, and have enough info to display, even if associated installer or title are deleted (#22996)
#21654 #22087

Also persists title/installer filename/version to the install record in
case those are edited, though we'll continue showing the current title
name when pulling the install record at this point, and don't expose
installed version anywhere for now.

# 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] 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. (**force-set updated_at to avoid**)
- [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-21 17:46:50 -05:00
Jahziel Villasana-Espinoza 0da28fd255 feat: swift dialog UI for setup experience (#22972)
> Related issues: #22383, #22384

# 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
- For Orbit and Fleet Desktop changes:
- [x] 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-21 16:58:12 -04:00
Josh BrowerandSharon Katz 16afe9f7c0 CIS Update - macOS 14, CIS v1.1.0 (#21478)
Changelog

ADD:

    ADD - 2.3.3.2 Ensure the Time Service Is Enabled
    ADD - 6.3.10 Ensure Show Status Bar Is Enabled

REMOVE:

    REMOVE - 2.3.2.2 Ensure Time Is Set Within Appropriate Limits


UPDATE:

    UPDATE - 2.6.1.2  Ensure Location Services Is in the Menu Bar
    UPDATE - 3.1 Ensure Security Auditing Is Enabled 
UPDATE - 5.1.6 Ensure No World Writable Folders Exist in the System
Folder
UPDATE - 5.7 Ensure an Administrator Account Cannot Login to Another
User's Active and Locked Session
UPDATE - 2.9.1.1 Ensure the OS Is Not Active When Resuming from Standby
(Intel)
UPDATE - 2.9.1.2 Ensure the OS Is Not Active When Resuming from Sleep
and Display Sleep (Apple Silicon)

---------

Co-authored-by: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com>
2024-10-21 15:24:36 -04:00
Josh BrowerandSharon Katz 8d27835976 CIS Update - macOS 13, CIS v2.1.0 (#21486)
Changelog

ADD:

    ADD - 2.3.3.2 Ensure the Time Service Is Enabled 
    ADD - 6.3.10 Ensure Show Status Bar Is Enabled

UPDATE:

    UPDATE - 2.6.1.2  Ensure Location Services Is in the Menu Bar
    UPDATE - 3.1 Ensure Security Auditing Is Enabled 
UPDATE - 5.7 Ensure an Administrator Account Cannot Login to Another
User's Active and Locked Session
UPDATE - 5.1.6 Ensure No World Writable Folders Exist in the System
Folder
UPDATE - 2.9.1.1 Ensure the OS Is Not Active When Resuming from Standby
(Intel)
UPDATE - 2.9.1.2 Ensure the OS Is Not Active When Resuming from Sleep
and Display Sleep (Apple Silicon)

---------

Co-authored-by: Sharon Katz <121527325+sharon-fdm@users.noreply.github.com>
2024-10-21 15:24:18 -04:00
Sam Pfluger 3dbee14cb4 Update results/be-realistic (#23059) 2024-10-21 14:12:25 -05:00
Victor Lyuboslavsky f3c18a14fe Allow Render connectionString as redis.address (#23058)
#23057 

Render provides
[connectionString](https://docs.render.com/blueprint-spec#connectionstring)
for their Redis service, which Fleet cannot take because it includes
`redis://` prefix.

Once this change is released, we can [update our
render.yaml](https://github.com/fleetdm/fleet/pull/23056/files#diff-a64cf250b418ab8feee6c682a3d8cbd3b72cf24d4a241adeaf35c98b84045f93)

# 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] Manual QA for all new/changed functionality
2024-10-21 13:49:01 -05:00
Janis Watts 348c0a23bf Handbook: Update communications.md (#23053)
# 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-21 13:41:40 -05:00
onasismunro ff97bf7ad2 Handbook: Update communications.md (#23032) 2024-10-21 13:40:13 -05:00
Eric 85bf9b6e02 Website: update hosts note on contact form (#23031)
Changes:
- Updated the note about hosts on the contact form page.
2024-10-21 13:17:49 -05:00
Victor Lyuboslavsky 476dd3cc86 Ignore --delete-other-teams for non-premium gitops (#23052)
#23050
# 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-10-21 11:20:41 -05:00
Eric fb0f69c010 Website: Fix lint errors in script (#23049)
Changes:
- Fixed the lint errors in the `test-llm-generated-sql` script
2024-10-21 10:26:41 -05:00
Noah Talerman 06bb4f708d Custom OS settings guide: Modify OS settings on macOS, iOS, iPadOS, and Windows (#23046)
Document interim best practice for modifying OS settings. Later Fleet
might add an "Edit" button in the UI so the IT admin doesn't have to add
a new profile and then remove the old.
2024-10-21 10:08:05 -05:00
Gabriel Hernandez d5689dd0fe Merge branch 'main' into feat-setup-experience 2024-10-21 12:36:50 +01:00
Gabriel Hernandez dae2977d12 better messaging for setup experience when mdm is turned off (#23008)
relates to #18508

add better messaging when apple mdm is disabled don't he setup
experience tab. This feature is currently only macos only so we have
better messaging for users about this.

<img width="841" alt="image"
src="https://github.com/user-attachments/assets/9e2c9cec-b272-4acd-8058-6d04eab055d8">

- [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-21 12:28:44 +01:00
Mike McNeil 5c3d324d3d Update test-llm-generated-sql.js (#23038) 2024-10-19 18:55:21 -05:00
Mike McNeil 2edbcb3c14 Add caveats to AI-generated SQL (#23035) 2024-10-19 18:36:55 -05:00
Mike McNeil 49f22b2836 Ask questions in natural language (#23034) 2024-10-19 18:24:50 -05:00
Eric e6a5dc3317 Update articles/ maintainer and DRI (#23025)
Changes:
- Updated the maintainer and DRI for the `articles/` folder
2024-10-18 23:12:54 -05:00
Rachael Shaw 8d58bcebd4 Add missing redirect for policies modal empty state (#23030)
Follow-up from #12292
2024-10-18 22:42:09 -05:00
Jahziel Villasana-Espinoza 050e771635 fix: remove declarations that haven't been sent yet (#22993)
> Related issue: #22976

# 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-18 15:16:58 -04:00
Sarah Gillespie 65e374c85c Fix bug in ABM token renewal flow (#22988) 2024-10-18 13:16:04 -05:00
Victor Lyuboslavsky f85b6f776f Updating golangci-lint to 1.61.0 (#22973) 2024-10-18 12:38:26 -05:00
Eric 77862664d5 Website: update CRM record creation in custom hook (#23013)
Closes: https://github.com/fleetdm/confidential/issues/8475

Changes:
- Updated the website's custom hook to not track Fleet website page view
records for new (<30 seconds old) user accounts.
2024-10-18 12:22:01 -05:00
Gabriel Hernandez e91b9a296c Fix Edge svg icon (#23012)
relates to #22954

this changes the svg icon for edge so that it removed the jank and cut
off portions


- [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-18 18:19:45 +01:00
Eric 3dda9d0252 Delete deploy-bulk-operations-dashboard workflow (#22940)
Closes: https://github.com/fleetdm/confidential/issues/8351


Changes:
- Deleted the "Deploy app to bulk operations dashboard pipeline on
Heroku" workflow. This dashboard is now hosted in Render, and deploys
are triggered manually via the Render dashboard.
2024-10-18 12:02:21 -05:00
Dante Catalfamo 6646c6d429 Setup experience state machine (#22845) 2024-10-18 12:01:53 -04:00
Mike McNeil e3cb654a7c Update demand.rituals.yml (#22975) 2024-10-18 10:04:19 -05:00
Sam Pfluger 49eb2b9fb7 Make support SLAs visible (#23001) 2024-10-18 09:43:36 -05:00
Gabriel Hernandez f66b41ef37 fix for downloading manual enrolment profile when device token is expired (#23004)
relates to #22322

Makes a fix in the UI so that we show an error message when the device
token is expired and the user tried to download the mdm enrollment
profile.

**Showing error when device token is expired and tried to download mdm
enrollment profile**
https://www.loom.com/share/6306dcf851c24d5f8916ecb2498288cb


- [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-18 14:43:05 +01:00
Gabriel Hernandez 497a0f036e fix for the enrollment page to not send back a 404 page (#22981)
makes a fix to the enroll byod handler. The hander use to be set once
when the server started but this lead to a user receiving a 404 page
after the fleet instance setup was complete but was not restarted.

now the `/enroll` handler will check for the setup requirement itself.
There is some error handling when the setup is required. if the fleet
instance has been setup, they will get the enroll byod page.

- [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.
2024-10-18 11:10:17 +01:00
EricandMike Thomas 0ec10c4e71 Website: Add sidebar nav to article template. (#22992)
Closes: #22037
Closes: #21281

Changes:
- Added a sidebar nav to article pages with 
   - links to headings (h2) in the article
   - links to /guides, /docs, and the REST API documentation
   - links to share the article on Twitter, LinkedIn, and Hacker News.

---------

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2024-10-18 15:48:07 +09:00
Eric 726889bed1 Website: Add search to article category page. (#22997)
Closes: #22952

Changes:
- Removed the categories from the article landing page.
- Updated the announcements article category page and article landing
page to have a search bar
2024-10-18 14:54:30 +09:00
dependabot[bot] db30ee1bd5 Bump markdown-to-jsx from 7.2.0 to 7.5.0 (#22935) 2024-10-17 18:31:28 -05:00