Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized function calls.
This commit is contained in:
17
docs/samples/console/console-vex-30-001.json
Normal file
17
docs/samples/console/console-vex-30-001.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"query": {"component": "openssl", "advisory": "CVE-2024-1234"},
|
||||
"tenant": "demo",
|
||||
"timestamp": "2025-11-19T00:00:00Z",
|
||||
"statements": [
|
||||
{
|
||||
"id": "stmt-1",
|
||||
"status": "not_affected",
|
||||
"justification": "component_not_present",
|
||||
"advisory": "CVE-2024-1234",
|
||||
"products": ["pkg:deb/openssl@1.1.1w"],
|
||||
"evidence": {"observationId": "obs-ossl-001", "linksetId": "lnm-ossl-001"},
|
||||
"timestamp": "2025-11-19T00:00:00Z"
|
||||
}
|
||||
],
|
||||
"pagination": {"pageSize": 20, "next": null}
|
||||
}
|
||||
19
docs/samples/console/console-vuln-29-001.json
Normal file
19
docs/samples/console/console-vuln-29-001.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"query": "openssl",
|
||||
"tenant": "demo",
|
||||
"timestamp": "2025-11-19T00:00:00Z",
|
||||
"results": [
|
||||
{
|
||||
"advisoryId": "CVE-2024-1234",
|
||||
"title": "OpenSSL buffer overflow",
|
||||
"severity": "HIGH",
|
||||
"package": "openssl",
|
||||
"version": "1.1.1w",
|
||||
"source": "nvd",
|
||||
"linksetId": "lnm-ossl-001",
|
||||
"justification": "aggregation-only",
|
||||
"provenance": {"fetchedAt": "2025-11-18T12:00:00Z", "digest": "sha256:dummy"}
|
||||
}
|
||||
],
|
||||
"pagination": {"pageSize": 20, "next": null}
|
||||
}
|
||||
Reference in New Issue
Block a user