You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declared license curations are correectly parsed into the resolved_configuration section of analyzer report, but the declared license is still represented as the original value and a rule violation is shown in the report (both webapp and html).
fun RuleSet.unmappedDeclaredLicenseRule() = packageRule("UNMAPPED_DECLARED_LICENSE") {
pkg.metadata.declaredLicensesProcessed.unmapped.forEach { unmappedLicense ->
error(
"The declared license '$unmappedLicense' could not be mapped to a valid license or parsed as an SPDX " +
"expression. The license was found in package ${pkg.metadata.id.toCoordinates()}.",
""
)
}
}
Declared license curations are correectly parsed into the
resolved_configuration
section of analyzer report, but the declared license is still represented as the original value and a rule violation is shown in the report (both webapp and html).To reproduce:
resolved_configuration
sectionUNMAPPED_DECLARED_LICENSE
is triggered in the scan report.The text was updated successfully, but these errors were encountered: