Skip to content

Commit 7df1592

Browse files
feat(CSAF2.1): #339 mandatory test 6.1.27.14 - changed path instancePath to /document/notes, move 6.1.27.14 to in README to supported tests
1 parent dcb3cec commit 7df1592

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ The following tests are not yet implemented and therefore missing:
317317
- Mandatory Test 6.1.16
318318
- Mandatory Test 6.1.27.12
319319
- Mandatory Test 6.1.27.13
320-
- Mandatory Test 6.1.27.14
321320
- Mandatory Test 6.1.27.15
322321
- Mandatory Test 6.1.27.16
323322
- Mandatory Test 6.1.27.17
@@ -422,6 +421,7 @@ export const mandatoryTest_6_1_27_8: DocumentTest
422421
export const mandatoryTest_6_1_27_9: DocumentTest
423422
export const mandatoryTest_6_1_27_10: DocumentTest
424423
export const mandatoryTest_6_1_27_11: DocumentTest
424+
export const mandatoryTest_6_1_27_14: DocumentTest
425425
export const mandatoryTest_6_1_28: DocumentTest
426426
export const mandatoryTest_6_1_29: DocumentTest
427427
export const mandatoryTest_6_1_30: DocumentTest

csaf_2_1/mandatoryTests/mandatoryTest_6_1_27_14.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function mandatoryTest_6_1_27_14(doc) {
6161
if (!doc.document.notes?.find((n) => n.category === 'description')) {
6262
ctx.isValid = false
6363
ctx.errors.push({
64-
instancePath: `/document`,
64+
instancePath: '/document/notes',
6565
message: 'needs at least one note with the category "description"',
6666
})
6767
}

0 commit comments

Comments
 (0)