You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@ This will simultaneously generate:
114
114
- SARIF report to `results.sarif` (and stdout)
115
115
- GitLab Security Dashboard report to `gl-dependency-scanning-report.json`
116
116
117
-
> **Note:**`--enable-sarif` prints SARIF to stdout only. Use `--sarif-file <path>` to save to a file (this also implies `--enable-sarif`). These are independent from `--enable-gitlab-security`, which produces a separate GitLab-specific Dependency Scanning report.
117
+
> **Note:**`--enable-sarif` prints SARIF to stdout only. Use `--sarif-file <path>` to save to a file (this also implies `--enable-sarif`). Add `--sarif-reachable-only` (requires `--reach`) to filter results down to only reachable findings — useful for uploading to GitHub Code Scanning without noisy alerts on unreachable vulns. These flags are independent from `--enable-gitlab-security`, which produces a separate GitLab-specific Dependency Scanning report.
@@ -200,6 +200,7 @@ If you don't want to provide the Socket API Token every time then you can use th
200
200
| --enable-json | False | False | Output in JSON format |
201
201
| --enable-sarif | False | False | Enable SARIF output of results instead of table or JSON format (prints to stdout) |
202
202
| --sarif-file | False | | Output file path for SARIF report (implies --enable-sarif). Use this to save SARIF output to a file for upload to GitHub Code Scanning, SonarQube, VS Code, or other SARIF-compatible tools |
203
+
| --sarif-reachable-only | False | False | Filter SARIF output to only include reachable findings (requires --reach) |
0 commit comments