2
0
mirror of https://github.com/opnsense/docs synced 2024-11-18 21:28:29 +00:00
opensense-docs/source/development/api/core/ids.rst

54 lines
2.6 KiB
ReStructuredText
Raw Normal View History

2020-02-16 15:08:40 +00:00
Ids
~~~
2020-02-16 15:08:40 +00:00
.. csv-table:: Service (ServiceController.php)
: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"
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-02-16 15:08:40 +00:00
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","ids","settings","addPolicy",""
"``POST``","ids","settings","addPolicyRule",""
2020-02-16 15:08:40 +00:00
"``POST``","ids","settings","addUserRule",""
"``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"
"``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"
"``GET``","ids","settings","listRuleMetadata",""
2020-02-16 15:08:40 +00:00
"``GET``","ids","settings","listRulesets",""
"``POST``","ids","settings","searchInstalledRules",""
"``*``","ids","settings","searchPolicy",""
"``*``","ids","settings","searchPolicyRule",""
2020-02-16 15:08:40 +00:00
"``*``","ids","settings","searchUserRule",""
"``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"
"``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:53:31 +00:00
"``<<uses>>``", "", "", "", "*model* `IDS.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/IDS/IDS.xml>`__"