mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
log new_user, delete user
This commit is contained in:
parent
06eb9c4e39
commit
a44bd23631
1 changed files with 3 additions and 1 deletions
|
@ -204,7 +204,7 @@ async def send_management_endpoint_alert(
|
||||||
return
|
return
|
||||||
|
|
||||||
management_function_to_event_name = {
|
management_function_to_event_name = {
|
||||||
"generate_key_fn": "Virtual Key Created",
|
"generate_key_fn": "New Virtual Key Created",
|
||||||
"update_key_fn": "Virtual Key Updated",
|
"update_key_fn": "Virtual Key Updated",
|
||||||
"delete_key_fn": "Virtual Key Deleted",
|
"delete_key_fn": "Virtual Key Deleted",
|
||||||
# Team events
|
# Team events
|
||||||
|
@ -212,7 +212,9 @@ async def send_management_endpoint_alert(
|
||||||
"update_team": "Team Updated",
|
"update_team": "Team Updated",
|
||||||
"delete_team": "Team Deleted",
|
"delete_team": "Team Deleted",
|
||||||
# Internal User events
|
# Internal User events
|
||||||
|
"new_user": "New Internal User Created",
|
||||||
"user_update": "Internal User Updated",
|
"user_update": "Internal User Updated",
|
||||||
|
"delete_user": "Internal User Deleted",
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue