MISP / misp-modules

Modules for expansion services, enrichment, import and export in MISP and other tools.
http://misp.github.io/misp-modules
GNU Affero General Public License v3.0
341 stars 233 forks source link

MISP Import Module not displayed in "Populate from" menu #174

Open Vince147 opened 6 years ago

Vince147 commented 6 years ago

Work environment

Questions Answers
Type of issue Bug
OS version (server) Ubuntu Server 16.04.1
OS version (client) Windows 7 x64 Enterprise
PHP version 7.0.25
MISP version / git hash 2.4.82
Browser Chrome, FireFox

Description

Inside an event, the "Populate from" menu is not displaying an import module. The misp-module server is running properly without any error message, the import module feature is activated from server settings, the related module config was entered in import module settings, the module is working and is sending the results only when using CURL.

Here is the steps I've accomplished so far to build the plugin and test it before writing this.

Comment

The MISP server and the MISP module server are on the same host.

When I navigate in MISP, I can see (with the output of the misp-modules -d running) the requests made from the MISP server to the module server when I open an event webpage / when I navigate on the server settings page.

Also good to mention that the MISP server is located on a host that is not connected to the internet. All the modules were installed offline to the latest version available on Python3.

If someone have been in that situation, please let me know. I already consulted issues similar but not exactly the same. Thanks for your help.

Vince147 commented 6 years ago

The problem was discovered. There was a missing field in the server config file:

/var/www/MISP/app/Config/config.php

It seem like the MISP server is not adding that key by default.

Plugin.Import_my_module_import_enabled => true

By manually add it, its now working and i can see the module in Populate from menu.

image

I recommend that someone fix that issue in the MISP project because it not related to the MISP modules server.

iglocska commented 6 years ago

It won't add the key by default unless you fill it out, but it shows up in the UI dynamically.

On Thu, Mar 15, 2018 at 5:09 PM, nacc3ss notifications@github.com wrote:

The problem was discovered. There was a missing field in the server config file:

/var/www/MISP/app/Config/config.php

It seem like the MISP server is not adding that key by default.

Plugin.Import_my_module_import_enabled => true

By manually add it, its now working and i can see the module in Populate from menu.

I recommend that someone fix that issue in the MISP project because it not related to the MISP modules server.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MISP/misp-modules/issues/174#issuecomment-373431530, or mute the thread https://github.com/notifications/unsubscribe-auth/ADf6wEWsaVYWVdq3fcwR9aLSRzyDOYTLks5tepIqgaJpZM4SrZxr .

Vince147 commented 6 years ago

We did deployed the module in two different MISP setup (2.4.82, 2.4.88) and both of them were not adding the enabled key by default. We had to manually create the value in config.php....