feat(report): add end of service life flag to OS metadata (#1142)

Co-authored-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
AndreyLevchenko
2021-07-27 20:08:57 +06:00
committed by GitHub
parent c489e31f5d
commit 214fe82c7e
17 changed files with 443 additions and 336 deletions

View File

@@ -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)",