Skip to content

Commit b7ec389

Browse files
authored
Add 'sad update' to spam detection rules (#3499)
1 parent c86e0c4 commit b7ec389

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

detection-rules/spam_fake_photo_share.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ source: |
2222
"*image*",
2323
"*sad news*",
2424
"*sad announcement*",
25+
"*sad update*",
2526
"*new pics*"
2627
)
2728
)
@@ -37,6 +38,7 @@ source: |
3738
"*image*",
3839
"*sad news*",
3940
"*sad announcement*",
41+
"*sad update*",
4042
"*new pics*"
4143
)
4244
)
@@ -48,6 +50,7 @@ source: |
4850
"*image*",
4951
"*sad news*",
5052
"*sad announcement*",
53+
"*sad update*",
5154
"*new pics*"
5255
)
5356
and not strings.icontains(body.plain.raw, "[cid:image")
@@ -60,6 +63,7 @@ source: |
6063
"*image*",
6164
"*sad news*",
6265
"*sad announcement*",
66+
"*sad update*",
6367
"*new pics*"
6468
)
6569
)
@@ -93,6 +97,7 @@ source: |
9397
"*image*",
9498
"*sad news*",
9599
"*sad announcement*",
100+
"*sad update*",
96101
"*pics*"
97102
)
98103
and not strings.istarts_with(body.plain.raw, "[cid:image")

0 commit comments

Comments
 (0)