Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI - Only show 'follow instructions on My device' banner for encrypted and non-escrowed Linux hosts #24277

Merged
merged 5 commits into from
Dec 3, 2024

Conversation

jacobshandling
Copy link
Contributor

@jacobshandling jacobshandling commented Dec 2, 2024

#24248

For hosts with encrypted disks that Fleet does not have a key escrowed for:

Banner shown for Linux:
Screenshot 2024-12-02 at 10 52 08 AM

but not for Windows:
Screenshot 2024-12-02 at 10 49 54 AM

  • Changes file added for user-visible changes in changes/
  • Manual QA

Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.41%. Comparing base (d7e946f) to head (319ec15).
Report is 35 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24277      +/-   ##
==========================================
- Coverage   63.41%   63.41%   -0.01%     
==========================================
  Files        1580     1580              
  Lines      150207   150212       +5     
  Branches     3730     3786      +56     
==========================================
  Hits        95259    95259              
- Misses      47354    47359       +5     
  Partials     7594     7594              
Flag Coverage Δ
frontend 52.53% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jacobshandling jacobshandling marked this pull request as ready for review December 2, 2024 18:57
@jacobshandling jacobshandling requested a review from a team as a code owner December 2, 2024 18:57
@jacobshandling jacobshandling changed the title UI - Only show 'follow my device' banner for non-escrowed Linux hosts UI - Only show 'follow instructions on My device' banner for encrypted and non-escrowed Linux hosts Dec 2, 2024
@jacobshandling
Copy link
Contributor Author

Will add some tests for these banners after higher priority P2 code/reviews

Copy link
Member

@iansltx iansltx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like component names don't match up, which is why JS tests are failing. Logic LGTM but I'll defer to @RachelElysia on approval after tests pass.

@jacobshandling
Copy link
Contributor Author

Ah, accidentally included WIP tests that I hadn't implemented yet, hence broken build – should be good now @iansltx

Copy link
Member

@iansltx iansltx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jacobshandling jacobshandling merged commit ed8c3a3 into main Dec 3, 2024
14 checks passed
@jacobshandling jacobshandling deleted the 24248 branch December 3, 2024 00:28
parsimeikoikai pushed a commit to parsimeikoikai/fleet that referenced this pull request Dec 3, 2024
…d and non-escrowed Linux hosts (fleetdm#24277)

## fleetdm#24248

For hosts with encrypted disks that Fleet does not have a key escrowed
for:

**Banner shown for Linux:**
<img width="1464" alt="Screenshot 2024-12-02 at 10 52 08 AM"
src="https://github.com/user-attachments/assets/91dd3b64-b9da-430b-9eb0-0ae30af751d8">

**but not for Windows:**
<img width="1464" alt="Screenshot 2024-12-02 at 10 49 54 AM"
src="https://github.com/user-attachments/assets/0345db0d-74f5-4608-af7b-58efae14dfea">



- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants