[IntelMQ-users] Custom harmonization configuration in tests
Vaclav Bruzek
vasek.bruzek at gmail.com
Wed Feb 28 08:39:52 CET 2024
Dear IntelMQ Developers & Users,
I'm trying to incorporate my custom fields in Events and Reports as well as
test cases for my custom bots in unit tests. What I¨m still encountering is
that the Github actions are failing since my custom fields in harmonization
are not known. I've added step which should create the harmonization file
in /opt/intelmq/etc/ like so which is the only change to the action:
- name: Include custom harmonization names
run: mkdir -p /opt/intelmq/etc/ && cp docker/fast/harmonization.conf
/opt/intelmq/etc/
However, intelmq still falls back to the default one. If I try to run
manually load_configuration("/opt/intelmq/etc/harmonization.conf") the
correct result is displayed.
Does anybody know how to supply the custom configuration to unit tests?
Sincerely,
Václav Brůžek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20240228/3343ef37/attachment.htm>
More information about the IntelMQ-users
mailing list