Skip to content

Commit

Permalink
Add sort controls in cve distro list
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed Nov 13, 2024
1 parent 21c04fc commit a85bc0b
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions src/main/resources/templates/getCveForDistribution.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,28 @@ <h1 th:text="|Vulnerabilities list for Garden Linux ${gardenlinuxVersion}|" />
<table>
<thead>
<tr>
<th>CVE ID</th>
<th>CVE Base Score</th>
<th>CVE ID
<a th:href="@{/getCveForDistribution(gardenlinuxVersion=${gardenlinuxVersion},sortBy=cveId,sortOrder=ASC)}">&uarr;</a>
<a th:href="@{/getCveForDistribution(gardenlinuxVersion=${gardenlinuxVersion},sortBy=cveId,sortOrder=DESC)}">&darr;</a>
</th>

<th>CVE Base Score
<a th:href="@{/getCveForDistribution(gardenlinuxVersion=${gardenlinuxVersion},sortBy=baseScore,sortOrder=ASC)}">&uarr;</a>
<a th:href="@{/getCveForDistribution(gardenlinuxVersion=${gardenlinuxVersion},sortBy=baseScore,sortOrder=DESC)}">&darr;</a>
</th>

<th>Vector String</th>
<th>CVE Published Date</th>
<th>Source Package</th>

<th>CVE Published Date
<a th:href="@{/getCveForDistribution(gardenlinuxVersion=${gardenlinuxVersion},sortBy=cvePublishedDate,sortOrder=ASC)}">&uarr;</a>
<a th:href="@{/getCveForDistribution(gardenlinuxVersion=${gardenlinuxVersion},sortBy=cvePublishedDate,sortOrder=DESC)}">&darr;</a>
</th>

<th>Source Package
<a th:href="@{/getCveForDistribution(gardenlinuxVersion=${gardenlinuxVersion},sortBy=sourcePackageName,sortOrder=ASC)}">&uarr;</a>
<a th:href="@{/getCveForDistribution(gardenlinuxVersion=${gardenlinuxVersion},sortBy=sourcePackageName,sortOrder=DESC)}">&darr;</a>
</th>

<th>Version</th>
<th>Is Vulnerable?</th>
</tr>
Expand Down

0 comments on commit a85bc0b

Please sign in to comment.