import json


def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 4,
            event.deep_get("Provider_Name", default="") == "MSExchange Control Panel",
            event.deep_get("Level", default="") == "Error",
            "&__VIEWSTATE=" in json.dumps(event.to_dict()),
        ]
    ):
        return True
    return False
