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 6963b41 commit 587cafbCopy full SHA for 587cafb
csaf_2_1/mandatoryTests/mandatoryTest_6_1_48.js
@@ -22,7 +22,7 @@ const inputSchema = /** @type {const} */ ({
22
optionalProperties: {
23
content: {
24
additionalProperties: true,
25
- properties: {
+ optionalProperties: {
26
ssvc_v1: {
27
28
@@ -77,7 +77,7 @@ export function mandatoryTest_6_1_48(doc) {
77
78
doc.vulnerabilities.forEach((vulnerability, vulnerabilityIndex) => {
79
vulnerability.metrics?.forEach((metric, metricIndex) => {
80
- const selections = metric.content?.ssvc_v1.selections
+ const selections = metric.content?.ssvc_v1?.selections
81
const selectionsWithRegisteredNamespace = selections?.filter(
82
(s) =>
83
s.namespace !== undefined &&
0 commit comments