Skip to content

Commit

Permalink
Oopsie
Browse files Browse the repository at this point in the history
Fix a bug with bounty threshold being inverted...
  • Loading branch information
lekeno committed May 4, 2018
1 parent 13d63ff commit c7cdfaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edr/edrclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def _worthy_alert(self, kind, event):
if self.realtime_params[kind]["min_bounty"]:
if "bounty" not in event:
return False
if event["bounty"] >= self.realtime_params[kind]["min_bounty"]:
if event["bounty"] < self.realtime_params[kind]["min_bounty"]:
EDRLOG.log(u"EDR alert not worthy. Bounty {} does not exceeds threshold {}".format(event["bounty"], self.realtime_params[kind]["min_bounty"]), "DEBUG")
return False
return self.novel_enough_alert(event["cmdr"].lower(), event)
Expand Down

0 comments on commit c7cdfaf

Please sign in to comment.