def rule(event):
    if any(
        [
            event.deep_get("Image", default="").endswith("/update-ca-certificates"),
            event.deep_get("Image", default="").endswith("/update-ca-trust"),
        ]
    ):
        return True
    return False
