Skip to content

Add identifier mapping

What does this MR do?

The output of analyzers/clangsa is parsed to SARIF using CodeChcker parse then converted to gl-sast-report with report.sarif.TransformToGLSASTReport.

There doesn't seem to be a canonical mapping from Clang Static Analyzer checkers to CWEs, so we've added a preliminary mapping configuration file with a list of CWEs for each checker. A severity field can also be added.

What are the relevant issue numbers?

clangsa-sast: implement report parser (gitlab-org/gitlab#533888 - closed) • Jason Leasure • 18.0 • On track

Does this MR meet the acceptance criteria?

Merge request reports

Loading