Skip to content

Commit 669aca1

Browse files
committed
fix: issue #428
1 parent 88fbcb2 commit 669aca1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/scanners/azqr.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ func (e *RecommendationEngine) EvaluateRecommendations(rules map[string]AzqrReco
215215
results := map[string]AzqrResult{}
216216

217217
for k, rule := range rules {
218+
if scanContext.Filters.Azqr.IsRecommendationExcluded(rule.RecommendationID) {
219+
continue
220+
}
221+
218222
results[k] = e.evaluateRecommendation(rule, target, scanContext)
219223
}
220224

0 commit comments

Comments
 (0)