Skip to content

Commit

Permalink
Merge pull request #161 from CybercentreCanada/logging/failed_rules
Browse files Browse the repository at this point in the history
Update suricata_.py
  • Loading branch information
cccs-rs authored Aug 29, 2024
2 parents dfa7d08 + 720548a commit dfd5500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suricata_/suricata_.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _load_rules(self) -> None:
)

# Get the list of rules that failed and log them
ret = self.suricata_sc.send_command("ruleset-failed-stats")
ret = self.suricata_sc.send_command("ruleset-failed-rules")
if ret:
for rule in ret.get("message", []):
self.log.warning(f"Rule failed to load: {rule['rule']}")
Expand Down

0 comments on commit dfd5500

Please sign in to comment.