Repository navigation
v2.14.0
🔧 Upgrade notes
The --strict-blocking flag now sees every Block finding in your branch. Before, same-severity CVEs on a package collapsed into one, findings disappeared after a version bump, and code-only or reopened PRs passed without a comparison. With those fixed, pipelines that passed on v2.13.x could start to fail on findings that were already there.
Important
To preview what will block without failing builds, run one cycle with --strict-blocking --disable-blocking.
- Using
--strict-blockingwithout--scm: code-only runs, including default-branch pushes, now compare scans and need thefull-scans:listandrepo:listtoken scopes. See API token permissions. - Exit codes: comparisons with missing or invalid package lists exit
3. PR comment runs with no ignore commands exit0instead of3. No flags were added or removed. - Higher counts: each advisory now counts separately in JSON, SARIF and GitLab reports too.
- GitHub Actions example: now three workflows, so the required
socket-securitycheck comes only from the PR scan.- In the previous combined example, a non-blocking push run could mark CI checks green even when the PR scan failed.
- Add the push workflow in the same change, or baselines stop updating. See Required GitHub checks.
What's Changed
- Report and enforce existing alerts under
--strict-blockingby David Larsen (@dc-larsen) in #459 - Fail scan comparisons with missing or invalid package lists by David Larsen (@dc-larsen) in #461
- Check existing alerts on code-only changes with
--strict-blockingby David Larsen (@dc-larsen) in #462 - Scan reopened pull requests instead of passing them unscanned by David Larsen (@dc-larsen) in #460
- Handle GitHub comment runs without Socket ignore commands by David Larsen (@dc-larsen) in #464
- Fix package links in PR and MR security comments by David Larsen (@dc-larsen) in #465
- Clarify
--include-module-foldersand document SBOM scans by David Larsen (@dc-larsen) in #463
Full Changelog: v2.13.2...v2.14.0