-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport_methods.schema.json
60 lines (60 loc) · 2.03 KB
/
report_methods.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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://democert.org/cvd/report_methods.schema.json",
"title": "Results or response to a vendor search by a security researcher",
"description": "Results presented to a Vulnerability reporting discovery search for a vendor and product and version following CERT Coordinated Vulnerability Disclosure (CVD) guide 2021.08.1101",
"type": "object",
"properties": {
"document_type": {
"type": "string",
"description": "A string representing the type of document that is being considered. Default report gives CERT's contact when no vendor-product matches in CERT's directory",
"enum": ["report_methods","default_report"]
},
"version": {
"type": "string",
"description": "Version of the vendor search protocol submitted",
"example": "1.0.0"
},
"title": {
"type": "string",
"description": "Optional title given to your search performed",
"example": "Search to report buffer overflow in Apache/httpd/2.0.1"
},
"stakeholders": {
"$ref": "https://democert.org/cvd/contacts.schema.json#/definitions/contacts"
},
"inputs": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"properties": {
"vendor_search_string": {
"type": "string",
"description": "Vendor value provided by the search"
},
"product_search_string": {
"type": "string",
"description": "Product value provided by the search"
},
"version_search_string": {
"type": "string",
"description": "Version value provided by the search"
}
}
},
"required": ["vendor_search_string","product_search_string"]
},
"input_schema": {
"type": "string",
"format": "uri",
"description": "Full URI of the schema used for search submission"
},
"timestamp": {
"type": "integer",
"description": "UTC Timestamp in unix epoch of when the search was performed"
}
},
"required": [ "document_type","version","stakeholders","inputs",
"input_schema", "timestamp"]
}