SarifReportFactory

class SarifReportFactory @Inject constructor(    val websiteUrl: SourceWebsiteUrlProvider,     val moduleCheckVersion: ModuleCheckVersionProvider,     val projectRoot: ProjectRoot)

Constructors

Link copied to clipboard
@Inject
fun SarifReportFactory(    websiteUrl: SourceWebsiteUrlProvider,     moduleCheckVersion: ModuleCheckVersionProvider,     projectRoot: ProjectRoot)

Functions

Link copied to clipboard
fun create(findingResults: List<Finding.FindingResult>, rules: List<ModuleCheckRule<*>>): String
Link copied to clipboard
private fun ModuleCheckRule<*>.toSarifRule(): SarifRule

Properties

Link copied to clipboard
private val moduleCheckVersion: ModuleCheckVersionProvider
Link copied to clipboard
private val projectRoot: ProjectRoot
Link copied to clipboard
private val websiteUrl: SourceWebsiteUrlProvider

Sources

Link copied to clipboard