Skip to content

Commit be1e3ed

Browse files
authored
Merge pull request #3383 from CVEProject/int
12/18 int to main merge
2 parents 114f5ff + c300227 commit be1e3ed

8 files changed

Lines changed: 207 additions & 118 deletions

File tree

src/assets/data/CNAsList.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24744,7 +24744,7 @@
2474424744
{
2474524745
"shortName": "CEP",
2474624746
"cnaID": "CNA-2024-0087",
24747-
"organizationName": "CEPHEID",
24747+
"organizationName": "Cepheid",
2474824748
"scope": "Cepheid products",
2474924749
"contact": [
2475024750
{

src/assets/data/news.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,36 +30,36 @@
3030
"description": [
3131
{
3232
"contentnewsType": "paragraph",
33-
"content": "<a href='/PartnerInformation/ListofPartners/partner/S21sec'>CS21sec Cyber Solutions by Thales</a> is now a <a href='/ResourcesSupport/Glossary?activeTerm=glossaryCNA'>CVE Numbering Authority (CNA)</a> for vulnerabilities discovered by S21sec that are not within another CNA’s scope."
33+
"content": "<a href='/PartnerInformation/ListofPartners/partner/S21sec'>S21sec Cyber Solutions by Thales</a> is now a <a href='/ResourcesSupport/Glossary?activeTerm=glossaryCNA'>CVE Numbering Authority (CNA)</a> for vulnerabilities discovered by S21sec that are not within another CNA’s scope."
3434
},
3535
{
3636
"contentnewsType": "paragraph",
37-
"content": "To date, <a href='/PartnerInformation/ListofPartners'>431 CNAs</a> (429 CNAs and 2 CNA-LRs) from <a href='/ProgramOrganization/CNAs'>40 countries</a> and 1 no country affiliation have partnered with the CVE Program. CNAs are organizations from around the world that are authorized to assign <a href='/ResourcesSupport/Glossary?activeTerm=glossaryCVEID'>CVE Identifiers (CVE IDs)</a> and publish <a href='/ResourcesSupport/Glossary?activeTerm=glossaryRecord'>CVE Records</a> for vulnerabilities affecting products within their distinct, agreed-upon scope, for inclusion in first-time public announcements of new vulnerabilities. CS21sec is the 7th CNA from Spain."
37+
"content": "To date, <a href='/PartnerInformation/ListofPartners'>431 CNAs</a> (429 CNAs and 2 CNA-LRs) from <a href='/ProgramOrganization/CNAs'>40 countries</a> and 1 no country affiliation have partnered with the CVE Program. CNAs are organizations from around the world that are authorized to assign <a href='/ResourcesSupport/Glossary?activeTerm=glossaryCVEID'>CVE Identifiers (CVE IDs)</a> and publish <a href='/ResourcesSupport/Glossary?activeTerm=glossaryRecord'>CVE Records</a> for vulnerabilities affecting products within their distinct, agreed-upon scope, for inclusion in first-time public announcements of new vulnerabilities. S21sec is the 7th CNA from Spain."
3838
},
3939
{
4040
"contentnewsType": "paragraph",
41-
"content": "CS21sec’s Root is the <a href='/PartnerInformation/ListofPartners/partner/mitre'>MITRE Top-Level Root</a>."
41+
"content": "S21sec’s Root is the <a href='/PartnerInformation/ListofPartners/partner/mitre'>MITRE Top-Level Root</a>."
4242
}
4343
]
4444
},
4545
{
4646
"id": 458,
4747
"newsType": "news",
48-
"title": "CEPHEID Added as CVE Numbering Authority (CNA)",
48+
"title": "Cepheid Added as CVE Numbering Authority (CNA)",
4949
"urlKeywords": "CEPHEID Added as CNA",
5050
"date": "2024-12-17",
5151
"description": [
5252
{
5353
"contentnewsType": "paragraph",
54-
"content": "<a href='/PartnerInformation/ListofPartners/partner/CEP'>CEPHEID</a> is now a <a href='/ResourcesSupport/Glossary?activeTerm=glossaryCNA'>CVE Numbering Authority (CNA)</a> for Cepheid products."
54+
"content": "<a href='/PartnerInformation/ListofPartners/partner/CEP'>Cepheid</a> is now a <a href='/ResourcesSupport/Glossary?activeTerm=glossaryCNA'>CVE Numbering Authority (CNA)</a> for Cepheid products."
5555
},
5656
{
5757
"contentnewsType": "paragraph",
58-
"content": "To date, <a href='/PartnerInformation/ListofPartners'>430 CNAs</a> (428 CNAs and 2 CNA-LRs) from <a href='/ProgramOrganization/CNAs'>40 countries</a> and 1 no country affiliation have partnered with the CVE Program. CNAs are organizations from around the world that are authorized to assign <a href='/ResourcesSupport/Glossary?activeTerm=glossaryCVEID'>CVE Identifiers (CVE IDs)</a> and publish <a href='/ResourcesSupport/Glossary?activeTerm=glossaryRecord'>CVE Records</a> for vulnerabilities affecting products within their distinct, agreed-upon scope, for inclusion in first-time public announcements of new vulnerabilities. CEPHEID is the 233rd CNA from USA."
58+
"content": "To date, <a href='/PartnerInformation/ListofPartners'>430 CNAs</a> (428 CNAs and 2 CNA-LRs) from <a href='/ProgramOrganization/CNAs'>40 countries</a> and 1 no country affiliation have partnered with the CVE Program. CNAs are organizations from around the world that are authorized to assign <a href='/ResourcesSupport/Glossary?activeTerm=glossaryCVEID'>CVE Identifiers (CVE IDs)</a> and publish <a href='/ResourcesSupport/Glossary?activeTerm=glossaryRecord'>CVE Records</a> for vulnerabilities affecting products within their distinct, agreed-upon scope, for inclusion in first-time public announcements of new vulnerabilities. Cepheid is the 233rd CNA from USA."
5959
},
6060
{
6161
"contentnewsType": "paragraph",
62-
"content": "CEPHEID’s Root is the <a href='/PartnerInformation/ListofPartners/partner/icscert'>Cybersecurity and Infrastructure Security Agency (CISA) Industrial Control Systems (ICS) Root</a>."
62+
"content": "Cepheid’s Root is the <a href='/PartnerInformation/ListofPartners/partner/icscert'>Cybersecurity and Infrastructure Security Agency (CISA) Industrial Control Systems (ICS) Root</a>."
6363
}
6464
]
6565
},

src/components/PrimaryNavigation.vue

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,33 @@
126126
</div>
127127
<div class="navbar-item cve-secondary-navbar-item cve-keyword-search">
128128
<div v-if="searchType">
129-
<span class="icon-text mr-2" style="font-size: 14px">
130-
<router-link to="/ResourcesSupport/FAQs#pc_cve_list_basicssearch_cve" class="cve-dark-blue-text">
131-
Access Search Tips
129+
<p>
130+
<span class="icon-text cve-dark-blue-text" style="font-size: 14px">
131+
<router-link to="/ResourcesSupport/FAQs#pc_cve_list_basicssearch_cve" class="cve-dark-blue-text" style="font-size: 14px">
132+
Search tips
132133
</router-link>
134+
<span class="icon">
135+
<p id="lightBulbIcon" class="is-hidden">
136+
lightbulb
137+
</p>
138+
<font-awesome-icon :icon="['fas', 'lightbulb']" aria-labelledby="lightBulbIcon" aria-hidden="false"/>
139+
</span>
140+
</span>
141+
<span class="has-text-black ml-2 mr-2">|</span>
142+
<span class="icon-text cve-dark-blue-text" style="font-size: 14px">
143+
<span>
144+
<a href="https://forms.office.com/g/qmmTaYnr5y" target="_blank" class="cve-dark-blue-text" style="font-size: 14px">
145+
Provide feedback
146+
</a>
147+
<span class="icon cve-icon-xxs">
148+
<p id="externalSurveyLink" class="is-hidden">
149+
Survey opens in a new tab or window depending on browser settings
150+
</p>
151+
<font-awesome-icon icon="external-link-alt" aria-labelledby="extenalSurveyLink" aria-hidden="false"/>
152+
</span>
153+
</span>
133154
</span>
155+
</p>
134156
</div>
135157
</div>
136158
</div>

src/components/SearchTable.vue

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,82 @@
11
<template>
22
<div ref="tableRef" class="table-container">
3-
<table aria-live="polite" class="table cve-border-dark-blue is-striped is-hoverable" >
3+
<table aria-live="polite" class="table cve-border-dark-blue is-striped is-hoverable">
44
<thead>
55
<tr>
6-
<th v-for="(header, index) in tableHeaders" :key="index">{{header}}</th>
6+
<th v-for="(header, index) in tableHeaders" :key="index">{{ header }}</th>
77
</tr>
88
</thead>
99
<tbody>
10-
<tr v-for="(entry, index) in tableData" :key="index"
10+
<tr
11+
v-for="(entry, index) in tableData"
12+
:key="index"
1113
:id="entry.id"
1214
:ref="entry.id"
1315
v-on:click="selectRow(entry.id)"
14-
15-
v-bind:class="{'cve-term-active': selectedRow === entry.id}">
16+
v-bind:class="{ 'cve-term-active': selectedRow === entry.id }"
17+
>
1618
<td class="table-column-width">
17-
<a :href="entry.termLink" v-bind:class="{'selectTermLink': selectedRow === entry.id}" class="has-text-weight-bold termLink"> {{ entry.term }} </a>
19+
<router-link
20+
:to="'#' + entry.id"
21+
v-bind:class="{ selectTermLink: selectedRow === entry.id }"
22+
class="has-text-weight-bold termLink"
23+
>
24+
{{ entry.term }}
25+
</router-link>
1826
</td>
19-
<td v-if="renderAsHTML" class="cve-term-definition" v-html="entry.definition"> </td>
20-
<td v-else class="cve-term-definition">{{ entry.definition }} </td>
27+
<td
28+
v-if="renderAsHTML"
29+
class="cve-term-definition"
30+
v-html="entry.definition"
31+
></td>
32+
<td v-else class="cve-term-definition">{{ entry.definition }}</td>
2133
</tr>
2234
</tbody>
2335
</table>
2436
</div>
25-
</template>
26-
27-
<script>
37+
</template>
2838

29-
export default {
30-
name: "SearchTable",
31-
props: {
32-
tableData: {
33-
type: Array,
34-
required: true,
35-
},
36-
tableHeaders: {
37-
type: Array,
38-
required: true,
39-
},
40-
renderAsHTML: {
41-
type: Boolean,
42-
default: false,
43-
required: false,
44-
}
39+
<script>
40+
export default {
41+
name: "SearchTable",
42+
props: {
43+
tableData: {
44+
type: Array,
45+
required: true,
4546
},
46-
data() {
47-
return {
48-
selectedRow: null
49-
};
47+
tableHeaders: {
48+
type: Array,
49+
required: true,
5050
},
51-
mounted() {
52-
let term = null;
53-
54-
// Add active term as a hash to scroll to it then select it
55-
if (this.$route.query.activeTerm) {
56-
term = this.$route.query.activeTerm;
57-
this.$router.push({hash: "#" + term })
58-
this.selectRow(term)
59-
}
60-
// If route already has a hash, just select the term
61-
else if (this.$route.hash) {
62-
term = this.$route.hash.slice(1);
63-
this.selectRow(term)
64-
}
51+
renderAsHTML: {
52+
type: Boolean,
53+
default: false,
54+
required: false,
6555
},
66-
methods: {
67-
selectRow(rowId) {
68-
69-
this.selectedRow = (rowId === this.selectedRow ? null : rowId)
70-
}
56+
},
57+
data() {
58+
return {
59+
selectedRow: null,
60+
};
61+
},
62+
mounted() {
63+
let term = null;
64+
65+
if (this.$route.hash) {
66+
term = this.$route.hash.slice(1);
67+
this.selectRow(term);
68+
}
69+
},
70+
methods: {
71+
selectRow(rowId) {
72+
this.selectedRow = rowId;
7173
},
72-
};
73-
</script>
74-
75-
<!-- Add "scoped" attribute to limit CSS to this component only -->
76-
<style scoped lang="scss">
77-
78-
@import '@/assets/style/routerLink.scss';
74+
},
75+
};
76+
</script>
7977

78+
<!-- Add "scoped" attribute to limit CSS to this component only -->
79+
<style scoped lang="scss">
8080
@media only screen and (min-width: $desktop) {
8181
.table-column-width {
8282
width: 30% !important;
@@ -85,18 +85,18 @@
8585
8686
.cve-term-active {
8787
background-color: $theme-color-accent-cool-light !important;
88-
color: black ;
89-
padding-left: 8px;
88+
color: black;
89+
padding-left: 8px;
9090
padding-top: 5px;
9191
padding-bottom: 5px;
9292
}
93-
93+
9494
.termLink {
9595
color: $theme-color-primary;
96+
background: unset;
9697
}
9798
9899
.selectTermLink {
99100
color: black;
100101
}
101102
</style>
102-

src/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ import { library } from '@fortawesome/fontawesome-svg-core';
1717
import { fab } from '@fortawesome/free-brands-svg-icons';
1818
import {
1919
faAngleDoubleLeft, faAngleDoubleRight, faAngleLeft, faAngleRight, faArrowRight, faBlog, faBook, faCaretDown, faCaretUp, faInfoCircle, faCheckCircle,
20-
faExclamationCircle, faFileCode, faTriangleExclamation, faUpRightFromSquare, faLink, faMinus, faPassport, faPlus, faPodcast, faIdCard, faSearch,
21-
faHandshake, faUsersCog, faLaptopCode, faPoll, faTimes, faToolbox, faSitemap, faUser, faUserShield, faBullhorn, faWindowMaximize,
20+
faExclamationCircle, faFileCode, faTriangleExclamation, faUpRightFromSquare, faLightbulb, faLink, faMinus, faPassport, faPlus, faPodcast, faIdCard,
21+
faSearch, faHandshake, faUsersCog, faLaptopCode, faPoll, faTimes, faToolbox, faSitemap, faUser, faUserShield, faBullhorn, faWindowMaximize,
2222
} from '@fortawesome/free-solid-svg-icons';
2323
import { faArrowAltCircleRight, faClipboard, faNewspaper } from '@fortawesome/free-regular-svg-icons';
2424
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
2525

2626
library.add(
2727
faAngleDoubleLeft, faAngleDoubleRight, faAngleLeft, faAngleRight, faArrowRight, faBlog, faBook, faCaretDown, faCaretUp, faInfoCircle, faCheckCircle,
28-
faExclamationCircle, faFileCode, faTriangleExclamation, faUpRightFromSquare, faLink, faMinus, faPassport, faPlus, faPodcast, faIdCard, faSearch,
29-
faHandshake, faUsersCog, faLaptopCode, faPoll, faTimes, faToolbox, faSitemap, faUser, faUserShield, faBullhorn, faWindowMaximize,
28+
faExclamationCircle, faFileCode, faTriangleExclamation, faUpRightFromSquare, faLightbulb, faLink, faMinus, faPassport, faPlus, faPodcast, faIdCard,
29+
faSearch, faHandshake, faUsersCog, faLaptopCode, faPoll, faTimes, faToolbox, faSitemap, faUser, faUserShield, faBullhorn, faWindowMaximize,
3030
faArrowAltCircleRight, faClipboard, faNewspaper, fab,);
3131

3232

src/router/index.js

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,24 @@ import NotFound from '@/views/NotFound.vue';
4545

4646
const router = createRouter({
4747
history: createWebHistory(import.meta.env.BASE_URL),
48-
scrollBehavior(to) {
49-
if (to.hash) {
50-
return {
51-
el: to.hash,
52-
top: 55
53-
};
54-
}
55-
return {
56-
top: 0
57-
};
48+
scrollBehavior(to) {
49+
return new Promise((resolve) => {
50+
setTimeout(() => {
51+
if (to.hash) {
52+
resolve({
53+
el: to.hash,
54+
top: 55,
55+
behavior: "instant"
56+
});
57+
}
58+
resolve({
59+
top: 0
60+
});
61+
}, 0)
62+
63+
})
64+
65+
5866
},
5967
routes: [
6068
{
@@ -213,6 +221,12 @@ const router = createRouter({
213221
meta: {
214222
title: 'Glossary | CVE',
215223
},
224+
beforeEnter: (to) => {
225+
if (!to.hash) {
226+
const term = to.query.activeTerm;
227+
to.hash = '#' + term
228+
}
229+
},
216230
},
217231
{
218232
path: '/ResourcesSupport/FAQs',

src/views/About/Metrics.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@
293293
their last published CVE Record. For more information about vulnerability information types like CVSS and CWE, see the
294294
<router-link to="/CVERecord/UserGuide">CVE Record User Guide</router-link>.
295295
</p>
296+
<p>
297+
<span class="is-italic">NOTE: The next update of the “CNA Enrichment Recognition List” will be on January 13, 2025.</span>
298+
</p>
296299
</div>
297300
<h3 class="title">CNA Enrichment Recognition List</h3>
298301
<p class="cve-help-text"><span class="has-text-weight-bold">Last Updated: </span><time>December 16, 2024</time><br/>

0 commit comments

Comments
 (0)