-
Notifications
You must be signed in to change notification settings - Fork 6
/
AospCve.schema.json
75 lines (75 loc) · 1.66 KB
/
AospCve.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"title": "AospCve",
"description": "Description of a CVE",
"type": "object",
"properties": {
"cveId": {
"title": "CVE ID",
"description": "CVE Identifier",
"type": "string"
},
"dateReported": {
"title": "Reported date",
"description": "CVE reported date",
"type": "string",
"format": "date"
},
"vulnerabilityType": {
"title": "Type",
"description": "Class of vulnerability",
"type": "string"
},
"language": {
"title": "Language",
"description": "Language of source files affected by the CVE",
"type": "string"
},
"fixes": {
"title": "Fixes informations",
"description": "Fixing commits",
"minItems": 1,
"type": "array",
"items": {
"$ref": "#/definitions/CommitInformation"
}
},
"severity": {
"title": "Severity",
"description": "CVE Impact",
"type": "string"
},
"component": {
"title": "Component",
"description": "Affected component in AOSP",
"type": "string"
}
},
"required": [
"cveId",
"fixes",
"component"
],
"definitions": {
"CommitInformation": {
"title": "CommitInformation",
"description": "Description of a commit",
"type": "object",
"properties": {
"commitId": {
"title": "Commit ID",
"description": "Hash of the commit",
"type": "string"
},
"patchUrl": {
"title": "Patch URL",
"description": "Direct link to the patch",
"type": "string"
}
},
"required": [
"commitId",
"patchUrl"
]
}
}
}