def rule(event):
    if all(
        [
            event.deep_get("verb", default="") == "create",
            event.deep_get("objectRef", "resource", default="") == "pods",
            event.deep_get("hostPath", default="") != "",
        ]
    ):
        return True
    return False
