Skip to content

Commit

Permalink
ignore linux-aws-headers-.* as well like linux-headers-.* (#2295)
Browse files Browse the repository at this point in the history
* ignore linux-aws-headers-.* as well like linux-headers-

Signed-off-by: Bar Nuri <[email protected]>

* CR

Signed-off-by: Bar Nuri <[email protected]>

---------

Signed-off-by: Bar Nuri <[email protected]>
  • Loading branch information
barnuri authored Dec 4, 2024
1 parent 830da9e commit 40a948d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/grype/cli/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ var ignoreVEXFixedNotAffected = []match.IgnoreRule{

var ignoreLinuxKernelHeaders = []match.IgnoreRule{
{Package: match.IgnoreRulePackage{Name: "kernel-headers", UpstreamName: "kernel", Type: string(syftPkg.RpmPkg)}, MatchType: match.ExactIndirectMatch},
{Package: match.IgnoreRulePackage{Name: "linux-headers-.*", UpstreamName: "linux", Type: string(syftPkg.DebPkg)}, MatchType: match.ExactIndirectMatch},
{Package: match.IgnoreRulePackage{Name: "linux-.*-headers-.*", UpstreamName: "linux", Type: string(syftPkg.DebPkg)}, MatchType: match.ExactIndirectMatch},
{Package: match.IgnoreRulePackage{Name: "linux-libc-dev", UpstreamName: "linux", Type: string(syftPkg.DebPkg)}, MatchType: match.ExactIndirectMatch},
}

Expand Down

0 comments on commit 40a948d

Please sign in to comment.