mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
fix: add glob to filter list to ensure rpm metadata files are matched… (#1079)
This commit is contained in:
parent
3ce1a4aac1
commit
3ae728ede1
@ -13,6 +13,7 @@ var globsForbiddenFromBeingOwned = []string{
|
||||
ApkDBGlob,
|
||||
DpkgDBGlob,
|
||||
RpmDBGlob,
|
||||
"**/rpm/{Packages,Packages.db,rpmdb.sqlite}",
|
||||
// DEB packages share common copyright info between, this does not mean that sharing these paths implies ownership.
|
||||
"/usr/share/doc/**/copyright",
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user