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

[BEEEP][PM-16921] Improve validation tax information when subscribing to pre… #5247

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jonashendrickx
Copy link
Member

@jonashendrickx jonashendrickx commented Jan 10, 2025

…mium

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-16921

📔 Objective

📸 Screenshots

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 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

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 2.94118% with 33 lines in your changes missing coverage. Please review.

Project coverage is 44.32%. Comparing base (ce2ecf9) to head (cb0b705).
Report is 64 commits behind head on main.

Files with missing lines Patch % Lines
...e/Services/Implementations/StripePaymentService.cs 0.00% 23 Missing ⚠️
src/Api/Auth/Controllers/AccountsController.cs 0.00% 6 Missing ⚠️
...Api/Models/Request/Accounts/PremiumRequestModel.cs 20.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5247      +/-   ##
==========================================
+ Coverage   43.77%   44.32%   +0.54%     
==========================================
  Files        1483     1482       -1     
  Lines       68569    68376     -193     
  Branches     6212     6171      -41     
==========================================
+ Hits        30016    30307     +291     
+ Misses      37243    36761     -482     
+ Partials     1310     1308       -2     

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

Copy link
Contributor

github-actions bot commented Jan 10, 2025

Logo
Checkmarx One – Scan Summary & Detailsc771fe41-abfd-48c0-b3a5-e41ada6bebbe

New Issues (6)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
MEDIUM CSRF /src/Api/Tools/Controllers/SendsController.cs: 193
detailsMethod PostFile at line 193 of /src/Api/Tools/Controllers/SendsController.cs gets a parameter from a user request from PostFile. This parameter val...
Attack Vector
LOW Log_Forging /src/Api/Auth/Controllers/AccountsController.cs: 639
detailsMethod PostPremium at line 639 of /src/Api/Auth/Controllers/AccountsController.cs gets user input from element model. This element’s value flows th...
Attack Vector
LOW Log_Forging /src/Api/Auth/Controllers/AccountsController.cs: 639
detailsMethod PostPremium at line 639 of /src/Api/Auth/Controllers/AccountsController.cs gets user input from element model. This element’s value flows th...
Attack Vector
LOW Log_Forging /src/Api/Auth/Controllers/AccountsController.cs: 639
detailsMethod PostPremium at line 639 of /src/Api/Auth/Controllers/AccountsController.cs gets user input from element model. This element’s value flows th...
Attack Vector
LOW Log_Forging /src/Api/AdminConsole/Controllers/OrganizationsController.cs: 170
detailsMethod Post at line 170 of /src/Api/AdminConsole/Controllers/OrganizationsController.cs gets user input from element model. This element’s value fl...
Attack Vector
LOW Log_Forging /src/Api/AdminConsole/Controllers/OrganizationsController.cs: 185
detailsMethod CreateWithoutPaymentAsync at line 185 of /src/Api/AdminConsole/Controllers/OrganizationsController.cs gets user input from element model. Th...
Attack Vector
Fixed Issues (9)

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

Severity Issue Source File / Package
MEDIUM CSRF /src/Api/Tools/Controllers/OrganizationExportController.cs: 53
MEDIUM CSRF /src/Api/Auth/Controllers/AccountsController.cs: 470
MEDIUM CSRF /src/Api/Auth/Controllers/AccountsController.cs: 845
LOW Heap_Inspection /src/Core/Constants.cs: 168
LOW Heap_Inspection /src/Core/Constants.cs: 167
LOW Log_Forging /src/Billing/Controllers/StripeController.cs: 164
LOW Log_Forging /src/Billing/Controllers/RecoveryController.cs: 38
LOW Use_Of_Hardcoded_Password /src/Core/Constants.cs: 168
LOW Use_Of_Hardcoded_Password /src/Core/Constants.cs: 167

@rr-bw rr-bw requested review from ike-kottlowski and removed request for rr-bw January 10, 2025 18:28
ike-kottlowski
ike-kottlowski previously approved these changes Jan 10, 2025
@jonashendrickx jonashendrickx changed the title [BEEEP][PM-26932] Improve validation tax information when subscribing to pre… [BEEEP][PM-16932] Improve validation tax information when subscribing to pre… Jan 20, 2025
@jonashendrickx jonashendrickx changed the title [BEEEP][PM-16932] Improve validation tax information when subscribing to pre… [BEEEP][PM-16921] Improve validation tax information when subscribing to pre… Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants