type.inbound
and any(attachments,
.file_type == "pdf"
and any([beta.parse_exif(.)],
regex.imatch(.producer, '[\d.\s()]*\d[\d.\s()]*')
and 2 of (
.title =~ "untitled",
.creator =~ "anonymous",
.author =~ "anonymous",
any(.fields, .key == "Subject" and .value =~ "unspecified")
)
)
//
// This rule makes use of a beta feature and is subject to change without notice
// using the beta feature in custom rules is not suggested until it has been formally released
//
and regex.icontains(beta.ocr(.).text, 'open[\s\S]{0,20}document')
)
Playground
Test against your own EMLs or sample data.