vrt 0.12.2 → 0.12.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/data/1.12/deprecated-node-mapping.json +236 -0
- data/lib/data/1.12/mappings/cvss_v3/cvss_v3.json +1280 -0
- data/lib/data/1.12/mappings/cvss_v3/cvss_v3.schema.json +59 -0
- data/lib/data/1.12/mappings/cwe/cwe.json +668 -0
- data/lib/data/1.12/mappings/cwe/cwe.schema.json +63 -0
- data/lib/data/1.12/mappings/remediation_advice/remediation_advice.json +1850 -0
- data/lib/data/1.12/mappings/remediation_advice/remediation_advice.schema.json +75 -0
- data/lib/data/1.12/third-party-mappings/remediation_training/secure-code-warrior-links.json +400 -0
- data/lib/data/1.12/vrt.schema.json +63 -0
- data/lib/data/1.12/vulnerability-rating-taxonomy.json +2493 -0
- data/lib/vrt/version.rb +1 -1
- metadata +12 -2
@@ -0,0 +1,63 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"title": "VRT to CWE Mapping",
|
4
|
+
"description": "Mapping from the Vulnerability Rating Taxonomy to CWE",
|
5
|
+
"definitions": {
|
6
|
+
"MappingMetadata": {
|
7
|
+
"type": "object",
|
8
|
+
"properties": {
|
9
|
+
"default": { "type": "null" }
|
10
|
+
},
|
11
|
+
"required": ["default"]
|
12
|
+
},
|
13
|
+
"VRTid": { "type": "string", "pattern": "^[a-z_]*$" },
|
14
|
+
"CWE": { "type" : [ "array", "null" ],
|
15
|
+
"items" : { "type": "string", "pattern": "^CWE-[0-9]*$" },
|
16
|
+
"minItems": 1,
|
17
|
+
"uniqueItems": true
|
18
|
+
},
|
19
|
+
"Mapping": {
|
20
|
+
"type": "object",
|
21
|
+
"properties": {
|
22
|
+
"id": { "$ref": "#/definitions/VRTid" },
|
23
|
+
"cwe" : { "$ref": "#/definitions/CWE" }
|
24
|
+
},
|
25
|
+
"required": ["id", "cwe"],
|
26
|
+
"additionalProperties": false
|
27
|
+
},
|
28
|
+
"MappingParent": {
|
29
|
+
"type": "object",
|
30
|
+
"properties": {
|
31
|
+
"id": { "$ref": "#/definitions/VRTid" },
|
32
|
+
"children": {
|
33
|
+
"type": "array",
|
34
|
+
"items" : {
|
35
|
+
"anyOf": [
|
36
|
+
{ "$ref": "#/definitions/MappingParent" },
|
37
|
+
{ "$ref": "#/definitions/Mapping" }
|
38
|
+
]
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"cwe" : { "$ref": "#/definitions/CWE" }
|
42
|
+
},
|
43
|
+
"required": ["id", "children"],
|
44
|
+
"additionalProperties": false
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"type": "object",
|
48
|
+
"required": ["metadata", "content"],
|
49
|
+
"properties": {
|
50
|
+
"metadata": {
|
51
|
+
"$ref": "#/definitions/MappingMetadata"
|
52
|
+
},
|
53
|
+
"content": {
|
54
|
+
"type": "array",
|
55
|
+
"items" : {
|
56
|
+
"anyOf": [
|
57
|
+
{ "$ref": "#/definitions/MappingParent" },
|
58
|
+
{ "$ref": "#/definitions/Mapping" }
|
59
|
+
]
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|