CpgFinding

data class CpgFinding(val message: String, val kind: Finding.Kind = Finding.Kind.Fail, val node: Node? = null, val relatedNodes: Nodes? = null) : Finding(source)

A CPG specific implementation of a Finding.

Constructors

Link copied to clipboard
constructor(message: String, kind: Finding.Kind = Finding.Kind.Fail, node: Node? = null, relatedNodes: Nodes? = null)

Properties

Link copied to clipboard
open override val kind: Finding.Kind
Link copied to clipboard
open override val message: String
Link copied to clipboard
val node: Node? = null
Link copied to clipboard
val relatedNodes: Nodes? = null

Functions

Link copied to clipboard
open override fun toSarif(rule: CokoRule, rules: List<CokoRule>, artifacts: Map<Path, Artifact>?): Result