PreludeEasy python binding

Philippe Blondin <[email protected]> Mon, 20 Sep 2010 15:11:19 -0400
Newsgroups gmane.comp.security.ids.prelude.user
Message-ID <[email protected]>

Hi everyone!

I'm currently trying to build a sensor for OpenVAS using PreludeEasy
bindings for Python. Everything is running smoothly excepts for a small
issue. When I instantiate my ClientEasy it sends an Heartbeat to
prelude-manager. Thing is, every fields of the Heartbeat are empty or
'unknown' excepts for the name since the value is passed to the
constructor like this : client = PreludeEasy.ClientEasy("OpenVAS")

Now I'm wondering how can I fill the other fields of Heartbeat ? For
instance : "Model, Name, Version, Class, Manufacturer". I've set
accordingly the profile config, but it seems it doesn't get parsed.

$ cat /usr/local/etc/prelude/default/openvas.conf
>>>>>>>>>>>>>>

[prelude]

# Set heartbeat interval, the default value is 600 seconds (10 minutes).
#
# heartbeat-interval = 600

 analyzer-name = OpenVAS
 analyzer-model = OpenVAS
 analyzer-version = 3.0.2
 analyzer-class = AVS
 analyzer-manufacturer = http://www.openvas.org/
 # analyzer-os-type = Linux

 node-name = TEST-01
 node-location = DMZ
 node-category = unknown

[Node-Address]

 address = 10.0.1.1
 category = ipv4-addr

<<<<<<<<<<<<<<<<

Thanks a lot!

P.

_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-user
pblondin.vcf (text/x-vcard, 220 B)
begin:vcard
fn:Philippe Blondin
n:Blondin;Philippe
org:Gardien Virtuel inc.
email;internet:[email protected]
title;quoted-printable:Analyste en s=C3=A9curit=C3=A9 TI
x-mozilla-html:FALSE
version:2.1
end:vcard