[Intelmq-dev] IntelMQ Manager Release 2.1.0 file collector does not works. invalid key 'extra.file_name'

Sebastian Wagner wagner at cert.at
Thu Oct 31 16:36:00 CET 2019


Dear Majid,

In version 2.1.0 we added the `extra` field to the *report* message
type. But as the harmonization is based on user-modifyable a fully
automated upgrade is not possible. If you did not adapt the
harmonization manually, you can just copy the
`intelmq/etc/harmonization.conf` from the source to
`/opt/intelmq/etc/harmonization.conf` or `/etc/intelmq/harmonization.conf`.

However, I am now working on making this a bit smoother and adding some
code which compares the files and makes minimal upgrades if
automatically possible.

best regards,
Sebastian

On 31/10/2019 12.33, Salehi Ghamsari, Majid wrote:
> Dear community,
>
> After updating to version 2.1.0 the file collector raise exceptions.InvalidKey(key).
> How can I find out what the problem is, this bot has worked very well under 1.1.1?
>
> Please help
> Regards Majid
>
>
> Bot has found a problem.
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.5/dist-packages/intelmq/lib/bot.py", line 267, in start
>     self.process()
>   File "/usr/local/lib/python3.5/dist-packages/intelmq/bots/collectors/file/collector_file.py", line 66, in process
>     template.add("extra.file_name", f)
>   File "/usr/local/lib/python3.5/dist-packages/intelmq/lib/message.py", line 234, in add
>     raise exceptions.InvalidKey(key)
> intelmq.lib.exceptions.InvalidKey: invalid key 'extra.file_name'
>
> Majid Salehi Ghamsari
> Wiss. Mitarbeiter Digital Public Services
> Tel: +49 30 3463-7118
> Fax: +49 30 3463-99-7118
> E-Mail: majid.salehi.ghamsari at fokus.fraunhofer.de
>
> Fraunhofer-Institut 
> für Offene Kommunikationssysteme FOKUS
> Kaiserin-Augusta-Allee 31
> 10589 Berlin
> http://www.fokus.fraunhofer.de
>
>     
>
> _______________________________________________
> Intelmq-dev mailing list
> Intelmq-dev at lists.cert.at
> https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev

-- 
// Sebastian Wagner <wagner at cert.at> - T: +43 1 5056416 7201
// CERT Austria - https://www.cert.at/
// Eine Initiative der nic.at GmbH - https://www.nic.at/
// Firmenbuchnummer 172568b, LG Salzburg


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cert.at/pipermail/intelmq-dev/attachments/20191031/5f5b4b14/attachment.sig>


More information about the Intelmq-dev mailing list