@@ -29,7 +29,7 @@ function AlertFilter (clientApi) {
2929/**
3030 * Lists the alert filters of the context with the given ID.
3131 * This component is optional and therefore the API will only work if it is installed
32- * @param {string } contextid
32+ * @param {string } contextid - The numeric ID of the context for which the filters should be listed.
3333 **/
3434AlertFilter . prototype . alertFilterList = function ( args ) {
3535 return this . api . request ( '/alertFilter/view/alertFilterList/' , { contextId : args . contextid } )
@@ -46,19 +46,19 @@ AlertFilter.prototype.globalAlertFilterList = function () {
4646/**
4747 * Adds a new alert filter for the context with the given ID.
4848 * This component is optional and therefore the API will only work if it is installed
49- * @param {string } contextid
50- * @param {string } ruleid
51- * @param {string } newlevel
52- * @param {string } url
53- * @param {string } urlisregex
54- * @param {string } parameter
55- * @param {string } enabled
56- * @param {string } parameterisregex
57- * @param {string } attack
58- * @param {string } attackisregex
59- * @param {string } evidence
60- * @param {string } evidenceisregex
61- * @param {string } methods
49+ * @param {string } contextid - The numeric ID of the context for which the filter should be added.
50+ * @param {string } ruleid - The numeric ID of the rule for which the filter should apply.
51+ * @param {string } newlevel - The numeric risk representation ('0 - Informational' through '3 - High') ['-1 - False Positive'].
52+ * @param {string } url - The URL for which the filter should apply (can be regex).
53+ * @param {string } urlisregex - A boolean indicating whether or not the URL is a regex.
54+ * @param {string } parameter - The parameter name for which the filter should apply (can be regex).
55+ * @param {string } enabled - A boolean indicating whether or not the filter should be enabled.
56+ * @param {string } parameterisregex - A boolean indicating whether or not the parameter name is a regex.
57+ * @param {string } attack - The attack value for which the filter should apply (can be regex).
58+ * @param {string } attackisregex - A boolean indicating whether or not the attack value is a regex.
59+ * @param {string } evidence - The evidence value for which the filter should apply (can be regex).
60+ * @param {string } evidenceisregex - A boolean indicating whether or not the evidence value is a regex.
61+ * @param {string } methods - The HTTP methods (comma separated) for which the filter should apply.
6262 **/
6363AlertFilter . prototype . addAlertFilter = function ( args ) {
6464 const params = { contextId : args . contextid , ruleId : args . ruleid , newLevel : args . newlevel }
@@ -98,19 +98,19 @@ AlertFilter.prototype.addAlertFilter = function (args) {
9898/**
9999 * Removes an alert filter from the context with the given ID.
100100 * This component is optional and therefore the API will only work if it is installed
101- * @param {string } contextid
102- * @param {string } ruleid
103- * @param {string } newlevel
104- * @param {string } url
105- * @param {string } urlisregex
106- * @param {string } parameter
107- * @param {string } enabled
108- * @param {string } parameterisregex
109- * @param {string } attack
110- * @param {string } attackisregex
111- * @param {string } evidence
112- * @param {string } evidenceisregex
113- * @param {string } methods
101+ * @param {string } contextid - The numeric ID of the context for which the filter should be removed.
102+ * @param {string } ruleid - The numeric ID of the rule for which the filter applies.
103+ * @param {string } newlevel - The numeric risk representation ('0 - Informational' through '3 - High') ['-1 - False Positive'].
104+ * @param {string } url - The URL for which the filter applies (can be regex).
105+ * @param {string } urlisregex - A boolean indicating whether or not the URL is a regex.
106+ * @param {string } parameter - The parameter name for which the filter applies (can be regex).
107+ * @param {string } enabled - A boolean indicating whether or not the filter should be enabled.
108+ * @param {string } parameterisregex - A boolean indicating whether or not the parameter name is a regex.
109+ * @param {string } attack - The attack value for which the filter applies (can be regex).
110+ * @param {string } attackisregex - A boolean indicating whether or not the attack value is a regex.
111+ * @param {string } evidence - The evidence value for which the filter applies (can be regex).
112+ * @param {string } evidenceisregex - A boolean indicating whether or not the evidence value is a regex.
113+ * @param {string } methods - The HTTP methods (comma separated) for which the filter applies.
114114 **/
115115AlertFilter . prototype . removeAlertFilter = function ( args ) {
116116 const params = { contextId : args . contextid , ruleId : args . ruleid , newLevel : args . newlevel }
@@ -150,18 +150,18 @@ AlertFilter.prototype.removeAlertFilter = function (args) {
150150/**
151151 * Adds a new global alert filter.
152152 * This component is optional and therefore the API will only work if it is installed
153- * @param {string } ruleid
154- * @param {string } newlevel
155- * @param {string } url
156- * @param {string } urlisregex
157- * @param {string } parameter
158- * @param {string } enabled
159- * @param {string } parameterisregex
160- * @param {string } attack
161- * @param {string } attackisregex
162- * @param {string } evidence
163- * @param {string } evidenceisregex
164- * @param {string } methods
153+ * @param {string } ruleid - The numeric ID of the rule for which the filter should apply.
154+ * @param {string } newlevel - The numeric risk representation ('0 - Informational' through '3 - High') ['-1 - False Positive'].
155+ * @param {string } url - The URL for which the filter should apply (can be regex).
156+ * @param {string } urlisregex - A boolean indicating whether or not the URL is a regex.
157+ * @param {string } parameter - The parameter name for which the filter should apply (can be regex).
158+ * @param {string } enabled - A boolean indicating whether or not the filter should be enabled.
159+ * @param {string } parameterisregex - A boolean indicating whether or not the parameter name is a regex.
160+ * @param {string } attack - The attack value for which the filter should apply (can be regex).
161+ * @param {string } attackisregex - A boolean indicating whether or not the attack value is a regex.
162+ * @param {string } evidence - The evidence value for which the filter should apply (can be regex).
163+ * @param {string } evidenceisregex - A boolean indicating whether or not the evidence value is a regex.
164+ * @param {string } methods - The HTTP methods (comma separated) for which the filter should apply.
165165 **/
166166AlertFilter . prototype . addGlobalAlertFilter = function ( args ) {
167167 const params = { ruleId : args . ruleid , newLevel : args . newlevel }
@@ -201,18 +201,18 @@ AlertFilter.prototype.addGlobalAlertFilter = function (args) {
201201/**
202202 * Removes a global alert filter.
203203 * This component is optional and therefore the API will only work if it is installed
204- * @param {string } ruleid
205- * @param {string } newlevel
206- * @param {string } url
207- * @param {string } urlisregex
208- * @param {string } parameter
209- * @param {string } enabled
210- * @param {string } parameterisregex
211- * @param {string } attack
212- * @param {string } attackisregex
213- * @param {string } evidence
214- * @param {string } evidenceisregex
215- * @param {string } methods
204+ * @param {string } ruleid - The numeric ID of the rule for which the filter applies.
205+ * @param {string } newlevel - The numeric risk representation ('0 - Informational' through '3 - High') ['-1 - False Positive'].
206+ * @param {string } url - The URL for which the filter applies (can be regex).
207+ * @param {string } urlisregex - A boolean indicating whether or not the URL is a regex.
208+ * @param {string } parameter - The parameter name for which the filter applies (can be regex).
209+ * @param {string } enabled - A boolean indicating whether or not the filter should be enabled.
210+ * @param {string } parameterisregex - A boolean indicating whether or not the parameter name is a regex.
211+ * @param {string } attack - The attack value for which the filter applies (can be regex).
212+ * @param {string } attackisregex - A boolean indicating whether or not the attack value is a regex.
213+ * @param {string } evidence - The evidence value for which the filter applies (can be regex).
214+ * @param {string } evidenceisregex - A boolean indicating whether or not the evidence value is a regex.
215+ * @param {string } methods - The HTTP methods (comma separated) for which the filter applies.
216216 **/
217217AlertFilter . prototype . removeGlobalAlertFilter = function ( args ) {
218218 const params = { ruleId : args . ruleid , newLevel : args . newlevel }
0 commit comments