Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/mandatoryTests/mandatoryTest_6_1_26.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export default function mandatoryTest_6_1_26(doc) {
'informationaladvisory',
'securityadvisory',
'vex',
'csafsecurityincidentresponse',
'csafinformationaladvisory',
'csafsecurityadvisory',
'csafvex',
]

// Skip test if profile is not "CSAF Base" but one of the other profiles or matches exactly "csaf_base"
Expand All @@ -40,7 +44,7 @@ export default function mandatoryTest_6_1_26(doc) {
// Fail on name similarity
if (
otherProfileValues.includes(
category.replace(/[_-\s]+/g, '').toLowerCase()
category.replaceAll(/[_\-\s]+/g, '').toLowerCase()
)
) {
isValid = false
Expand Down
Loading