2020-02-16 15:08:40 +00:00
|
|
|
Ids
|
2018-05-06 13:25:26 +00:00
|
|
|
~~~
|
|
|
|
|
2020-02-16 15:08:40 +00:00
|
|
|
.. csv-table:: Service (ServiceController.php)
|
2018-05-06 13:25:26 +00:00
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
2020-02-16 15:08:40 +00:00
|
|
|
"``POST``","ids","service","dropAlertLog",""
|
|
|
|
"``GET``","ids","service","getAlertInfo","$alertId,$fileid="""
|
|
|
|
"``GET``","ids","service","getAlertLogs",""
|
|
|
|
"``POST``","ids","service","queryAlerts",""
|
|
|
|
"``POST``","ids","service","reconfigure",""
|
|
|
|
"``POST``","ids","service","reloadRules",""
|
|
|
|
"``POST``","ids","service","updateRules","$wait=null"
|
2018-05-06 13:25:26 +00:00
|
|
|
|
2020-04-07 18:53:31 +00:00
|
|
|
"``<<uses>>``", "", "", "", "*model* `IDS.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/IDS/IDS.xml>`__"
|
2020-04-07 18:49:44 +00:00
|
|
|
|
2020-02-16 15:08:40 +00:00
|
|
|
.. csv-table:: Resources (SettingsController.php)
|
2018-05-06 13:25:26 +00:00
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
2021-02-11 10:34:32 +00:00
|
|
|
"``POST``","ids","settings","addPolicy",""
|
|
|
|
"``POST``","ids","settings","addPolicyRule",""
|
2020-02-16 15:08:40 +00:00
|
|
|
"``POST``","ids","settings","addUserRule",""
|
2021-02-11 10:34:32 +00:00
|
|
|
"``GET``","ids","settings","checkPolicyRule",""
|
|
|
|
"``POST``","ids","settings","delPolicy","$uuid"
|
|
|
|
"``POST``","ids","settings","delPolicyRule","$uuid"
|
2020-02-16 15:08:40 +00:00
|
|
|
"``POST``","ids","settings","delUserRule","$uuid"
|
2021-02-11 10:34:32 +00:00
|
|
|
"``GET``","ids","settings","getPolicy","$uuid=null"
|
|
|
|
"``GET``","ids","settings","getPolicyRule","$uuid=null"
|
2020-02-16 15:08:40 +00:00
|
|
|
"``GET``","ids","settings","getRuleInfo","$sid=null"
|
|
|
|
"``GET``","ids","settings","getRuleset","$id"
|
|
|
|
"``GET``","ids","settings","getRulesetproperties",""
|
|
|
|
"``GET``","ids","settings","getUserRule","$uuid=null"
|
2020-07-19 17:29:07 +00:00
|
|
|
"``GET``","ids","settings","listRuleMetadata",""
|
2020-02-16 15:08:40 +00:00
|
|
|
"``GET``","ids","settings","listRulesets",""
|
|
|
|
"``POST``","ids","settings","searchInstalledRules",""
|
2021-02-11 10:34:32 +00:00
|
|
|
"``*``","ids","settings","searchPolicy",""
|
|
|
|
"``*``","ids","settings","searchPolicyRule",""
|
2020-02-16 15:08:40 +00:00
|
|
|
"``*``","ids","settings","searchUserRule",""
|
2021-02-11 10:34:32 +00:00
|
|
|
"``POST``","ids","settings","setPolicy","$uuid"
|
|
|
|
"``POST``","ids","settings","setPolicyRule","$uuid"
|
2020-02-16 15:08:40 +00:00
|
|
|
"``POST``","ids","settings","setRule","$sid"
|
|
|
|
"``POST``","ids","settings","setRuleset","$filename"
|
|
|
|
"``POST``","ids","settings","setRulesetproperties",""
|
|
|
|
"``POST``","ids","settings","setUserRule","$uuid"
|
2021-02-11 10:34:32 +00:00
|
|
|
"``POST``","ids","settings","togglePolicy","$uuid,$enabled=null"
|
|
|
|
"``POST``","ids","settings","togglePolicyRule","$uuid,$enabled=null"
|
2020-02-16 15:08:40 +00:00
|
|
|
"``POST``","ids","settings","toggleRule","$sids,$enabled=null"
|
|
|
|
"``POST``","ids","settings","toggleRuleset","$filenames,$enabled=null"
|
|
|
|
"``POST``","ids","settings","toggleUserRule","$uuid,$enabled=null"
|
2020-04-07 18:49:44 +00:00
|
|
|
|
2020-04-07 18:53:31 +00:00
|
|
|
"``<<uses>>``", "", "", "", "*model* `IDS.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/IDS/IDS.xml>`__"
|