Skip to content

Commit d739d74

Browse files
Add kwon CVEs files and schema.
1 parent 9a0951a commit d739d74

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.security/known_cves.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# yaml-language-server: $schema=./known_cves_schema.json
2+
3+
- CVE: CVE-2025-52999
4+
artifact: org.example:vulnerability-lib:3.18.0
5+
justification: >
6+
Some text
7+
with very nice and clear explanation
8+
expiration_date: 2030-05-18

.security/known_cves_schema.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "Know vulnerabilities exceptions report",
4+
"type": "array",
5+
"items": {
6+
"type": "object",
7+
"properties": {
8+
"CVE": {
9+
"type": "string",
10+
"description": "The Common Vulnerabilities and Exposures Id. https://www.cve.org/",
11+
"pattern": "^CVE-\\d{4}-\\d{4,}$"
12+
},
13+
"artifact": {
14+
"type": "string",
15+
"description": "The Maven style artifact id. (group:artifact:version)"
16+
},
17+
"justification": {
18+
"type": "string",
19+
"description": "The reason why this vulnerability does not impact the tools."
20+
},
21+
"expiration_date": {
22+
"type": "string",
23+
"format": "date",
24+
"description": "The date (YYYY-MM-DD) when this waiver expires and must be reviewed."
25+
}
26+
},
27+
"required": [
28+
"CVE",
29+
"artifact",
30+
"justification"
31+
]
32+
}
33+
}

0 commit comments

Comments
 (0)