We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc2640 commit 42964f9Copy full SHA for 42964f9
csaf_2_1/mandatoryTests/mandatoryTest_6_1_26.js
@@ -34,7 +34,7 @@ const profileValues = [
34
'csaf_withdrawn',
35
'csaf_superseded',
36
]
37
-const otherProfileValues = [
+const prohibitedDocumentCategoryNames = [
38
'securityincidentresponse',
39
'informationaladvisory',
40
'securityadvisory',
@@ -82,7 +82,9 @@ export function mandatoryTest_6_1_26(doc) {
82
83
// Fail on name similarity
84
if (
85
- otherProfileValues.includes(category.replace(/[_-\s]+/g, '').toLowerCase())
+ prohibitedDocumentCategoryNames.includes(
86
+ category.replace(/[_-\s]+/g, '').toLowerCase()
87
+ )
88
) {
89
ctx.isValid = false
90
ctx.errors.push({
0 commit comments