diff options
| author | J08nY | 2022-01-05 01:02:56 +0100 |
|---|---|---|
| committer | J08nY | 2022-01-05 01:02:56 +0100 |
| commit | 7a4fed73fa1bf77e9affc8ca2adde9d807adafb0 (patch) | |
| tree | ca765a719cc633590b7719e0b302aa545c0a3539 /tests/data | |
| parent | 5c9d861855ab03efa73b550a9a95d598bf4fe2ee (diff) | |
| download | sec-certs-7a4fed73fa1bf77e9affc8ca2adde9d807adafb0.tar.gz sec-certs-7a4fed73fa1bf77e9affc8ca2adde9d807adafb0.tar.zst sec-certs-7a4fed73fa1bf77e9affc8ca2adde9d807adafb0.zip | |
Fix from_dict ordering issue.
Diffstat (limited to 'tests/data')
| -rw-r--r-- | tests/data/test_cc_heuristics/auxillary_datasets/cve_dataset.json | 8 | ||||
| -rw-r--r-- | tests/data/test_cc_heuristics/dependency_dataset.json | 3 | ||||
| -rw-r--r-- | tests/data/test_cc_oop/fictional_cert.json | 8 |
3 files changed, 8 insertions, 11 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 6bdd4dc7..c74cd5cb 100644 --- a/tests/data/test_cc_heuristics/auxillary_datasets/cve_dataset.json +++ b/tests/data/test_cc_heuristics/auxillary_datasets/cve_dataset.json @@ -17,10 +17,10 @@ "_type": "Impact", "base_score": 5.3, "severity": "MEDIUM", - "explotability_score": 3.9, + "exploitability_score": 3.9, "impact_score": 1.4 }, - "publishedDate": "2021-05-26T04:15Z" + "published_date": "2021-05-26T04:15Z" }, "CVE-2019-4513": { "_type": "CVE", @@ -38,10 +38,10 @@ "_type": "Impact", "base_score": 8.2, "severity": "HIGH", - "explotability_score": 3.9, + "exploitability_score": 3.9, "impact_score": 4.2 }, - "publishedDate": "2000-05-26T04:15Z" + "published_date": "2000-05-26T04:15Z" } } } diff --git a/tests/data/test_cc_heuristics/dependency_dataset.json b/tests/data/test_cc_heuristics/dependency_dataset.json index 8e106a03..7e226577 100644 --- a/tests/data/test_cc_heuristics/dependency_dataset.json +++ b/tests/data/test_cc_heuristics/dependency_dataset.json @@ -325,7 +325,6 @@ "10.1.5" ], "cpe_matches": null, - "labeled": false, "verified_cpe_matches": null, "related_cves": null, "cert_lab": [ @@ -676,7 +675,6 @@ "9.1.6" ], "cpe_matches": null, - "labeled": false, "verified_cpe_matches": null, "related_cves": null, "cert_lab": [ @@ -1028,7 +1026,6 @@ "8.1.10" ], "cpe_matches": null, - "labeled": false, "verified_cpe_matches": null, "related_cves": null, "cert_lab": [ diff --git a/tests/data/test_cc_oop/fictional_cert.json b/tests/data/test_cc_oop/fictional_cert.json index 45c1b5a4..56bea187 100644 --- a/tests/data/test_cc_oop/fictional_cert.json +++ b/tests/data/test_cc_oop/fictional_cert.json @@ -11,9 +11,6 @@ ], "not_valid_before": "1900-01-02", "not_valid_after": "1900-01-03", - "report_link": "https://path.to/report/link", - "st_link": "https://path.to/st/link", - "cert_link": "https://path.to/cert/link", "manufacturer_web": "https://path.to/manufacturer/web", "protection_profiles": [ { @@ -63,5 +60,8 @@ "indirectly_affected_by": null, "directly_affecting": null, "indirectly_affecting": null - } + }, + "report_link": "https://path.to/report/link", + "st_link": "https://path.to/st/link", + "cert_link": "https://path.to/cert/link" }
\ No newline at end of file |
