Skip to content

Commit 0475246

Browse files
authored
Merge pull request #983 from nexB/982-severity-table-bug
Fix severity table column spillover
2 parents caf3354 + 1d419e1 commit 0475246

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

CHANGELOG.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Version v30.2.1
77
----------------
88

99
- We refactored and fixed the LaunchPad API code.
10-
- We now ignore qualifiers and subpath from PURL search lookups.
10+
- We now ignore qualifiers and subpath from PURL search lookups.
11+
- We fixed severity table column spillover.
1112

1213

1314
Version v30.2.0
@@ -21,7 +22,7 @@ This is a critical bug fix release including features updates.
2122
- We made minor documentation updates.
2223
- We re-enabled support for Arch linux, Debian, and Ubuntu security advisories importers
2324
- We added a new improver for Oval data sources
24-
- We improved Alpine linux and Gitlab security advisories importers
25+
- We improved Alpine linux and Gitlab security advisories importers
2526

2627
The summary of performance improvements include these fixes:
2728

@@ -68,7 +69,7 @@ This is a major version that is not backward compatible.
6869
or access the new public.vulnerablecode.io live instance. We also provide a database dump.
6970

7071
- You can track the progress of this refactoring in this issue:
71-
https://github.com/nexB/vulnerablecode/issues/597
72+
https://github.com/nexB/vulnerablecode/issues/597
7273

7374
- We added new data sources including PYSEC, GitHub and GitLab.
7475

@@ -86,7 +87,7 @@ This is a major version that is not backward compatible.
8687

8788
- in the /api/vulnerabilities/ endpoint:
8889

89-
- Rename `resolved_packages` to `fixed_packages`
90+
- Rename `resolved_packages` to `fixed_packages`
9091
- Rename `unresolved_packages` to `affected_packages`
9192
- Rename `url` to `reference_url` in the reference list
9293
- Add is_vulnerable property in fixed and affected_packages.
@@ -102,7 +103,7 @@ This is a major version that is not backward compatible.
102103
- We have provided backward compatibility for `url` and `unresolved_vulnerabilities` for now.
103104
These will be removed in the next major version and should be considered as deprecated.
104105

105-
- There is a new experimental `cpe/` API endpoint to lookup for vulnerabilities by CPE and
106+
- There is a new experimental `cpe/` API endpoint to lookup for vulnerabilities by CPE and
106107
another aliases/ endpoint to lookup for vulnerabilities by aliases. These two endpoints will be
107108
replaced by query parameters on the main vulnerabilities/ endpoint when stabilized.
108109

@@ -114,7 +115,7 @@ This is a major version that is not backward compatible.
114115
- Package endpoint will give fixed packages of only those that
115116
matches type, name, namespace, subpath and qualifiers of the package queried.
116117

117-
- Paginated initial listings to display a small number of records
118+
- Paginated initial listings to display a small number of records
118119
and provided page per size with a maximum limit of 100 records per page.
119120

120121
- Add fixed packages in vulnerabilities details in packages endpoint.
@@ -124,12 +125,12 @@ This is a major version that is not backward compatible.
124125
- Add authentication for REST API endpoint.
125126
The autentication is disabled by default and can be enabled using the
126127
VULNERABLECODEIO_REQUIRE_AUTHENTICATION settings.
127-
When enabled, users have to authenticate using
128+
When enabled, users have to authenticate using
128129
their API Key in the REST API.
129130
Users can be created using the Django "createsuperuser" management command.
130131

131132
- The data license is now CC-BY-SA-4.0 as this is the highest common
132-
denominator license among all the data sources we collect and aggregate.
133+
denominator license among all the data sources we collect and aggregate.
133134

134135
Other:
135136

vulnerabilities/templates/vulnerability_details.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,19 @@
9494
<div class="tab-nested-div">
9595
<table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth gray-header-border">
9696
<tr>
97-
<th> System </th>
97+
<th style="width: 160px;"> System </th>
9898
<th> Score </th>
9999
<th> Found at </th>
100100
</tr>
101101
{% for severity in severities %}
102102
<tr>
103-
<td>{{ severity.scoring_system }}</td>
104-
<td>{{ severity.value }}</td>
103+
<td class="wrap-strings">{{ severity.scoring_system }}</td>
104+
<td class="wrap-strings">{{ severity.value }}</td>
105105
{% if severity.reference.url %}
106-
<td><a href="{{ severity.reference.url }}" target="_blank">
107-
{{ severity.reference.url }}<i class="fa fa-external-link fa_link_custom"></i></a></td>
106+
<td class="wrap-strings"><a href="{{ severity.reference.url }}" target="_blank">
107+
{{ severity.reference.url }}<i class="fa fa-external-link fa_link_custom"></i></a></td>
108108
{% else %}
109-
<td>{{ severity.reference.reference_id }}</td>
109+
<td class="wrap-strings">{{ severity.reference.reference_id }}</td>
110110
{% endif %}
111111
</tr>
112112
{% empty %}
@@ -239,8 +239,8 @@
239239
<table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth">
240240
<thead>
241241
<tr>
242-
<th><span
243-
class="has-tooltip-multiline has-tooltip-black has-tooltip-arrow has-tooltip-text-left"
242+
<th><span
243+
class="has-tooltip-multiline has-tooltip-black has-tooltip-arrow has-tooltip-text-left"
244244
data-tooltip="The package url or purl is a URL string used to identify and locate a software package.">
245245
Package URL</span>
246246
</th>

0 commit comments

Comments
 (0)