8000 Refactor `PendingSecurityTasks` to `RefreshSecurityTasks` by nick-livefront · Pull Request #5903 · bitwarden/server · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Refactor PendingSecurityTasks to RefreshSecurityTasks #5903

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

Draft
wants to merge 1 commit into
base: vault/pm-20041/mark-task-complete
Choose a base branch
from

Conversation

nick-livefront
Copy link
Contributor
@nick-livefront nick-livefront commented Jun 2, 2025

Stacked on top of #5896, I'll leave this as a draft to rebase once that merges.

🎟️ Tracking

N/A

📔 Objective

Client PR: bitwarden/clients#15021

As a part of #5896, I utilized the PendingSecurityTasks push type to trigger a refresh of the security tasks on the clients. This is currently on the clients are utilizing the notification but now the name PendingSecurityTasks doesn't match the all of the use cases.

  • This renames PendingSecurityTasks to RefreshSecurityTasks to align for more general use cases of security task notifications.

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

- Allows for more general use case of security task notifications
Copy link
sonarqubecloud bot commented Jun 2, 2025

Copy link
Contributor
github-actions bot commented Jun 2, 2025

Logo
Checkmarx One – Scan Summary & Details2b50f047-92ec-438d-bfc2-0b198048224a

New Issues (2)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
MEDIUM CSRF /src/Api/Vault/Controllers/SecurityTaskController.cs: 63
detailsMethod Complete at line 63 of /src/Api/Vault/Controllers/SecurityTaskController.cs gets a parameter from a user request from taskId. This paramet...
ID: 02syBpb71H43HVefCNqzpWgh9WM%3D
Attack Vector
MEDIUM CSRF /src/Admin/Billing/Controllers/BusinessUnitConversionController.cs: 68
detailsMethod InitiateAsync at line 68 of /src/Admin/Billing/Controllers/BusinessUnitConversionController.cs gets a parameter from a user request from In...
ID: znykdnlIm78InzODfct0u88Wce8%3D
Attack Vector
Fixed Issues (1)

Great job! The following issues were fixed in this Pull Request

Severity Issue Source File / Package
LOW Missing_CSP_Header /src/Core/MailTemplates/Handlebars/Layouts/Full.html.hbs: 164

Copy link
codecov bot commented Jun 2, 2025

Codecov Report

Attention: Patch coverage is 42.85714% with 4 lines in your changes missing coverage. Please review.

Project coverage is 47.50%. Comparing base (f0b42cc) to head (c78a5e0).

Files with missing lines Patch % Lines
...ationHub/NotificationHubPushNotificationService.cs 0.00% 1 Missing ⚠️
...sh/Services/MultiServicePushNotificationService.cs 0.00% 1 Missing ⚠️
...ult/Commands/CreateManyTaskNotificationsCommand.cs 0.00% 1 Missing ⚠️
...mmands/MarkNotificationsForTaskAsDeletedCommand.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                          Coverage Diff                          @@
##           vault/pm-20041/mark-task-complete    #5903      +/-   ##
=====================================================================
- Coverage                              50.80%   47.50%   -3.30%     
=====================================================================
  Files                                   1670     1670              
  Lines                                  75417    75417              
  Branches                                6766     6766              
=====================================================================
- Hits                                   38316    35830    -2486     
- Misses                                 35582    38128    +2546     
+ Partials                                1519     1459      -60     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0