From 317b38336befb05d5178d3ba9e8422106068b917 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 31 Jul 2020 09:25:41 -0400 Subject: [PATCH] match: add APK matcher type Signed-off-by: Alfredo Deza --- grype/match/matcher_type.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/grype/match/matcher_type.go b/grype/match/matcher_type.go index 60837b8d..639d0d29 100644 --- a/grype/match/matcher_type.go +++ b/grype/match/matcher_type.go @@ -2,6 +2,7 @@ package match const ( UnknownMatcherType MatcherType = iota + ApkMatcher RubyBundleMatcher DpkgMatcher RpmDBMatcher @@ -12,6 +13,7 @@ const ( var matcherTypeStr = []string{ "UnknownMatcherType", + "apk-matcher", "ruby-bundle-matcher", "dpkg-matcher", "rpmdb-matcher", @@ -21,6 +23,7 @@ var matcherTypeStr = []string{ } var AllMatcherTypes = []MatcherType{ + ApkMatcher, RubyBundleMatcher, DpkgMatcher, RpmDBMatcher,