Skip to content

Commit

Permalink
Update link_microsoft_low_reputation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomequipd authored Dec 18, 2024
1 parent 6c1b636 commit 01e3dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detection-rules/link_microsoft_low_reputation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ source: |
and any(ml.logo_detect(.).brands, strings.starts_with(.name, "Microsoft"))
)
or strings.istarts_with(strings.replace_confusables(body.current_thread.text), "Microsoft ")
or regex.imatch(strings.replace_confusables(body.current_thread.text), '(?:\n)*[o0O]ff[il1]ce\b.*')
or regex.imatch(strings.replace_confusables(body.current_thread.text), '[\n\s]*[o0O]ff[il1]ce\b.*')
or any(ml.logo_detect(beta.message_screenshot()).brands,
strings.starts_with(.name, "Microsoft")
)
Expand Down

0 comments on commit 01e3dbd

Please sign in to comment.