mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-03 22:08:11 -04:00
www/nginx: add NAXSI rule ID to volt (#1737)
* Update Makefile * Update pkg-descr * Update SettingsController.php * Update index.volt
This commit is contained in:
parent
a91c65f2fe
commit
3254979038
4 changed files with 7 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
PLUGIN_NAME= nginx
|
||||
PLUGIN_VERSION= 1.18
|
||||
PLUGIN_VERSION= 1.19
|
||||
PLUGIN_COMMENT= Nginx HTTP server and reverse proxy
|
||||
PLUGIN_DEPENDS= nginx
|
||||
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@ reuse, SSL offload and HTTP media streaming.
|
|||
Plugin Changelog
|
||||
================
|
||||
|
||||
1.19
|
||||
|
||||
* Display NAXSI rule ID in volt
|
||||
|
||||
1.18
|
||||
|
||||
* Add proxy header for CloudFlare
|
||||
|
|
|
|||
|
|
@ -266,7 +266,7 @@ class SettingsController extends ApiMutableModelControllerBase
|
|||
// naxsi rules
|
||||
public function searchnaxsiruleAction()
|
||||
{
|
||||
return $this->searchBase('naxsi_rule', array('description', 'ruletype', 'message'));
|
||||
return $this->searchBase('naxsi_rule', array('description', 'identifier', 'ruletype', 'message'));
|
||||
}
|
||||
|
||||
public function getnaxsiruleAction($uuid = null)
|
||||
|
|
|
|||
|
|
@ -439,6 +439,7 @@
|
|||
<tr>
|
||||
<th data-column-id="description" data-type="string" data-sortable="true" data-visible="true">{{ lang._('Description') }}</th>
|
||||
<th data-column-id="ruletype" data-type="boolean" data-sortable="true" data-visible="true">{{ lang._('Rule Type') }}</th>
|
||||
<th data-column-id="identifier" data-type="string" data-sortable="true" data-visible="true">{{ lang._('ID') }}</th>
|
||||
<th data-column-id="message" data-type="string" data-sortable="true" data-visible="true">{{ lang._('Message') }}</th>
|
||||
<th data-column-id="commands" data-width="7em" data-formatter="commands" data-sortable="false">{{ lang._('Commands') }}</th>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in a new issue