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
{{ message }}
Repository navigation
### JSON report totalIssues reflects capped count, not actual #3178
JSON report totalIssues reflects capped count, not actual
Medium Severity
When --max-problems is set, generateReport passes only the capped prioritized slice to outputJsonFormat. Inside that formatter, totalIssues: problems.length then reflects the capped count rather than the true total. The table format correctly receives all problems for counting and only the capped set for display, but JSON and SARIF consumers see a totalIssues that understates the real problem count, with no way to know problems were hidden.
Activity