def rule(event):
    if any(
        [
            event.deep_get("Image", default="").endswith("/rm"),
            event.deep_get("Image", default="").endswith("/shred"),
            event.deep_get("Image", default="").endswith("/unlink"),
        ]
    ):
        return True
    return False
