diff --git a/src/opnsense/mvc/app/controllers/OPNsense/IDS/forms/dialogRule.xml b/src/opnsense/mvc/app/controllers/OPNsense/IDS/forms/dialogRule.xml index 645f96ff9..39ad479a7 100644 --- a/src/opnsense/mvc/app/controllers/OPNsense/IDS/forms/dialogRule.xml +++ b/src/opnsense/mvc/app/controllers/OPNsense/IDS/forms/dialogRule.xml @@ -29,4 +29,10 @@ info + + action + + dropdown + set action to perform here, only used when in IPS mode + diff --git a/src/opnsense/mvc/app/views/OPNsense/IDS/index.volt b/src/opnsense/mvc/app/views/OPNsense/IDS/index.volt index 97c830a6e..cfd7dc43a 100644 --- a/src/opnsense/mvc/app/views/OPNsense/IDS/index.volt +++ b/src/opnsense/mvc/app/views/OPNsense/IDS/index.volt @@ -210,6 +210,7 @@ POSSIBILITY OF SUCH DAMAGE. $("#grid-installedrules").UIBootgrid( { search:'/api/ids/settings/searchinstalledrules', get:'/api/ids/settings/getRuleInfo/', + set:'/api/ids/settings/setRule/', options:{ requestHandler:addRuleFilters, rowCount:[10, 25, 50,100,500,1000] , @@ -441,6 +442,7 @@ POSSIBILITY OF SUCH DAMAGE. {{ lang._('sid') }} + {{ lang._('Action') }} {{ lang._('Source') }} {{ lang._('ClassType') }} {{ lang._('Message') }} @@ -523,5 +525,5 @@ POSSIBILITY OF SUCH DAMAGE. -{{ partial("layout_partials/base_dialog",['fields':formDialogRule,'id':'DialogRule','label':'Rule details','hasSaveBtn':'false','msgzone_width':1])}} +{{ partial("layout_partials/base_dialog",['fields':formDialogRule,'id':'DialogRule','label':'Rule details','hasSaveBtn':'true','msgzone_width':1])}} {{ partial("layout_partials/base_dialog",['fields':formDialogAlert,'id':'DialogAlert','label':'Alert details','hasSaveBtn':'false','msgzone_width':1])}}