Skip to content

Commit 7f58fc4

Browse files
Fix #4 - filter to only mitigated findings
1 parent afaca47 commit 7f58fc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vcmitreject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def get_all_app_findings(the_apps):
8383
print(status)
8484
log.debug(status)
8585

86-
request_params = { 'violates_policy': True, 'size': 100 } # only policy violating flaws matter for mitigations; increase page size for perf
86+
request_params = { 'mitigated_after': '2006-04-01', 'violates_policy': True, 'size': 100 } # only mitigated flaws; only policy violating flaws matter for mitigations; increase page size for perf
8787

8888
these_findings = Findings().get_findings(app=app, scantype='ALL', annot=True, request_params=request_params)
8989

0 commit comments

Comments
 (0)