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
Commit 163f889
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): send the CI gate the filters the findings endpoints implement
The gate sent `severity=critical` lower-case and `status=open` to all
seven scanner endpoints. /cspm/findings binds severity straight into
`severity_label = $N::severity_level` and the Postgres severity_level
enum labels are upper-case, so every CSPM request 500'd and the
pre-existing `apiErrors > 0` branch returned ExitNetworkError before the
gate could reach a verdict. `status` is implemented by no endpoint, so
resolved, fixed, false-positive and allowlisted findings were counted.
Build the query per endpoint from a capability table: upper-case
severity, send it only to /sast/findings and /cspm/findings, and send
isResolved=false where the endpoint implements it. Endpoints with no
server-side severity filter are queried once instead of once per
severity, and say so in their FAIL line rather than implying the
threshold was applied. `nullify status` drops its finding count, which
limit=1 capped at 1.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments