@( projectsWithSelection: ProjectsWithSelection, vulnerableDependencies: Seq[GroupedDependency], allDependenciesCount: Int, dependenciesWithSuppressedVulnerabilitiesOnlyCount: Int, reports: DependencyCheckReportsParser.Result )(implicit header: DefaultRequest, mainTemplateData: MainTemplateData) @main( title = s"Vulnerable libraries for ${projectsWithSelection.projectNameText} (${vulnerableDependencies.size} deps, ${vulnerableDependencies.flatMap(_.cpeIdentifiers.map(_.toCpeIdentifierOption.get)).toSet.size} CPEs)", projectsOption = Some((projectsWithSelection, routes.Statistics.vulnerableLibraries(_))) ){ @healthReport(reports.failedProjects)
Libraries are sorted:
Note that the number of affected projects is calculated from the current view, not from all projects (unless all projects are selected).