Refresh WAF table after whitelist changes
This commit is contained in:
@@ -408,7 +408,8 @@ class Waf extends Page implements HasForms, HasTable
|
|||||||
->send();
|
->send();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->auditEntries = $this->markWhitelisted($this->auditEntries);
|
$this->loadAuditLogs(false);
|
||||||
|
$this->resetTable();
|
||||||
|
|
||||||
Notification::make()
|
Notification::make()
|
||||||
->title(__('Rule whitelisted'))
|
->title(__('Rule whitelisted'))
|
||||||
@@ -452,7 +453,8 @@ class Waf extends Page implements HasForms, HasTable
|
|||||||
->send();
|
->send();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->auditEntries = $this->markWhitelisted($this->auditEntries);
|
$this->loadAuditLogs(false);
|
||||||
|
$this->resetTable();
|
||||||
|
|
||||||
Notification::make()
|
Notification::make()
|
||||||
->title(__('Whitelist removed'))
|
->title(__('Whitelist removed'))
|
||||||
|
|||||||
Reference in New Issue
Block a user