Skip to content

Commit

Permalink
spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidsec committed Nov 8, 2024
1 parent c73af0e commit 3aa3d96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bbot/modules/internal/excavate.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,7 @@ async def process(self, yara_results, event, yara_rule_settings, discovery_conte
description_string = (
f" with description: [{yara_rule_settings.description}]" if yara_rule_settings.description else ""
)

url_string = event.data.get("url") or event.data.get("host", "Unknown Source")

event_data["description"] = (
f"Custom Yara Rule [{self.name}]{description_string} Matched via identifier [{identifier}] on [{url_string}]"
)
Expand Down

0 comments on commit 3aa3d96

Please sign in to comment.