JoernScanResultToSarifConverter

io.shiftleft.semanticcpg.sarif.v2_1_0.JoernScanResultToSarifConverter
See theJoernScanResultToSarifConverter companion object

Convert finding node to a SARIF v2.1.0 model.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def convertFindingToReportingDescriptor(finding: Finding): Option[ReportingDescriptor]

Given a finding, will extract any rule data and create a SARIF ReportingDescriptor

Given a finding, will extract any rule data and create a SARIF ReportingDescriptor

Value parameters

finding

the finding to convert.

Attributes

Returns

a SARIF compliant reporting descriptor object if possible.

Definition Classes
override def convertFindingToResult(finding: Finding): Result

Given a finding, will convert it to the SARIF specified result.

Given a finding, will convert it to the SARIF specified result.

Value parameters

finding

the finding to convert.

Attributes

Returns

a SARIF compliant result object.

Definition Classes