Skip to content

Commit

Permalink
New insight: high_trust_auth_fail.yml (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenmitchell authored Dec 20, 2023
1 parent f3de4a3 commit dd72665
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions insights/sender/high_trust_auth_fail.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "High trust sender domain failed authentication"
type: "query"
source: |
filter([sender.email.email],
sender.email.domain.root_domain in $high_trust_sender_root_domains
and (
(
any(distinct(headers.hops, .authentication_results.dmarc is not null),
strings.ilike(.authentication_results.dmarc, "*fail")
)
)
or (
any(distinct(headers.hops, .authentication_results.spf is not null),
strings.ilike(.authentication_results.spf, "*fail")
)
)
or (
any(distinct(headers.hops, .authentication_results.dkim is not null),
strings.ilike(.authentication_results.dkim, "*fail")
)
)
)
)
severity: "high"

0 comments on commit dd72665

Please sign in to comment.