def rule(event):
    if event.deep_get("properties", "message", default="") in [
        "Update application – Certificates and secrets management",
        "Update Service principal/Update Application",
    ]:
        return True
    return False
