Load WAF audit logs on page mount

This commit is contained in:
root
2026-01-30 23:11:20 +02:00
parent e3bfeae23d
commit f8c9a5c6e3

View File

@@ -71,6 +71,8 @@ class Waf extends Page implements HasForms, HasTable
'audit_log' => Setting::get('waf_audit_log', '1') === '1', 'audit_log' => Setting::get('waf_audit_log', '1') === '1',
'whitelist_rules' => $whitelistRules, 'whitelist_rules' => $whitelistRules,
]; ];
$this->loadAuditLogs(false);
} }
protected function detectWaf(): bool protected function detectWaf(): bool