Audit Log verfollständigen
Dieser Commit ist enthalten in:
@@ -40,24 +40,61 @@
|
||||
max-height: 100px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
/* CRUD-Operationen */
|
||||
.action-CREATE { color: #28a745; }
|
||||
.action-UPDATE { color: #007bff; }
|
||||
.action-DELETE { color: #dc3545; }
|
||||
.action-IMPORT { color: #6f42c1; }
|
||||
|
||||
/* Authentifizierung */
|
||||
.action-LOGIN { color: #17a2b8; }
|
||||
.action-LOGIN_SUCCESS { color: #28a745; }
|
||||
.action-LOGIN_FAILED { color: #dc3545; }
|
||||
.action-LOGIN_BLOCKED { color: #b91c1c; }
|
||||
.action-LOGOUT { color: #6c757d; }
|
||||
.action-AUTO_LOGOUT { color: #fd7e14; }
|
||||
.action-EXPORT { color: #ffc107; }
|
||||
.action-GENERATE_KEY { color: #20c997; }
|
||||
.action-CREATE_BATCH { color: #6610f2; }
|
||||
.action-BACKUP { color: #5a67d8; }
|
||||
|
||||
/* 2FA */
|
||||
.action-LOGIN_2FA_SUCCESS { color: #00a86b; }
|
||||
.action-LOGIN_2FA_BACKUP { color: #059862; }
|
||||
.action-LOGIN_2FA_FAILED { color: #e53e3e; }
|
||||
.action-LOGIN_BLOCKED { color: #b91c1c; }
|
||||
.action-RESTORE { color: #4299e1; }
|
||||
.action-PASSWORD_CHANGE { color: #805ad5; }
|
||||
.action-2FA_ENABLED { color: #38a169; }
|
||||
.action-2FA_DISABLED { color: #e53e3e; }
|
||||
|
||||
/* Lizenzverwaltung */
|
||||
.action-GENERATE_KEY { color: #20c997; }
|
||||
.action-CREATE_BATCH { color: #6610f2; }
|
||||
.action-BATCH_UPDATE { color: #17a2b8; }
|
||||
.action-TOGGLE { color: #ffc107; }
|
||||
.action-QUICK_EDIT { color: #00bcd4; }
|
||||
.action-BULK_ACTIVATE { color: #4caf50; }
|
||||
.action-BULK_DEACTIVATE { color: #ff5722; }
|
||||
.action-BULK_DELETE { color: #f44336; }
|
||||
|
||||
/* Geräteverwaltung */
|
||||
.action-DEVICE_REGISTER { color: #2196f3; }
|
||||
.action-DEVICE_DEACTIVATE { color: #ff9800; }
|
||||
|
||||
/* Ressourcenverwaltung */
|
||||
.action-RESOURCE_ALLOCATE { color: #009688; }
|
||||
.action-QUARANTINE { color: #ff6b6b; }
|
||||
.action-RELEASE { color: #51cf66; }
|
||||
.action-BULK_CREATE { color: #845ef7; }
|
||||
|
||||
/* Session-Verwaltung */
|
||||
.action-SESSION_TERMINATE { color: #e91e63; }
|
||||
.action-SESSION_TERMINATE_ALL { color: #c2255c; }
|
||||
.action-SESSION_CLEANUP { color: #868e96; }
|
||||
|
||||
/* System-Operationen */
|
||||
.action-BACKUP { color: #5a67d8; }
|
||||
.action-BACKUP_DOWNLOAD { color: #4299e1; }
|
||||
.action-BACKUP_DELETE { color: #e53e3e; }
|
||||
.action-RESTORE { color: #4299e1; }
|
||||
.action-EXPORT { color: #ffc107; }
|
||||
.action-PASSWORD_CHANGE { color: #805ad5; }
|
||||
.action-UNBLOCK_IP { color: #22b8cf; }
|
||||
.action-CLEAR_LOGIN_ATTEMPTS { color: #37b24d; }
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
@@ -81,24 +118,62 @@
|
||||
<label for="action" class="form-label">Aktion</label>
|
||||
<select class="form-select" id="action" name="action">
|
||||
<option value="">Alle Aktionen</option>
|
||||
<optgroup label="CRUD-Operationen">
|
||||
<option value="CREATE" {% if filter_action == 'CREATE' %}selected{% endif %}>➕ Erstellt</option>
|
||||
<option value="UPDATE" {% if filter_action == 'UPDATE' %}selected{% endif %}>✏️ Bearbeitet</option>
|
||||
<option value="DELETE" {% if filter_action == 'DELETE' %}selected{% endif %}>🗑️ Gelöscht</option>
|
||||
<option value="IMPORT" {% if filter_action == 'IMPORT' %}selected{% endif %}>📤 Import</option>
|
||||
</optgroup>
|
||||
<optgroup label="Authentifizierung">
|
||||
<option value="LOGIN" {% if filter_action == 'LOGIN' %}selected{% endif %}>🔑 Anmeldung</option>
|
||||
<option value="LOGIN_SUCCESS" {% if filter_action == 'LOGIN_SUCCESS' %}selected{% endif %}>✅ Anmeldung erfolgreich</option>
|
||||
<option value="LOGIN_FAILED" {% if filter_action == 'LOGIN_FAILED' %}selected{% endif %}>❌ Anmeldung fehlgeschlagen</option>
|
||||
<option value="LOGIN_BLOCKED" {% if filter_action == 'LOGIN_BLOCKED' %}selected{% endif %}>🚫 Login blockiert</option>
|
||||
<option value="LOGOUT" {% if filter_action == 'LOGOUT' %}selected{% endif %}>🚪 Abmeldung</option>
|
||||
<option value="AUTO_LOGOUT" {% if filter_action == 'AUTO_LOGOUT' %}selected{% endif %}>⏰ Auto-Logout</option>
|
||||
<option value="EXPORT" {% if filter_action == 'EXPORT' %}selected{% endif %}>📥 Export</option>
|
||||
<option value="GENERATE_KEY" {% if filter_action == 'GENERATE_KEY' %}selected{% endif %}>🔑 Key generiert</option>
|
||||
<option value="CREATE_BATCH" {% if filter_action == 'CREATE_BATCH' %}selected{% endif %}>🔑 Batch erstellt</option>
|
||||
<option value="BACKUP" {% if filter_action == 'BACKUP' %}selected{% endif %}>💾 Backup</option>
|
||||
</optgroup>
|
||||
<optgroup label="2FA-Authentifizierung">
|
||||
<option value="LOGIN_2FA_SUCCESS" {% if filter_action == 'LOGIN_2FA_SUCCESS' %}selected{% endif %}>🔐 2FA-Anmeldung</option>
|
||||
<option value="LOGIN_2FA_FAILED" {% if filter_action == 'LOGIN_2FA_FAILED' %}selected{% endif %}>⛔ 2FA fehlgeschlagen</option>
|
||||
<option value="LOGIN_2FA_BACKUP" {% if filter_action == 'LOGIN_2FA_BACKUP' %}selected{% endif %}>🔒 2FA-Backup-Code</option>
|
||||
<option value="LOGIN_2FA_FAILED" {% if filter_action == 'LOGIN_2FA_FAILED' %}selected{% endif %}>⛔ 2FA-Fehlgeschlagen</option>
|
||||
<option value="LOGIN_BLOCKED" {% if filter_action == 'LOGIN_BLOCKED' %}selected{% endif %}>🚫 Login-Blockiert</option>
|
||||
<option value="RESTORE" {% if filter_action == 'RESTORE' %}selected{% endif %}>🔄 Wiederhergestellt</option>
|
||||
<option value="PASSWORD_CHANGE" {% if filter_action == 'PASSWORD_CHANGE' %}selected{% endif %}>🔐 Passwort geändert</option>
|
||||
<option value="2FA_ENABLED" {% if filter_action == '2FA_ENABLED' %}selected{% endif %}>✅ 2FA aktiviert</option>
|
||||
<option value="2FA_DISABLED" {% if filter_action == '2FA_DISABLED' %}selected{% endif %}>❌ 2FA deaktiviert</option>
|
||||
</optgroup>
|
||||
<optgroup label="Lizenzverwaltung">
|
||||
<option value="GENERATE_KEY" {% if filter_action == 'GENERATE_KEY' %}selected{% endif %}>🔑 Key generiert</option>
|
||||
<option value="CREATE_BATCH" {% if filter_action == 'CREATE_BATCH' %}selected{% endif %}>📦 Batch erstellt</option>
|
||||
<option value="BATCH_UPDATE" {% if filter_action == 'BATCH_UPDATE' %}selected{% endif %}>🔄 Batch Update</option>
|
||||
<option value="TOGGLE" {% if filter_action == 'TOGGLE' %}selected{% endif %}>🔄 Status geändert</option>
|
||||
<option value="QUICK_EDIT" {% if filter_action == 'QUICK_EDIT' %}selected{% endif %}>⚡ Schnellbearbeitung</option>
|
||||
<option value="BULK_ACTIVATE" {% if filter_action == 'BULK_ACTIVATE' %}selected{% endif %}>✅ Bulk-Aktivierung</option>
|
||||
<option value="BULK_DEACTIVATE" {% if filter_action == 'BULK_DEACTIVATE' %}selected{% endif %}>❌ Bulk-Deaktivierung</option>
|
||||
<option value="BULK_DELETE" {% if filter_action == 'BULK_DELETE' %}selected{% endif %}>🗑️ Bulk-Löschung</option>
|
||||
</optgroup>
|
||||
<optgroup label="Geräteverwaltung">
|
||||
<option value="DEVICE_REGISTER" {% if filter_action == 'DEVICE_REGISTER' %}selected{% endif %}>📱 Gerät registriert</option>
|
||||
<option value="DEVICE_DEACTIVATE" {% if filter_action == 'DEVICE_DEACTIVATE' %}selected{% endif %}>📵 Gerät deaktiviert</option>
|
||||
</optgroup>
|
||||
<optgroup label="Ressourcenverwaltung">
|
||||
<option value="RESOURCE_ALLOCATE" {% if filter_action == 'RESOURCE_ALLOCATE' %}selected{% endif %}>📎 Ressource zugewiesen</option>
|
||||
<option value="QUARANTINE" {% if filter_action == 'QUARANTINE' %}selected{% endif %}>⚠️ In Quarantäne</option>
|
||||
<option value="RELEASE" {% if filter_action == 'RELEASE' %}selected{% endif %}>✅ Freigegeben</option>
|
||||
<option value="BULK_CREATE" {% if filter_action == 'BULK_CREATE' %}selected{% endif %}>➕ Bulk-Erstellung</option>
|
||||
</optgroup>
|
||||
<optgroup label="Session-Verwaltung">
|
||||
<option value="SESSION_TERMINATE" {% if filter_action == 'SESSION_TERMINATE' %}selected{% endif %}>🛑 Session beendet</option>
|
||||
<option value="SESSION_TERMINATE_ALL" {% if filter_action == 'SESSION_TERMINATE_ALL' %}selected{% endif %}>🛑 Alle Sessions beendet</option>
|
||||
<option value="SESSION_CLEANUP" {% if filter_action == 'SESSION_CLEANUP' %}selected{% endif %}>🧹 Session-Bereinigung</option>
|
||||
</optgroup>
|
||||
<optgroup label="System-Operationen">
|
||||
<option value="BACKUP" {% if filter_action == 'BACKUP' %}selected{% endif %}>💾 Backup</option>
|
||||
<option value="BACKUP_DOWNLOAD" {% if filter_action == 'BACKUP_DOWNLOAD' %}selected{% endif %}>⬇️ Backup Download</option>
|
||||
<option value="BACKUP_DELETE" {% if filter_action == 'BACKUP_DELETE' %}selected{% endif %}>🗑️ Backup gelöscht</option>
|
||||
<option value="RESTORE" {% if filter_action == 'RESTORE' %}selected{% endif %}>🔄 Wiederhergestellt</option>
|
||||
<option value="EXPORT" {% if filter_action == 'EXPORT' %}selected{% endif %}>📥 Export</option>
|
||||
<option value="PASSWORD_CHANGE" {% if filter_action == 'PASSWORD_CHANGE' %}selected{% endif %}>🔐 Passwort geändert</option>
|
||||
<option value="UNBLOCK_IP" {% if filter_action == 'UNBLOCK_IP' %}selected{% endif %}>🔓 IP entsperrt</option>
|
||||
<option value="CLEAR_LOGIN_ATTEMPTS" {% if filter_action == 'CLEAR_LOGIN_ATTEMPTS' %}selected{% endif %}>🧹 Login-Versuche gelöscht</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
@@ -109,7 +184,10 @@
|
||||
<option value="customer" {% if filter_entity == 'customer' %}selected{% endif %}>Kunde</option>
|
||||
<option value="user" {% if filter_entity == 'user' %}selected{% endif %}>Benutzer</option>
|
||||
<option value="session" {% if filter_entity == 'session' %}selected{% endif %}>Session</option>
|
||||
<option value="resource" {% if filter_entity == 'resource' %}selected{% endif %}>Ressource</option>
|
||||
<option value="backup" {% if filter_entity == 'backup' %}selected{% endif %}>Backup</option>
|
||||
<option value="database" {% if filter_entity == 'database' %}selected{% endif %}>Datenbank</option>
|
||||
<option value="system" {% if filter_entity == 'system' %}selected{% endif %}>System</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren