Skip to content

Commit

Permalink
evaluate file_extracted_section after loop
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-rs committed May 10, 2022
1 parent 4ba8cb8 commit ce3db6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions suricata_/suricata_.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,10 @@ def execute(self, request):
# We've hit our limit
pass

# Report a null score to indicate that files were extracted. If no sigs hit, it's not clear
# where the extracted files came from
if file_extracted_section.body:
result.add_section(file_extracted_section)
# Report a null score to indicate that files were extracted. If no sigs hit, it's not clear
# where the extracted files came from
if file_extracted_section.body:
result.add_section(file_extracted_section)

# Add tags for the domains, urls, and IPs we've discovered
root_section = ResultSection("Discovered IOCs", parent=result)
Expand Down

0 comments on commit ce3db6a

Please sign in to comment.