mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 08:53:15 +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,
|
ApkDBGlob,
|
||||||
DpkgDBGlob,
|
DpkgDBGlob,
|
||||||
RpmDBGlob,
|
RpmDBGlob,
|
||||||
|
"**/rpm/{Packages,Packages.db,rpmdb.sqlite}",
|
||||||
// DEB packages share common copyright info between, this does not mean that sharing these paths implies ownership.
|
// DEB packages share common copyright info between, this does not mean that sharing these paths implies ownership.
|
||||||
"/usr/share/doc/**/copyright",
|
"/usr/share/doc/**/copyright",
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user