aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/data
diff options
context:
space:
mode:
authoradamjanovsky2022-06-14 16:44:19 +0200
committerGitHub2022-06-14 16:44:19 +0200
commit5ea7bfc9538d1a54f55344aea62e67535972093c (patch)
tree9a8b0a51fedc16ce5c31873091a6135a259274e6 /tests/data
parentaaf84132b8df87187df0d127deb0883d5eb51d4b (diff)
downloadsec-certs-5ea7bfc9538d1a54f55344aea62e67535972093c.tar.gz
sec-certs-5ea7bfc9538d1a54f55344aea62e67535972093c.tar.zst
sec-certs-5ea7bfc9538d1a54f55344aea62e67535972093c.zip
enhance vulnerability notebook with CWEs (#232)
* CVEs: start collecting CWE data * vuln notebook: CWE analysis
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/test_cc_heuristics/auxillary_datasets/cve_dataset.json18
1 files changed, 15 insertions, 3 deletions
diff --git a/tests/data/test_cc_heuristics/auxillary_datasets/cve_dataset.json b/tests/data/test_cc_heuristics/auxillary_datasets/cve_dataset.json
index c74cd5cb..08bd614c 100644
--- a/tests/data/test_cc_heuristics/auxillary_datasets/cve_dataset.json
+++ b/tests/data/test_cc_heuristics/auxillary_datasets/cve_dataset.json
@@ -20,7 +20,13 @@
"exploitability_score": 3.9,
"impact_score": 1.4
},
- "published_date": "2021-05-26T04:15Z"
+ "published_date": "2021-05-26T04:15Z",
+ "cwe_ids": {
+ "_type": "Set",
+ "elements": [
+ "CWE-200"
+ ]
+ }
},
"CVE-2019-4513": {
"_type": "CVE",
@@ -41,7 +47,13 @@
"exploitability_score": 3.9,
"impact_score": 4.2
},
- "published_date": "2000-05-26T04:15Z"
+ "published_date": "2000-05-26T04:15Z",
+ "cwe_ids": {
+ "_type": "Set",
+ "elements": [
+ "CWE-611"
+ ]
+ }
}
}
-}
+} \ No newline at end of file