All Classes Files Functions Variables Pages
webadmin::IntrusionPrevention Interface Reference

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)
 

Member Function Documentation

void webadmin::IntrusionPrevention::get ( out IntrusionPreventionConfig  config)

Returns configuration

Exceptions
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

Exceptions
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

Exceptions
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

Exceptions
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

Parameters
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
Exceptions
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

Parameters
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
Exceptions
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

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."

The documentation for this interface was generated from the following file: