/
repository-vulnerability-alert-alert.schema.json
41 lines (41 loc) · 1.36 KB
/
repository-vulnerability-alert-alert.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "common/repository-vulnerability-alert-alert.schema.json",
"required": [
"id",
"number",
"node_id",
"state",
"affected_range",
"affected_package_name",
"ghsa_id",
"severity",
"external_reference",
"external_identifier",
"fixed_in",
"created_at"
],
"type": "object",
"properties": {
"id": { "type": "integer" },
"number": { "type": "integer" },
"node_id": { "type": "string" },
"state": { "type": "string", "enum": ["open", "dismissed", "fixed"] },
"affected_range": { "type": "string" },
"affected_package_name": { "type": "string" },
"dismisser": { "$ref": "user.schema.json" },
"dismiss_reason": { "type": "string" },
"dismissed_at": { "type": "string", "format": "date-time" },
"severity": { "type": "string" },
"ghsa_id": { "type": "string" },
"external_reference": { "type": "string", "format": "uri" },
"external_identifier": { "type": "string" },
"fixed_in": { "type": "string" },
"fixed_at": { "type": "string", "format": "date-time" },
"fix_reason": { "type": "string" },
"created_at": { "type": "string", "format": "date-time" }
},
"additionalProperties": false,
"description": "The security alert of the vulnerable dependency.",
"title": "Repository Vulnerability Alert Alert"
}