-
Notifications
You must be signed in to change notification settings - Fork 178
Expand file tree
/
Copy pathfindings-schema.json
More file actions
122 lines (122 loc) · 3.52 KB
/
findings-schema.json
File metadata and controls
122 lines (122 loc) · 3.52 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"$schema": "http://json-schema.org/draft-04/schema",
"type": "array",
"description": "Array of Findings.",
"items": {
"$ref": "#/$defs/finding"
},
"$defs": {
"finding": {
"type": "object",
"additionalProperties": true,
"properties": {
"id": {
"description": "The unique identifier for a Finding according to RFC4122.",
"type": "string",
"format": "uuid"
},
"identified_at": {
"description": "Date-Time when the Finding was exactly identified according to ISO8601. This information will often not be present.",
"type": "string",
"format": "date-time",
"nullable": true
},
"parsed_at": {
"description": "Date-Time when the Finding was parsed according to ISO8601. This information will always be present.",
"type": "string",
"format": "date-time"
},
"name": {
"description": "Contains a short description of the Finding.",
"type": "string"
},
"description": {
"description": "In depth description, can span multiple paragraphs.",
"type": "string",
"nullable": true
},
"category": {
"description": "Is often used to group finding based on their types.",
"type": "string"
},
"severity": {
"description": "Indicates the severity of the finding.",
"type": "string",
"enum": [
"INFORMATIONAL",
"LOW",
"MEDIUM",
"HIGH"
]
},
"mitigation": {
"description": "Contains a short description of how to mitigate the issue.",
"type": "string",
"nullable": true
},
"references": {
"nullable": true,
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": ["type", "value"]
}
},
"attributes": {
"description": "Attributes are not standardized. They differ from Scanner to Scanner.",
"type": "object"
},
"location": {
"description": "Full URL with protocol, port, and path if existing.",
"type": "string",
"nullable": true
},
"scan": {
"description": "Contains information about the scan that identified the finding. This will always be present",
"type": "object",
"properties": {
"created_at": {
"description": "Date-Time when the scan was created according to ISO8601",
"type": "string",
"format": "date-time"
},
"name": {
"description": "Name of the scan.",
"type": "string"
},
"namespace": {
"description": "Namespace in which the scan was run.",
"type": "string"
},
"scan_type": {
"description": "Type of the scan.",
"type": "string"
}
},
"required": [
"created_at",
"name",
"namespace",
"scan_type"
]
}
},
"required": [
"id",
"parsed_at",
"severity",
"category",
"name",
"scan"
]
}
}
}