diff --git a/authentik/events/migrations/0009_auto_20201227_1210.py b/authentik/events/migrations/0009_auto_20201227_1210.py new file mode 100644 index 000000000..c3dc06612 --- /dev/null +++ b/authentik/events/migrations/0009_auto_20201227_1210.py @@ -0,0 +1,42 @@ +# Generated by Django 3.1.4 on 2020-12-27 12:10 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("authentik_events", "0008_auto_20201220_1651"), + ] + + operations = [ + migrations.AlterField( + model_name="event", + name="action", + field=models.TextField( + choices=[ + ("login", "Login"), + ("login_failed", "Login Failed"), + ("logout", "Logout"), + ("user_write", "User Write"), + ("suspicious_request", "Suspicious Request"), + ("password_set", "Password Set"), + ("token_view", "Token View"), + ("invitation_used", "Invite Used"), + ("authorize_application", "Authorize Application"), + ("source_linked", "Source Linked"), + ("impersonation_started", "Impersonation Started"), + ("impersonation_ended", "Impersonation Ended"), + ("policy_execution", "Policy Execution"), + ("policy_exception", "Policy Exception"), + ("property_mapping_exception", "Property Mapping Exception"), + ("configuration_error", "Configuration Error"), + ("model_created", "Model Created"), + ("model_updated", "Model Updated"), + ("model_deleted", "Model Deleted"), + ("update_available", "Update Available"), + ("custom_", "Custom Prefix"), + ] + ), + ), + ] diff --git a/authentik/events/models.py b/authentik/events/models.py index 487026efa..24e8cb505 100644 --- a/authentik/events/models.py +++ b/authentik/events/models.py @@ -47,6 +47,8 @@ class EventAction(models.TextChoices): POLICY_EXCEPTION = "policy_exception" PROPERTY_MAPPING_EXCEPTION = "property_mapping_exception" + CONFIGURATION_ERROR = "configuration_error" + MODEL_CREATED = "model_created" MODEL_UPDATED = "model_updated" MODEL_DELETED = "model_deleted"