Repository navigation
chore: replace secrets in test cases with constants - #4133
Conversation
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4133 +/- ##
===========================================
+ Coverage 91.21% 91.34% +0.12%
===========================================
Files 631 630 -1
Lines 33084 33041 -43
Branches 7827 7809 -18
===========================================
+ Hits 30178 30180 +2
+ Misses 2690 2655 -35
+ Partials 216 206 -10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Allure Test reports for this run are available at: |
f30c79e to
de8d65f
Compare
|
Allure Test reports for this run are available at: |
|
Allure Test reports for this run are available at: |
we will delete these files mostly not needed, but will do that later |
|
Allure Test reports for this run are available at: |
|
Allure Test reports for this run are available at: |
…/rudder-transformer into chore.mask-secrets-in-headers
|
Allure Test reports for this run are available at: |
|
Allure Test reports for this run are available at: |
|
Allure Test reports for this run are available at: |
|
Allure Test reports for this run are available at: |
|


What are the changes introduced in this PR?
What is the related Linear task?
Resolves INT-3330
Please explain the objectives of your changes below
SonarCloud raises 5000+ security issues in transformer repo. One of the reasons for this issue is hardcoded (albeit dummy) secrets in test cases.
Although this is not a severe security concern, it gets difficult to wade all the noise and find P0 security issues which might've been raised by sonarcloud.
Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?
No
Any new dependencies introduced with this change?
No
Any new generic utility introduced or modified. Please explain the changes.
Script to replace secrets in test files.
Any technical or performance related pointers to consider with the change?
No
@coderabbitai review
Developer checklist
My code follows the style guidelines of this project
No breaking changes are being introduced.
All related docs linked with the PR?
All changes manually tested?
Any documentation changes needed with this change?
Is the PR limited to 10 file changes?
Is the PR limited to one linear task?
Are relevant unit and component test-cases added in new readability format?
Reviewer checklist
Is the type of change in the PR title appropriate as per the changes?
Verified that there are no credentials or confidential data exposed with the changes.