SarifConfig

io.shiftleft.semanticcpg.sarif.SarifConfig
See theSarifConfig companion object
case class SarifConfig(toolName: String, toolFullName: Option[String], toolInformationUri: Option[URI], organization: Option[String], semanticVersion: Option[String], sarifVersion: SarifVersion, resultConverter: ScanResultToSarifConverter, customSerializers: List[Serializer[_]])

A configuration for tool-specific information and arguments on transforming how findings are to be converted to SARIF.

Value parameters

customSerializers

Additional JSON serializers for any additional properties for Sarif derived classes.

organization

The organization or company that produced the tool component.

resultConverter

A transformer class to map from Finding nodes to a SARIF Result.

sarifVersion

The SARIF format version of the resulting log file.

semanticVersion

The tool component version in the format specified by Semantic Versioning 2.0.

toolFullName

The name of the tool component along with its version and any other useful identifying information, such as its locale.

toolInformationUri

The absolute URI at which information about this version of the tool component can be found.

toolName

The name of the tool component.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product