-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(mariner): update tests after changing filenames in
vuln-list
(#…
…382)
- Loading branch information
1 parent
dece64c
commit b8fe137
Showing
11 changed files
with
135 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
28 changes: 28 additions & 0 deletions
28
pkg/vulnsrc/mariner/testdata/happy/vuln-list/mariner/2.0/definitions/2023/31872-1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"Class": "vulnerability", | ||
"ID": "oval:com.microsoft.cbl-mariner:def:31872", | ||
"Version": "1", | ||
"Metadata": { | ||
"Title": "CVE-2023-5678 affecting package edk2 for versions less than 20230301gitf80f052277c8-38", | ||
"Affected": { | ||
"Family": "unix", | ||
"Platform": "CBL-Mariner" | ||
}, | ||
"Reference": { | ||
"RefID": "CVE-2023-5678", | ||
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-5678", | ||
"Source": "CVE" | ||
}, | ||
"Patchable": "true", | ||
"AdvisoryID": "31872-1", | ||
"Severity": "Medium", | ||
"Description": "CVE-2023-5678 affecting package edk2 for versions less than 20230301gitf80f052277c8-38. A patched version of the package is available." | ||
}, | ||
"Criteria": { | ||
"Operator": "AND", | ||
"Criterion": { | ||
"Comment": "Package edk2 is earlier than 20230301gitf80f052277c8-38, affected by CVE-2023-5678", | ||
"TestRef": "oval:com.microsoft.cbl-mariner:tst:31872000" | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
pkg/vulnsrc/mariner/testdata/happy/vuln-list/mariner/2.0/definitions/2023/31880-1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"Class": "vulnerability", | ||
"ID": "oval:com.microsoft.cbl-mariner:def:31880", | ||
"Version": "1", | ||
"Metadata": { | ||
"Title": "CVE-2023-5678 affecting package openssl for versions less than 1.1.1k-28", | ||
"Affected": { | ||
"Family": "unix", | ||
"Platform": "CBL-Mariner" | ||
}, | ||
"Reference": { | ||
"RefID": "CVE-2023-5678", | ||
"RefURL": "https://nvd.nist.gov/vuln/detail/CVE-2023-5678", | ||
"Source": "CVE" | ||
}, | ||
"Patchable": "true", | ||
"AdvisoryID": "31880-1", | ||
"Severity": "Medium", | ||
"Description": "CVE-2023-5678 affecting package openssl for versions less than 1.1.1k-28. A patched version of the package is available." | ||
}, | ||
"Criteria": { | ||
"Operator": "AND", | ||
"Criterion": { | ||
"Comment": "Package openssl is earlier than 1.1.1k-28, affected by CVE-2023-5678", | ||
"TestRef": "oval:com.microsoft.cbl-mariner:tst:31880000" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
"TestRef": "oval:com.microsoft.cbl-mariner:tst:1653048070000135" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,4 @@ | |
"TestRef": "oval:com.microsoft.cbl-mariner:tst:1643374849000003" | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.