Skip to content

Commit 2be85b4

Browse files
authored
Merge pull request #376 from ccoffin/develop
Add additionalProperties equal to false for the product object
2 parents 5c2da0c + a606264 commit 2be85b4

5 files changed

+9
-4
lines changed

Diff for: schema/CVE_Record_Format.json

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
]
121121
}
122122
],
123+
"additionalProperties": false,
123124
"properties": {
124125
"vendor": {
125126
"type": "string",

Diff for: schema/docs/CVE_Record_Format_bundled.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
]
169169
}
170170
],
171+
"additionalProperties": false,
171172
"properties": {
172173
"vendor": {
173174
"type": "string",
@@ -3518,4 +3519,4 @@
35183519
"additionalProperties": false
35193520
}
35203521
]
3521-
}
3522+
}

Diff for: schema/docs/CVE_Record_Format_bundled_adpContainer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
]
169169
}
170170
],
171+
"additionalProperties": false,
171172
"properties": {
172173
"vendor": {
173174
"type": "string",
@@ -3442,4 +3443,4 @@
34423443
}
34433444
},
34443445
"additionalProperties": false
3445-
}
3446+
}

Diff for: schema/docs/CVE_Record_Format_bundled_cnaPublishedContainer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
]
169169
}
170170
],
171+
"additionalProperties": false,
171172
"properties": {
172173
"vendor": {
173174
"type": "string",
@@ -3442,4 +3443,4 @@
34423443
}
34433444
},
34443445
"additionalProperties": false
3445-
}
3446+
}

Diff for: schema/docs/CVE_Record_Format_bundled_cnaRejectedContainer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
]
169169
}
170170
],
171+
"additionalProperties": false,
171172
"properties": {
172173
"vendor": {
173174
"type": "string",
@@ -3442,4 +3443,4 @@
34423443
}
34433444
},
34443445
"additionalProperties": false
3445-
}
3446+
}

0 commit comments

Comments
 (0)