feat(python): add packaging detector and respective hook (#1223)

Co-authored-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
Ankush K
2021-09-13 23:29:11 +05:30
committed by GitHub
parent 19c0b70d26
commit dbc7a83e8c
25 changed files with 191 additions and 99 deletions

View File

@@ -32,6 +32,7 @@ func detect(driver Driver, libs []ftypes.LibraryInfo) ([]types.DetectedVulnerabi
for i := range vulns {
vulns[i].Layer = lib.Layer
vulns[i].PkgPath = lib.FilePath
}
vulnerabilities = append(vulnerabilities, vulns...)
}