Skip to content

Commit 0465b64

Browse files
authored
FP/FN Negation: callback_phishing_nlu_body_or_attachments.yml (#750)
1 parent 71409e9 commit 0465b64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

detection-rules/callback_phishing_nlu_body_or_attachments.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ source: |
1515
)
1616
)
1717
or any(ml.nlu_classifier(body.current_thread.text).intents,
18-
.name in ("callback_scam") and .confidence == "high"
18+
.name in ("callback_scam")
19+
and .confidence == "high"
20+
and length(body.current_thread.text) < 1500
1921
)
2022
)
2123
and not (

0 commit comments

Comments
 (0)