chore(security): switch mend check to full repo baseline scan#591
Conversation
|
|
View your CI Pipeline Execution ↗ for commit cadeae1
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
commit: |
vatsalparikh
left a comment
There was a problem hiding this comment.
Tested with Login Framework PR. Changing diff to baseline shows mend security issues in the current PR. Thank you so much, Gabriel!
Summary
Switches the Mend (WhiteSource) security check from diff mode to baseline mode, so PR checks report the full repo vulnerability inventory instead of only new vulnerabilities introduced by the diff.
Changes
.whitesourcecheckRunSettings.displayMode—"diff"→"baseline". Only this setting changed; severity thresholds and SAST config untouched.Tests
How to test
1. Confirm config change
Check
.whitesourcein this PR —checkRunSettings.displayModeshould read"baseline".2. Verify on a future PR (not this one)
Important: Mend reads
.whitesourcefrom the base branch, not the PR branch. This PR's own Mend check will still run in diff mode ("did not find any new vulnerabilities", "Base branch total remaining vulnerabilities: N") because the base branch config hasn't changed yet. Thebaselinebehavior only takes effect once this PR merges — verify it on the next PR opened afterward: the Mend check should report total vulnerabilities across the whole repo instead of a diff-only summary.Reference: Mend docs — displayMode / Build Settings