Class AlertFilter
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.AlertFilterDeprecated
-
- org.zaproxy.clientapi.gen.AlertFilter
-
public class AlertFilter extends AlertFilterDeprecated
This file was automatically generated.
-
-
Constructor Summary
Constructors Constructor Description AlertFilter(ClientApi api)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiResponseaddAlertFilter(java.lang.String contextid, java.lang.String ruleid, java.lang.String newlevel, java.lang.String url, java.lang.String urlisregex, java.lang.String parameter, java.lang.String enabled, java.lang.String parameterisregex, java.lang.String attack, java.lang.String attackisregex, java.lang.String evidence, java.lang.String evidenceisregex, java.lang.String methods)Adds a new alert filter for the context with the given ID.ApiResponseaddGlobalAlertFilter(java.lang.String ruleid, java.lang.String newlevel, java.lang.String url, java.lang.String urlisregex, java.lang.String parameter, java.lang.String enabled, java.lang.String parameterisregex, java.lang.String attack, java.lang.String attackisregex, java.lang.String evidence, java.lang.String evidenceisregex, java.lang.String methods)Adds a new global alert filter.ApiResponsealertFilterList(java.lang.String contextid)Lists the alert filters of the context with the given ID.ApiResponseapplyAll()Applies all currently enabled Global and Context alert filters.ApiResponseapplyContext()Applies all currently enabled Context alert filters.ApiResponseapplyGlobal()Applies all currently enabled Global alert filters.ApiResponseglobalAlertFilterList()Lists the global alert filters.ApiResponseremoveAlertFilter(java.lang.String contextid, java.lang.String ruleid, java.lang.String newlevel, java.lang.String url, java.lang.String urlisregex, java.lang.String parameter, java.lang.String enabled, java.lang.String parameterisregex, java.lang.String attack, java.lang.String attackisregex, java.lang.String evidence, java.lang.String evidenceisregex, java.lang.String methods)Removes an alert filter from the context with the given ID.ApiResponseremoveGlobalAlertFilter(java.lang.String ruleid, java.lang.String newlevel, java.lang.String url, java.lang.String urlisregex, java.lang.String parameter, java.lang.String enabled, java.lang.String parameterisregex, java.lang.String attack, java.lang.String attackisregex, java.lang.String evidence, java.lang.String evidenceisregex, java.lang.String methods)Removes a global alert filter.ApiResponsetestAll()Tests all currently enabled Global and Context alert filters.ApiResponsetestContext()Tests all currently enabled Context alert filters.ApiResponsetestGlobal()Tests all currently enabled Global alert filters.-
Methods inherited from class org.zaproxy.clientapi.gen.deprecated.AlertFilterDeprecated
addAlertFilter, addAlertFilter, addGlobalAlertFilter, removeAlertFilter, removeAlertFilter, removeGlobalAlertFilter
-
-
-
-
Constructor Detail
-
AlertFilter
public AlertFilter(ClientApi api)
-
-
Method Detail
-
alertFilterList
public ApiResponse alertFilterList(java.lang.String contextid) throws ClientApiException
Lists the alert filters of the context with the given ID.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
globalAlertFilterList
public ApiResponse globalAlertFilterList() throws ClientApiException
Lists the global alert filters.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
addAlertFilter
public ApiResponse addAlertFilter(java.lang.String contextid, java.lang.String ruleid, java.lang.String newlevel, java.lang.String url, java.lang.String urlisregex, java.lang.String parameter, java.lang.String enabled, java.lang.String parameterisregex, java.lang.String attack, java.lang.String attackisregex, java.lang.String evidence, java.lang.String evidenceisregex, java.lang.String methods) throws ClientApiException
Adds a new alert filter for the context with the given ID.This component is optional and therefore the API will only work if it is installed
- Specified by:
addAlertFilterin classAlertFilterDeprecated- Throws:
ClientApiException
-
removeAlertFilter
public ApiResponse removeAlertFilter(java.lang.String contextid, java.lang.String ruleid, java.lang.String newlevel, java.lang.String url, java.lang.String urlisregex, java.lang.String parameter, java.lang.String enabled, java.lang.String parameterisregex, java.lang.String attack, java.lang.String attackisregex, java.lang.String evidence, java.lang.String evidenceisregex, java.lang.String methods) throws ClientApiException
Removes an alert filter from the context with the given ID.This component is optional and therefore the API will only work if it is installed
- Specified by:
removeAlertFilterin classAlertFilterDeprecated- Throws:
ClientApiException
-
addGlobalAlertFilter
public ApiResponse addGlobalAlertFilter(java.lang.String ruleid, java.lang.String newlevel, java.lang.String url, java.lang.String urlisregex, java.lang.String parameter, java.lang.String enabled, java.lang.String parameterisregex, java.lang.String attack, java.lang.String attackisregex, java.lang.String evidence, java.lang.String evidenceisregex, java.lang.String methods) throws ClientApiException
Adds a new global alert filter.This component is optional and therefore the API will only work if it is installed
- Specified by:
addGlobalAlertFilterin classAlertFilterDeprecated- Throws:
ClientApiException
-
removeGlobalAlertFilter
public ApiResponse removeGlobalAlertFilter(java.lang.String ruleid, java.lang.String newlevel, java.lang.String url, java.lang.String urlisregex, java.lang.String parameter, java.lang.String enabled, java.lang.String parameterisregex, java.lang.String attack, java.lang.String attackisregex, java.lang.String evidence, java.lang.String evidenceisregex, java.lang.String methods) throws ClientApiException
Removes a global alert filter.This component is optional and therefore the API will only work if it is installed
- Specified by:
removeGlobalAlertFilterin classAlertFilterDeprecated- Throws:
ClientApiException
-
applyAll
public ApiResponse applyAll() throws ClientApiException
Applies all currently enabled Global and Context alert filters.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
applyContext
public ApiResponse applyContext() throws ClientApiException
Applies all currently enabled Context alert filters.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
applyGlobal
public ApiResponse applyGlobal() throws ClientApiException
Applies all currently enabled Global alert filters.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
testAll
public ApiResponse testAll() throws ClientApiException
Tests all currently enabled Global and Context alert filters.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
testContext
public ApiResponse testContext() throws ClientApiException
Tests all currently enabled Context alert filters.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
testGlobal
public ApiResponse testGlobal() throws ClientApiException
Tests all currently enabled Global alert filters.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
-