Skip to content

Map `none` level SARIF findings to `info`

James Liu requested to merge jliu-sarif-map-unknown-info into main

What does this MR do?

Changes the severity mapping logic when transforming a SARIF report into the gl-sast-report.json format. Instead of mapping none level findings to "unknown", we map them to "info".

This primarily addresses a problem in Kics, which downgrades info level findings to none when producing a SARIF report. The change should have no impact to Semgrep, as it doesn't map any findings to none.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Lucas Charles

Merge request reports