type.inbound
and any(filter(attachments, .file_type == "pdf"),
any(file.explode(.),
any(.scan.yara.matches, .name in ("w9_pdf_01", "invoice_pdf_01"))
)
)
Playground
Test against your own EMLs or sample data.
type.inbound
and any(filter(attachments, .file_type == "pdf"),
any(file.explode(.),
any(.scan.yara.matches, .name in ("w9_pdf_01", "invoice_pdf_01"))
)
)
Test against your own EMLs or sample data.