public class AlertFilter
extends java.lang.Object
| Constructor and Description |
|---|
AlertFilter(ClientApi api) |
| Modifier and Type | Method and Description |
|---|---|
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)
Adds a new alert filter for the context with the given ID.
|
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)
Adds a new alert filter for the context with the given ID.
|
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)
Adds a new global alert filter.
|
ApiResponse |
alertFilterList(java.lang.String contextid)
Lists the alert filters of the context with the given ID.
|
ApiResponse |
applyAll()
Applies all currently enabled Global and Context alert filters.
|
ApiResponse |
applyContext()
Applies all currently enabled Context alert filters.
|
ApiResponse |
applyGlobal()
Applies all currently enabled Global alert filters.
|
ApiResponse |
globalAlertFilterList()
Lists the global alert filters.
|
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)
Removes an alert filter from the context with the given ID.
|
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)
Removes an alert filter from the context with the given ID.
|
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)
Removes a global alert filter.
|
ApiResponse |
testAll()
Tests all currently enabled Global and Context alert filters.
|
ApiResponse |
testContext()
Tests all currently enabled Context alert filters.
|
ApiResponse |
testGlobal()
Tests all currently enabled Global alert filters.
|
public AlertFilter(ClientApi api)
public ApiResponse alertFilterList(java.lang.String contextid) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse globalAlertFilterList() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic 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) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic 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) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic 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) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic 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) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic 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) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic 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) throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse applyAll() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse applyContext() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse applyGlobal() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse testAll() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse testContext() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiExceptionpublic ApiResponse testGlobal() throws ClientApiException
This component is optional and therefore the API will only work if it is installed
ClientApiException