fe4a0c3b44
also add impersonated user as context to other logs
34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
# Generated by Django 3.1.1 on 2020-09-18 21:16
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("passbook_audit", "0001_initial"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="event",
|
|
name="action",
|
|
field=models.TextField(
|
|
choices=[
|
|
("LOGIN", "login"),
|
|
("LOGIN_FAILED", "login_failed"),
|
|
("LOGOUT", "logout"),
|
|
("AUTHORIZE_APPLICATION", "authorize_application"),
|
|
("SUSPICIOUS_REQUEST", "suspicious_request"),
|
|
("SIGN_UP", "sign_up"),
|
|
("PASSWORD_RESET", "password_reset"),
|
|
("INVITE_CREATED", "invitation_created"),
|
|
("INVITE_USED", "invitation_used"),
|
|
("IMPERSONATION_STARTED", "impersonation_started"),
|
|
("IMPERSONATION_ENDED", "impersonation_ended"),
|
|
("CUSTOM", "custom"),
|
|
]
|
|
),
|
|
),
|
|
]
|