-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mariner): use
advisory_id
for definition file names (#271)
- Loading branch information
1 parent
a1c9509
commit 80e370d
Showing
14 changed files
with
257 additions
and
6 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
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.
File renamed without changes.
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:1643374850000269" | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
28 changes: 28 additions & 0 deletions
28
mariner/testdata/golden/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
mariner/testdata/golden/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