Skip to content

Commit

Permalink
Update recipient_address_in_link.yml (#1061)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Scholten <[email protected]>
  • Loading branch information
aidenmitchell and morriscode authored Nov 29, 2023
1 parent 188a52c commit 888954b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion insights/links/recipient_address_in_link.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Recipient email in link"
type: "query"
source: |
distinct(map(filter(body.links, any(recipients.to, strings.icontains(..href_url.url, .email.email))), .href_url.url), .)
distinct(map(filter(body.links, any(recipients.to, strings.icontains(..href_url.url, .email.email) and any(recipients.to, .email.domain.valid))), .href_url.url), .)
severity: "low"
tags:
- "Suspicious links"

0 comments on commit 888954b

Please sign in to comment.