Skip to content

Commit

Permalink
chg: [website] Improved /recent view for OpenSSF Malicious Packages v…
Browse files Browse the repository at this point in the history
…ulnerabilities.
  • Loading branch information
cedricbonhomme committed Oct 17, 2024
1 parent 478faaf commit 1a2728d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions website/web/templates/recent.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h1>Recent vulnerabilities</h1>
<th scope="col">Description</th>
<th scope="col" class="col-md-1">Publish Date</th>
<th scope="col" class="col-md-1">Update Date</th>
{% elif source == 'jvndb' %}
{% elif source in ['jvndb', 'ossf_malicious_packages'] %}
<th scope="col" class="col-md-1">ID</th>
<th scope="col">Description</th>
<th scope="col" class="col-md-1">Publish Date</th>
Expand Down Expand Up @@ -130,7 +130,9 @@ <h1>Recent vulnerabilities</h1>
<th scope="row">
<a href="{{url_for('home_bp.vulnerability_view', vulnerability_id=vuln_id)}}">{{vuln_id}}</a>
</th>
<td>{{vuln['details']}}</td>
<td>{{ vuln['summary'] }}</td>
<td class="datetime" title="{{ vuln['published'] }}">{{ vuln['published'] }}</td>
<td class="datetime" title="{{ vuln['modified'] }}">{{ vuln['modified'] }}</td>
</tr>
{% elif 'csaf_' in source %}
<tr>
Expand All @@ -154,7 +156,7 @@ <h1>Recent vulnerabilities</h1>
</th>
<td>{{ vuln['document']['title'] }}</td>
</tr>
{% elif source == "gsd"%}
{% elif source == "gsd" %}
<tr>
<th scope="row">
<a href="{{url_for('home_bp.vulnerability_view', vulnerability_id=vuln_id)}}">{{vuln_id}}</a>
Expand Down

0 comments on commit 1a2728d

Please sign in to comment.