Package io.forgeai.jenkins.reports
Class ForgeAISarifGenerator
java.lang.Object
io.forgeai.jenkins.reports.ForgeAISarifGenerator
Writes findings as SARIF 2.1.0, the standard static-analysis interchange format, so they can be shown
by tools such as the Warnings NG plugin or GitHub code scanning.
Only findings with a file location are included: SARIF consumers anchor results to source, and GitHub code scanning rejects a whole upload when a result has no location. Findings without a file remain in the HTML report.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringgenerate(List<AnalysisResult> results) static longlocatedFindings(List<AnalysisResult> results) Number of findingsgenerate(java.util.List<io.forgeai.jenkins.reports.AnalysisResult>)will include, i.e.
-
Field Details
-
SCHEMA
- See Also:
-
-
Method Details
-
generate
-
locatedFindings
Number of findingsgenerate(java.util.List<io.forgeai.jenkins.reports.AnalysisResult>)will include, i.e. those with a usable file location.
-