type.inbound
and any(body.links,
.href_url.domain.domain == "storage.googleapis.com"
and (
strings.iends_with(.href_url.path, 'index.php')
or regex.icontains(.href_url.fragment, '^\/?index.php')
)
)
Playground
Test against your own EMLs or sample data.