From 3ae728ede167aafb5fcc8b71584ea0c996705eeb Mon Sep 17 00:00:00 2001 From: Dan Nurmi Date: Thu, 30 Jun 2022 16:50:24 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20add=20glob=20to=20filter=20list=20to=20e?= =?UTF-8?q?nsure=20rpm=20metadata=20files=20are=20matched=E2=80=A6=20(#107?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- syft/pkg/relationships_by_file_ownership.go | 1 + 1 file changed, 1 insertion(+) diff --git a/syft/pkg/relationships_by_file_ownership.go b/syft/pkg/relationships_by_file_ownership.go index 691dbbacb..20079a893 100644 --- a/syft/pkg/relationships_by_file_ownership.go +++ b/syft/pkg/relationships_by_file_ownership.go @@ -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", }