mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
feat(report): add end of service life flag to OS metadata (#1142)
Co-authored-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
@@ -85,6 +85,7 @@ func TestScanServer_Scan(t *testing.T) {
|
||||
OsFound: &ftypes.OS{
|
||||
Family: "alpine",
|
||||
Name: "3.11",
|
||||
Eosl: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -92,8 +93,8 @@ func TestScanServer_Scan(t *testing.T) {
|
||||
Os: &common.OS{
|
||||
Family: "alpine",
|
||||
Name: "3.11",
|
||||
Eosl: true,
|
||||
},
|
||||
Eosl: false,
|
||||
Results: []*rpcScanner.Result{
|
||||
{
|
||||
Target: "alpine:3.11 (alpine 3.11)",
|
||||
|
||||
Reference in New Issue
Block a user