Skip to content

Commit 4cc622e

Browse files
authored
Merge pull request #3118 from CVEProject/jd-2955-active
Resolves #2955 Added red badge styling to Active SSVCs
2 parents 27b91cd + 747230a commit 4cc622e

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/components/AdpVulnerabilityEnrichment.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@
5656
</thead>
5757
<tbody>
5858
<tr v-for="ssvc in ssvcs" :key="ssvc.key">
59-
<td data-label="Exploitation" style="width: 20%">{{ ssvc.exploitation }}</td>
59+
<td data-label="Exploitation" style="width: 20%">
60+
<span :class="{'is-danger tag has-text-weight-bold is-uppercase' : ssvc.exploitation.toLowerCase() === 'active'}">
61+
{{ ssvc.exploitation }}
62+
</span>
63+
</td>
6064
<td data-label="Automatable" style="width: 10%">{{ ssvc.automatable }}</td>
6165
<td data-label="Technical Impact" style="width: 30%">{{ ssvc['technical impact'] }}</td>
6266
<td data-label="Version" style="width: 10%">{{ ssvc.version }}</td>

src/views/CVERecord/RejectedRecordOrId.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
</span>
8585
</div>
8686
<p id="cve-rejected-reason" class="content has-text-justified">
87-
<span class="has-text-weight-bold">Rejected Reason:</span>
87+
<span class="has-text-weight-bold">Rejected Reason: </span>
8888
<span>
8989
<span v-if="cveFieldList.rejectedReasons.length == 0">
9090
This CVE ID was unused by the <router-link to="/ProgramOrganization/CNAs">CNA</router-link>.

0 commit comments

Comments
 (0)