mirror of
https://github.com/openai/codex-security.git
synced 2026-11-26 18:48:07 +08:00
fix: record findings held back by the reportable severity gate report.md filters findings to REPORTABLE_SEVERITIES, which excludes informational. A scan whose findings are all informational therefore sealed them into findings.json and exported them to SARIF and CSV while the human-facing report stated that no findings survived the discovery, validation and reportability gates. The three artifacts of one scan contradicted each other, and the one a person reads was the one missing data. The exclusion itself is deliberate -- src/cli.ts draws the same line for --fail-on-severity and keeps a separate DISPLAY_SEVERITIES that adds informational -- so the report keeps its reportable-only body. It now records how many findings were held back, with their severity mix, and points at the artifacts that retain them. references/final-report.md described the ordering as critical through low without stating that informational is dropped, so it now says so. Fixes #48 Co-authored-by: mldangelo-oai <mdangelo@openai.com> Co-authored-by: mldangelo-oai <269034524+mldangelo-oai@users.noreply.github.com>