Public Member Functions | |
| void | get (out IntrusionPreventionConfig config) |
| void | set (out kerio::web::ErrorList errors, in IntrusionPreventionConfig config) |
| void | getSignatureDescription (out string description, in string id) |
| void | getIgnoredRules (out RuleReferenceList ignored) |
| void | setIgnoredRules (out kerio::web::ErrorList errors, in RuleReferenceList ignored) |
| void | update (in boolean force) |
| void | getUpdateStatus (out IntrusionPreventionInfo status) |
| void webadmin::IntrusionPrevention::get | ( | out IntrusionPreventionConfig | config | ) |
Returns configuration
| kerio::web::ApiException | -32001 Session expired. - "The user is not logged in." 1004 Access denied. - "Insufficient rights to perform the requested operation." |
| void webadmin::IntrusionPrevention::getIgnoredRules | ( | out RuleReferenceList | ignored | ) |
Returns list of ignored signatures
| kerio::web::ApiException | -32001 Session expired. - "The user is not logged in." 1004 Access denied. - "Insufficient rights to perform the requested operation." |
| void webadmin::IntrusionPrevention::getSignatureDescription | ( | out string | description, |
| in string | id | ||
| ) |
Returns signature description
| kerio::web::ApiException | -32001 Session expired. - "The user is not logged in." 1004 Access denied. - "Insufficient rights to perform the requested operation." |
| void webadmin::IntrusionPrevention::getUpdateStatus | ( | out IntrusionPreventionInfo | status | ) |
Returns actual state of Update
| kerio::web::ApiException | -32001 Session expired. - "The user is not logged in." 1004 Access denied. - "Insufficient rights to perform the requested operation." |
| void webadmin::IntrusionPrevention::set | ( | out kerio::web::ErrorList | errors, |
| in IntrusionPreventionConfig | config | ||
| ) |
Stores configuration
| errors | - list of errors 8002 Database error. - "Unable to modify blacklist '%1'." 8002 Database error. - "Unable to modify ports for service '%1'." |
| config | - complete configuration of Intrusion Prevention system |
| kerio::web::ApiException | -32001 Session expired. - "The user is not logged in." 1004 Access denied. - "Insufficient rights to perform the requested operation." |
| void webadmin::IntrusionPrevention::setIgnoredRules | ( | out kerio::web::ErrorList | errors, |
| in RuleReferenceList | ignored | ||
| ) |
Sets list of ignored signatures
| errors | - list of errors 8002 Database error. - "Unable to create exclusion for rule '%1'." 8002 Database error. - "Unable to remove exclusion for rule '%1'." |
| ignored | - List of rules that are excluded from usage in IPS |
| kerio::web::ApiException | -32001 Session expired. - "The user is not logged in." 1004 Access denied. - "Insufficient rights to perform the requested operation." |
| void webadmin::IntrusionPrevention::update | ( | in boolean | force | ) |
Checks new version of database and updates it
| kerio::web::ApiException | -32001 Session expired. - "The user is not logged in." 1004 Access denied. - "Insufficient rights to perform the requested operation." |