<?php

declare(strict_types=1);

namespace App\Application\Security;

enum SecurityEventType: string
{
    case LOGIN_FAILED = 'auth.login.failed';
    case LOGIN_SUCCEEDED = 'auth.login.succeeded';
    case LOGOUT = 'auth.logout';

    case PASSWORD_CHANGED = 'account.password.changed';
    case EMAIL_CHANGED = 'account.email.changed';
    case USER_DELETED = 'account.deleted';

    case ACCESS_DENIED = 'access.denied';
    case CSRF_VIOLATION = 'access.csrf.violation';

    case ADMIN_ACTION = 'system.admin.action';
    case CONFIG_CHANGED = 'system.config.changed';
}
