Skip to content

Commit

Permalink
cleanup double check
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomequipd authored Jun 7, 2023
1 parent c2b2afe commit 2bf6034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dalton-agent/dalton-agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ def check_for_errors(tech):
ids_log_fh = open(JOB_IDS_LOG, "r")
for line in ids_log_fh:
if tech.startswith('suri'):
if ("<Error>" in line or "Error: " in line or line.startswith("ERROR") or line.startswith("Error: ") or line.startswith("Failed to parse configuration file")):
if ("<Error>" in line or "Error: " in line or line.startswith("ERROR") or line.startswith("Failed to parse configuration file")):
error_lines.append(line)
if "bad dump file format" in line or "unknown file format" in line:
error_lines.append("Bad pcap file(s) submitted to Suricata. Pcap files should be in libpcap format (pcapng is not supported in older Suricata versions).\n")
Expand Down

0 comments on commit 2bf6034

Please sign in to comment.