|
| 1 | +<!DOCTYPE HTML> |
| 2 | +<html xmlns:th="http://www.thymeleaf.org"> |
| 3 | +<head> |
| 4 | + <title>GLVD: List vulnerabilities in image</title> |
| 5 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | + <link href="style.css" rel="stylesheet" media="screen" /> |
| 7 | +</head> |
| 8 | +<body> |
| 9 | +<h1 th:text="|Vulnerabilities list for Garden Linux image ${imageName} in version ${gardenlinuxVersion} |" /> |
| 10 | + |
| 11 | +<p th:text="|Found ${#lists.size(sourcePackageCves)} potential security issues|"></p> |
| 12 | + |
| 13 | +<table> |
| 14 | + <thead> |
| 15 | + <tr> |
| 16 | + <th>CVE ID |
| 17 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=cveId,sortOrder=ASC,onlyVulnerable=true)}">↑</a> |
| 18 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=cveId,sortOrder=DESC,onlyVulnerable=true)}">↓</a> |
| 19 | + </th> |
| 20 | + |
| 21 | + <th>CVE Base Score |
| 22 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=baseScore,sortOrder=ASC,onlyVulnerable=true)}">↑</a> |
| 23 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=baseScore,sortOrder=DESC,onlyVulnerable=true)}">↓</a> |
| 24 | + </th> |
| 25 | + |
| 26 | + <th>Vector String</th> |
| 27 | + |
| 28 | + <th>CVE Published Date |
| 29 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=cvePublishedDate,sortOrder=ASC,onlyVulnerable=true)}">↑</a> |
| 30 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=cvePublishedDate,sortOrder=DESC,onlyVulnerable=true)}">↓</a> |
| 31 | + </th> |
| 32 | + |
| 33 | + <th>CVE Last Modified Date |
| 34 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=cveLastModifiedDate,sortOrder=ASC,onlyVulnerable=true)}">↑</a> |
| 35 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=cveLastModifiedDate,sortOrder=DESC,onlyVulnerable=true)}">↓</a> |
| 36 | + </th> |
| 37 | + |
| 38 | + <th>CVE Last Ingested Date |
| 39 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=cveLastIngestedDate,sortOrder=ASC,onlyVulnerable=true)}">↑</a> |
| 40 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=cveLastIngestedDate,sortOrder=DESC,onlyVulnerable=true)}">↓</a> |
| 41 | + </th> |
| 42 | + |
| 43 | + <th>Source Package |
| 44 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=sourcePackageName,sortOrder=ASC,onlyVulnerable=true)}">↑</a> |
| 45 | + <a th:href="@{/getCveForImage(gardenlinuxVersion=${gardenlinuxVersion},imageName=${imageName},sortBy=sourcePackageName,sortOrder=DESC,onlyVulnerable=true)}">↓</a> |
| 46 | + </th> |
| 47 | + |
| 48 | + <th>Version</th> |
| 49 | + <th>Is Vulnerable?</th> |
| 50 | + <th>Vulnerability Status</th> |
| 51 | + </tr> |
| 52 | + </thead> |
| 53 | + <tr th:each="item: ${sourcePackageCves}"> |
| 54 | + <td><a th:href="@{/getCveDetails(cveId=${item.cveId})}"> <div th:text="[DETAILS]"></div> </a> <div th:text="${item.cveId}"/> </td> |
| 55 | + <td th:text="${item.baseScore}" /> |
| 56 | + <td th:text="${item.vectorString}" /> |
| 57 | + <td th:text="${item.cvePublishedDate}" /> |
| 58 | + <td th:text="${item.cveLastModifiedDate}" /> |
| 59 | + <td th:text="${item.cveLastIngestedDate}" /> |
| 60 | + <td th:text="${item.sourcePackageName}" /> |
| 61 | + <td th:text="${item.sourcePackageVersion}" /> |
| 62 | + <td th:text="${item.isVulnerable}" /> |
| 63 | + <td th:text="${item.vulnStatus}" /> |
| 64 | + </tr> |
| 65 | +</table> |
| 66 | + |
| 67 | +<h2 th:text="|CVE Contexts for Garden Linux ${gardenlinuxVersion} |" /> |
| 68 | + |
| 69 | +<table> |
| 70 | + <thead> |
| 71 | + <tr> |
| 72 | + <th>CVE ID</th> |
| 73 | + <th>Create Date</th> |
| 74 | + <th>Use-Case</th> |
| 75 | + <th>Description</th> |
| 76 | + <th>Is Resolved?</th> |
| 77 | + </tr> |
| 78 | + </thead> |
| 79 | + <tr th:each="item: ${cveContexts}"> |
| 80 | + <td><a th:href="@{/getCveDetails(cveId=${item.cveId})}"> <div th:text="[DETAILS]"></div> </a> <div th:text="${item.cveId}"/> </td> |
| 81 | + <td th:text="${item.createDate}"></td> |
| 82 | + <td th:text="${item.useCase}"></td> |
| 83 | + <td th:text="${item.description}"></td> |
| 84 | + <td th:text="${item.getResolved}"></td> |
| 85 | + </tr> |
| 86 | +</table> |
| 87 | + |
| 88 | +</body> |
| 89 | +</html> |
0 commit comments