amuehlem / MISP-RPM

RPM packages for MISP
34 stars 15 forks source link

How to add misp expansion modules? #32

Closed aungthurhahein closed 4 years ago

aungthurhahein commented 4 years ago

I was figuring out a way to add some missing modules from this repo:https://github.com/MISP/misp-modules.

I added the file to python MISP-modules path and restart Dameon and services but didn't see the new module added.

Any idea on how to achieve this? Thanks.

amuehlem commented 4 years ago

How did you add the missing modules? They must be within the python paths to be found by the misp-modules daemon.

aungthurhahein commented 4 years ago

@amuehlem I added a new python file in /usr/lib/python3.6/site-packages/misp_modules/modules/exapnsion. Afterward, I restarted the misp modules services but it didn't show up in the MISP web UI. Any help is appreciated and I am new to MISP as well.

amuehlem commented 4 years ago

Have you added your module to the __init__.py file in the same directory?

/usr/lib/python3.6/site-packages/misp_modules/modules/expansion/__init__.py

See https://github.com/MISP/misp-modules#how-to-add-your-own-misp-modules