Skip to content

Commit 802515c

Browse files
committed
Document comment-based ignore behavior differences
Signed-off-by: lelia <2418071+lelia@users.noreply.github.com>
1 parent 417d747 commit 802515c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/cli-reference.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,9 @@ When `--enable-gitlab-security` (or `--enable-json` / `--enable-sarif`) is used
753753
- Ensure the report file follows the correct schema format
754754
755755
**Empty vulnerabilities array:**
756-
- This is normal if no new security issues were detected in diff mode
757-
- For full scans, ensure you are using `--enable-gitlab-security` so alert data is fetched
756+
- The GitLab report includes both new and existing alerts, so repeated scans of the same repo should still populate the report as long as Socket detects actionable issues
757+
- If the report is empty, verify the Socket dashboard shows alerts for the scanned packages -- an empty report means no error/warn-level alerts exist
758+
- For full scans (non-diff mode), ensure you are using `--enable-gitlab-security` so alert data is fetched
758759
- Check Socket.dev dashboard for full analysis details
759760
760761
## Development

0 commit comments

Comments
 (0)