def rule(event):
    if event.deep_get("operationName", default="") in [
        "MICROSOFT.NETWORK/APPLICATIONSECURITYGROUPS/WRITE",
        "MICROSOFT.NETWORK/APPLICATIONSECURITYGROUPS/DELETE",
    ]:
        return True
    return False
