Skip to content
Closed
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
45 changes: 42 additions & 3 deletions cve_json_schema/v5.x_discuss/cve513.schema
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,12 @@
"descriptions",
"affected",
"references"
]
],
"additionalProperties": {
"patternProperties": {
"^x_" : {}
}
}
},
"adp-container": {
"type": "object",
Expand Down Expand Up @@ -473,7 +478,12 @@
"required": [
"provider_data_meta"
],
"minProperties": 2
"minProperties": 2,
"additionalProperties": {
"patternProperties": {
"^x_" : {}
}
}
},
"containers": {
"type": "object",
Expand Down Expand Up @@ -590,8 +600,37 @@
},
"value": {
"type": "string",
"description": "Description of the vulnerability. Eg., [PROBLEMTYPE] in [COMPONENT] in [VENDOR] [PRODUCT] [VERSION] allows [ATTACKER] to [IMPACT] via [VECTOR]. OR [COMPONENT] in [VENDOR] [PRODUCT] [VERSION] [ROOT CAUSE], which allows [ATTACKER] to [IMPACT] via [VECTOR].",
"description": "Plain text description of the vulnerability. Eg., [PROBLEMTYPE] in [COMPONENT] in [VENDOR] [PRODUCT] [VERSION] allows [ATTACKER] to [IMPACT] via [VECTOR]. OR [COMPONENT] in [VENDOR] [PRODUCT] [VERSION] [ROOT CAUSE], which allows [ATTACKER] to [IMPACT] via [VECTOR].",
"minLength": 1
},
"supportingMedia": {
"type": "array",
"title": "Supporting media",
"description": "Supporting media data for the description such as markdown, diagrams, .. (optional)",
"uniqItems": true,
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"title": "Media type",
"description": "RFC2046 compliant IANA Media type for eg., text/markdown, text/html.",
"examples": ["text/markdown", "text/html", "image/png", "image/svg", "audio/mp3"]
},
"encoding": {
"type": "string",
"title": "Encoding",
"description": "Encoding used for this media eg., base64 (optional)",
"examples": ["base64", "utf8"]
},
"value": {
"type": "string",
"description": "Supporting media value",
"minLength": 1
}
}
},
"required": ["type", "value"]
}
},
"required": [
Expand Down