Commit Graph
13072 Commits
Author SHA1 Message Date
Lucas Manuel Rodriguez ab7df5155d Use docker compose on CI instead of docker-compose (#21017)
After this is merged I'll cherry pick to `minor-fleet-4.55.0`.
2024-08-02 18:12:36 -03:00
Mike Thomas 611aeb311a website-vulnerabilty-management-fix (#20989)
Fixes for https://github.com/fleetdm/fleet/pull/20988
- Increased width of header to fix widowed text
- Reworded caption to fix widowed text and typo
2024-08-02 15:33:23 -05:00
Noah Talerman 13f68fc387 Update 🎁🗣 Feature Fest (#20962) 2024-08-02 12:58:16 -07:00
Noah Talerman 0f41fc1a8d API design: Hide "Self-service" if there's no self-service software (#20908) 2024-08-02 12:49:20 -07:00
jacobshandlingandJacob Shandling 3230a9aa54 UI – Only modify nav padding at low viewport width (#21005)
## Follow-up for #20395

Wider:
![Screenshot 2024-08-02 at 10 54
32 AM](https://github.com/user-attachments/assets/d9f66377-02e6-48be-bf3a-3cac94200379)

Narrower:
![Screenshot 2024-08-02 at 10 54
49 AM](https://github.com/user-attachments/assets/9ce7e525-2571-4f15-b29e-6da0f5fdce07)

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/` -
covered by previous PR
- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-08-02 12:44:38 -07:00
Roberto Dip b29470913a disable FileVault rotation if the server talks to an old fleetd (#21004)
for https://github.com/fleetdm/confidential/issues/7522 and part of
#13157, support map is defined as:

| | fleetd < v1.30 | fleetd >= v1.30 |
| -------------- | ---------------------------------------- |
---------------------------------------- |
| Server < 4.55 | OK/FileVault rotation uses system prompt |
OK/FileVault rotation uses system prompt |
| Server >= 4.55 | FileVault rotation disabled | Escrow Buddy |

# 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
- 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-08-02 16:06:21 -03:00
Mike Thomas 480e123ae5 Create fleet-profile-image.png (#20985)
Uploading the Fleet's default profile image for use on brand fronts.
2024-08-02 12:00:33 -07:00
Roberto Dip e7d56e9149 fix docker compose detection in fleetctl preview (#21006)
for https://github.com/fleetdm/fleet/issues/21007

CI that uses this is passing now
https://github.com/fleetdm/fleet/actions/runs/10220076886/job/28279696099

# 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-08-02 15:51:43 -03:00
Noah Talerman 39a9ec1ad6 Missing space before timestamp (#20811)
For the following bug: #20810
2024-08-02 14:28:43 -04:00
Tim Lee dc5ff724ec Bugfix: delete team 0 app (#20987)
#20986

- [X] Added/updated tests
- [X] Manual QA for all new/changed functionality
2024-08-02 15:17:47 -03:00
Lucas Manuel Rodriguez 2f479b3ba9 Release osqueryd 5.13.0 (#20949) 2024-08-02 14:57:50 -03:00
Gabriel Hernandez 209a9b29a5 Remove vpp warning banner when it has been successfuly reuploaded (#21003)
quick fix to remove the vpp warning banner when the user has
successfully uploaded a new one.
2024-08-02 18:56:25 +01:00
Dave Herder b846f90e54 Add reference to process_etw_events table (#20947) 2024-08-02 08:40:29 -07:00
Benjamin Edwards d1149a0a7d Fix decoding enrollment profiles (#20984) 2024-08-02 11:34:32 -04:00
jacobshandlingandJacob Shandling 33fa8f2fe9 UI – adjust disk encryption table style (#20981)
## #20395 

<img width="778" alt="Screenshot 2024-08-01 at 7 15 00 PM"
src="https://github.com/user-attachments/assets/26fc82c0-d3e9-4e0d-b27d-82be63711fa9">

- [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-08-02 08:24:10 -07:00
jacobshandlingandJacob Shandling 4b2c8a6f02 UI: Coordinate sibling refetches via parent state (#20973)
## #20965 


https://www.loom.com/share/52ff44615e2e41a99c129acd3d2427bf?sid=f90ead66-9730-4538-95db-a70bf971b5a8

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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-08-02 08:12:43 -07:00
Dante Catalfamo 0a15647e10 Host software deleted at remigration (#20996)
# Recreate out of order migration, replace `docker-compose` with `docker compose` in db test runner
2024-08-02 10:47:40 -04:00
RachelElysia 695801bff6 Fleet UI: Navigate between no teams tabs (#20969) 2024-08-02 09:42:49 -04:00
Gabriel Hernandez 13eb8f384e fix issue with stacking banners after VPP banner was added (#20938)
relates to #20939

fix an issue with stacking banners on the host details page after VPP
warning banner was added.

This also moves up the banner states into the app config to cut down on
code duplication on the host details page and the main content
component.

- [x] Manual QA for all new/changed functionality
2024-08-02 12:52:52 +01:00
Gabriel Hernandez 83d3c6e6be update Other Workflows modal on policy page to be disabled when the form is submitted. (#20933)
relates to #20617

Adds disabled overlay to the other workflows modal on the policy page.
This required a change to the modal component to render this new overlay
and make that accessible to the consumer via a `isContentDisabled` prop


![image](https://github.com/user-attachments/assets/84811ee1-f11f-426f-a2da-9d14c41840ab)

Also there are improvements to the my Add policy modal. It seemed to not
work with the new modal HTML structure so I fixed and improved how its
handling its scrollable content.

> NOTE: I did my own manual regression testing to make sure all the
modals still looked and worked properly but please tell me if you see
one that does not.

- [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-02 12:49:25 +01:00
Tim Lee e3c3c870c9 Ignore Rejected CVEs Test (#19974)
#18913

This is a test to ensure Rejected CVEs do not match against software.
The related PR needs to be merged first, otherwise this test will fail:

https://github.com/fleetdm/fleet/pull/19972

- [X] Added/updated tests
2024-08-02 07:33:57 -03:00
github-actions[bot]andlucasmrod b1bb4d9dd5 Update versions of fleetd components in Fleet's TUF [automated] (#20983)
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-02 06:50:22 -03:00
Mike McNeil 841518f729 Update vulnerability-management.ejs (#20988) 2024-08-02 03:05:10 -05:00
Mike Thomas 0a5ab1eb31 Footer text style fix (#20976)
Footer text style fix
2024-08-02 08:37:27 +09:00
Noah Talerman 73c7aa07b9 Luke is DRI for 🦢🍎 Apple MDM maturity review (#20960) 2024-08-01 15:25:58 -07:00
allenhouchins 9e484b46f4 fixed typo in Apple Business Manager (#20915) 2024-08-01 14:56:42 -07:00
Roberto Dip 531b25d2ac if a PKG is added as a target, always install it (#20971)
previously we were only installing on updates

fixes a bug found by @PezHub

# 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
- 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-08-01 18:15:41 -03:00
Luke Heath 45b61c5085 Change freeze process to release candidate process (#20857) 2024-08-01 13:47:17 -07:00
Eric a49c23e74b Website: update open positions template page to include a salary range (#20968)
Closes: https://github.com/fleetdm/confidential/issues/7200

Changes:
- Updated the open positions template page to include a salary range.
2024-08-01 15:24:21 -05:00
RachelElysia e2fcb44d76 Fleet UI: multiple unreleased and released bugs (#20951) 2024-08-01 15:53:43 -04:00
Dante Catalfamo bf3d849bd0 Fix Deleted Host Software Installs Details (#20820)
#20271

This fix requires an accompanying front end fix to pass the
`display_name` from the activity feed to the modal when displaying the
install results.
2024-08-01 15:41:37 -04:00
Eric d95a12bda6 Website: update homepage and endpoint ops personalization (#20961)
Closes: #20736

Changes:
- Updated the category switcher on the (buying situation agnostic)
homepage to be MDM, IT engineering and Security engineering.
- Updated the personalization of the product category sections of the
homepage
- Updated the tagline for the endpoint ops page.
2024-08-01 14:23:28 -05:00
Luke Heath 3df700b1e6 Update release script to branch off main for minor releases (#20956) 2024-08-01 12:18:59 -07:00
Mike ThomasandMike McNeil 8fb64cdd00 Banner update (#20925)
Updated the banner image on
https://github.com/fleetdm/fleet/tree/main/tools/fleetctl-npm

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2024-08-01 14:04:18 -05:00
Dante Catalfamo 7abae84be5 Use gitops format for software installer query (#20891)
#20747
2024-08-01 14:36:40 -04:00
Victor Lyuboslavsky 580a81ded5 Fixed duplicate app install activity on host (#20944)
Unreleased bug for iOS/iPadOS VPP #19447

# Checklist for submitter
- [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] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [x] Manual QA for all new/changed functionality
2024-08-01 20:32:45 +02:00
Noah Talerman a28e4d800b Supported operating systems docs (#20679)
- Google Chrome and a gnome extension have to
be installed to use Fleet Desktop + Firefox on Fedora.
- You don't have to set Google Chrome as the default browser.
2024-08-01 13:43:07 -04:00
Roberto Dip 30cbaf0a74 address PR feedback for FileVault improvements (#20935)
feedback left by @mna and @gillespi314 in
https://github.com/fleetdm/fleet/pull/20842

also fixes a bug found by @PezHub
https://github.com/fleetdm/fleet/issues/13157#issuecomment-2261615471

related to https://github.com/fleetdm/fleet/issues/13157

# 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-08-01 14:04:54 -03:00
Roberto Dip 7a4773cd0a escape % in query (#20954)
for https://github.com/fleetdm/fleet/issues/20940. Ran `make
generate-doc` as well but docs don't change with this.
2024-08-01 13:56:09 -03:00
Eric 81af71b80a Website: Update questionnaire pre-filling. (#20953)
Changes:
- Updated the /start questionnaire to not prefill the "What will you use
Fleet for?" question if the user has a primaryBuyingSituation set to
`vm`
2024-08-01 11:24:07 -05:00
jacobshandlingandJacob Shandling 2ccc0f79e7 UI – Follow-ups for iPadOS/iPadOS VPP (#20916)
## Follow ups to #20467, part 4 of #20917
- Use combination of apps' fields to uniquely identify them – [bug and
fix
demo/explanation](https://www.loom.com/share/2e5f088677604f04927bce8d9dacf8fe?sid=d946bea5-11a9-419a-b946-962829a53adc)
- Add new field to vpp `POST` requests for correct add VPP software
functionality

![Screenshot-2024-07-31-at-50131PM](https://github.com/user-attachments/assets/57c925f9-53cb-4860-b6b6-475b6d5cb2a5)

- Implement desired states for software action dropdown

![Screenshot-2024-07-31-at-45556PM](https://github.com/user-attachments/assets/b6d3db97-dea2-43bb-9662-29256e87fbf0)


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

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2024-08-01 09:17:57 -07:00
Mike ThomasandEric 08d08d5602 Homepage tagline update (#20931)
Updated homepage to include the new tagline that was settled in [this
design
review](https://us-65885.app.gong.io/call?id=186190266621232138&highlights=%5B%7B%22type%22%3A%22SHARE%22%2C%22from%22%3A2009%2C%22to%22%3A2061%7D%5D).

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-08-01 11:09:51 -05:00
Sarah Gillespie e761543262 Fix unreleased bugs related to VPP app install details UI (#20952) 2024-08-01 11:08:30 -05:00
Marko Lisica 5820d028e0 API design: Improve host identifiers in the docs, CLI and API (#19752)
API design for: #19127
2024-08-01 11:11:07 -04:00
Georg Schölly a41fb636bc Detect software from deb_packages which is 'on hold' (#20751)
The list of installed software was missing packages put ['on
hold'](https://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package)

The reason for this is that the old query looks for the status

    install ok installed

but there are other valid status which are also installed, like `hold ok
installed`. The syntax is `<desired> <error> <status>` so we only need
to look at the last or two last parts and ignore the first one.

See https://man7.org/linux/man-pages/man1/dpkg-query.1.html for a list
of status.

# Checklist for submitter

- [X] 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.
- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
2024-08-01 11:39:01 -03:00
Dante Catalfamo feb32a274a Linux Mask systemd-user-sessions (#20877)
#20370

Part 2 to #20699. Apparently `systemd` now automatically deletes
`/etc/nologin` on startup. In the previous PR, rebooting the machine
would remove the nologin file and allow users to login. This PR masks
the service that performs the deletion, preventing it from running.

The message displayed to the user will be what is specified in [this
file](https://github.com/systemd/systemd/blob/7767896d127264f660e1e8a714e5cd760840921f/tmpfiles.d/systemd-nologin.conf#L10).
It's not the best, but I suspect messing with too many systemd files
could come back to bite us in the future if things change, so I'll leave
it as-is.
2024-08-01 10:27:17 -04:00
dependabot[bot] 1dbdb57d76 Bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#20852)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from
1.64.0 to 1.64.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/grpc/grpc-go/releases">google.golang.org/grpc's
releases</a>.</em></p>
<blockquote>
<h2>Release 1.64.1</h2>
<h1>Dependencies</h1>
<ul>
<li>Update x/net/http2 to address <a
href="https://nvd.nist.gov/vuln/detail/CVE-2023-45288">CVE-2023-45288</a>
(<a
href="https://redirect.github.com/grpc/grpc-go/issues/7352">#7352</a>)</li>
<li>metadata: remove String method from MD to make printing consistent
(<a
href="https://redirect.github.com/grpc/grpc-go/issues/7374">#7374</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/grpc/grpc-go/commit/4d833de0e0ea4345c2f8333f5e1d1155f93c5222"><code>4d833de</code></a>
Change version to 1.64.1 (<a
href="https://redirect.github.com/grpc/grpc-go/issues/7381">#7381</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/e9193a42987f93cf634aedb7c6f32d607281f8c4"><code>e9193a4</code></a>
*: update deps (<a
href="https://redirect.github.com/grpc/grpc-go/issues/7375">#7375</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/ab292411ddc0f3b7a7786754d1fe05264c3021eb"><code>ab29241</code></a>
metadata: remove String method (<a
href="https://redirect.github.com/grpc/grpc-go/issues/7374">#7374</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/355b9a557b63896fc569d8be1518905eabde0026"><code>355b9a5</code></a>
Change version to 1.64.1-dev (<a
href="https://redirect.github.com/grpc/grpc-go/issues/7219">#7219</a>)</li>
<li>See full diff in <a
href="https://github.com/grpc/grpc-go/compare/v1.64.0...v1.64.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=go_modules&previous-version=1.64.0&new-version=1.64.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/fleetdm/fleet/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-01 09:17:15 -03:00
Victor Lyuboslavsky 0b2369b963 Added null checks to GoogleCalendarLowLevelAPI (#20887)
# Checklist for submitter

Fixing unreleased bug for #19352

- [x] Manual QA for all new/changed functionality
2024-08-01 07:42:38 +02:00
Mike Thomas 99fccbbffc updated archival note (#20927)
Update archive notice on deployment guides.
2024-08-01 12:05:14 +09:00
Mike Thomas bcc723cabc Maintenance windows article update (#20926)
- added a note about DDM and updated graphics (as part of
https://github.com/fleetdm/fleet/issues/20680).

cc @noahtalerman
2024-08-01 12:01:51 +09:00