Error Message in Prewikka 1.0.0 RC1

Alexandre DE DOMMELIN <[email protected]> Fri, 05 Feb 2010 15:01:29 +0000
Newsgroups gmane.comp.security.ids.prelude.user
Message-ID <[email protected]>
Hi, 

I've just installed the debian packages of the release candidate version
and found a bug in Prewikka. After upgrade the alert listing screen fails
with the following errors : 

***
Parameters Normalization failed
Invalid value 'none' for parameter 'alert.assessment.impact.severity'
***

I've found a quick fix (see at the bottom) but then I've got this error : 

***
Parameters Normalization failed
Invalid value 'none' for parameter 'alert.assessment.impact.completion'
***

So i've made a quick&dirty patch which allows me to play with the
interface, obviously it's a temporary solution as I don't know all the
impacts of using it :

--- alertlisting.py.orig        2010-02-05 15:48:48.000000000 +0100
+++ alertlisting.py     2010-02-05 15:53:45.000000000 +0100
@@ -273,11 +273,11 @@
         do_load = MessageListingParameters.normalize(self, view_name,
user)
 
         for severity in self["alert.assessment.impact.severity"]:
-            if not severity in ("info", "low", "medium", "high", "n/a"):
+            if not severity in ("info", "low", "medium", "high", "n/a",
"none"):
                 raise
view.InvalidParameterValueError("alert.assessment.impact.severity",
severity)
 
         for completion in self["alert.assessment.impact.completion"]:
-            if not completion in ("succeeded", "failed", "n/a"):
+            if not completion in ("succeeded", "failed", "n/a", "none"):
                 raise
view.InvalidParameterValueError("alert.assessment.impact.completion",
completion)
 
         for type in self["alert.type"]:


For information here are the prelude related packages installed : 
ii  libprelude2                     1.0.0~rc1-1        Security
Information Management System [ Bas
ii  libpreludedb0                   1.0.0~rc1-1        Security
Information Management System [ Bas
ii  prelude-correlator              1.0.0~rc2-1        Security
Information Management System [ Cor
ii  prelude-lml                     1.0.0~rc1-1        Security
Information Management System [ Log
ii  prelude-manager                 1.0.0~rc1-1        Security
Information Management System [ Man
ii  prewikka                        1.0.0~rc1-2        Security
Information Management System [ Web
ii  python-prelude                  1.0.0~rc1-1        Security
Information Management System [ Bas
ii  python-preludedb                1.0.0~rc1-1        Security
Information Management System [ Bas


Bests,

Alex


_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-user