Skip to content

Commit

Permalink
Add unsolicited (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkamdjou authored Nov 21, 2023
1 parent b306c0f commit ef91b1a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion detection-rules/attachment_any_html_new_sender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ source: |
type.inbound
and any(attachments, .file_extension in~ ('htm', 'html') or .file_type == "html")
and (
profile.by_sender().prevalence in ("new", "outlier")
(
profile.by_sender().prevalence in ("new", "outlier")
and not profile.by_sender().solicited
)
or profile.by_sender().any_messages_malicious_or_spam
)
and not profile.by_sender().any_false_positives
Expand Down

0 comments on commit ef91b1a

Please sign in to comment.