Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New insight: high_trust_auth_fail.yml #1117

Merged
merged 2 commits into from
Dec 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Loading