From 0808dd026009f21ec87a789d05d99bb8c8c806c7 Mon Sep 17 00:00:00 2001 From: Niels Hofmans Date: Thu, 12 Jan 2023 10:16:42 +0100 Subject: [PATCH] fix(falcon): ignore suppressed vulnerabilities --- pkg/falcon/extractor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/falcon/extractor.go b/pkg/falcon/extractor.go index 65c2527..5469769 100644 --- a/pkg/falcon/extractor.go +++ b/pkg/falcon/extractor.go @@ -219,7 +219,7 @@ func GetMessages(config *config.Config, ctx context.Context) (results map[string queryResult, err := client.SpotlightVulnerabilities.CombinedQueryVulnerabilities( &spotlight_vulnerabilities.CombinedQueryVulnerabilitiesParams{ Context: ctx, - Filter: "status:'open'", + Filter: "status:'open'+suppression_info.is_suppressed:'false'", Limit: &falconAPIMaxRecords, Facet: []string{"host_info", "cve", "remediation"}, After: &paginationToken,