socprime / SigmaUI

SIGMA UI is a free open-source application based on the Elastic stack and Sigma Converter (sigmac)
https://tdm.socprime.com
185 stars 34 forks source link

Problem when loading sigmaui #11

Open skysbsb opened 3 years ago

skysbsb commented 3 years ago

Hello, I'm trying to follow the steps documented at https://github.com/socprime/SigmaUI/blob/master/Sigma%20UI%20for%20Kibana%20Installation%20Guide.pdf to use sigmaui with my kibana.

I'm using Kibana version 7.9.1 and installed the sigmaui plugin without any problems.

When clicking on the sigmaui icon in the kibana panel, nothing is loaded, and this error is displayed.

I'm composing the kibana Dockerfile with the following:

FROM docker.elastic.co/kibana/kibana:7.9.1

COPY sigma_ui_1.2.5-elk7.9.1.zip /tmp/sigma_ui_1.2.5-elk7.9.1.zip

RUN /usr/share/kibana/bin/kibana-plugin install file:///tmp/sigma_ui_1.2.5-elk7.9.1.zip

COPY common.json /usr/share/kibana/plugins/socprime_sigma_ui/config/common.json

USER root

RUN yum update -y && \
    yum install -y python3-pip.noarch && \
    pip3 install --no-input pip requests==2.22.0 PyYAML>=3.11 elasticsearch sigmatools

USER kibana

This is the error msg:

Version: 7.9.1
Build: 33912
Error: "exports" is read-only
@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:2:2032456
@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:2:2032481
__webpack_require__@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:2:1038
@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:131:156749
__webpack_require__@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:2:1038
@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:131:206868
__webpack_require__@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:2:1038
requireLegacyFiles@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:65:252671
start@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:2:576473
_callee2$@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:2:612606
l@https://10.2.196.120:5601/33912/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155323
s/o._invoke</<@https://10.2.196.120:5601/33912/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155077
_/</e[t]@https://10.2.196.120:5601/33912/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:368:155680
core_system_asyncGeneratorStep@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:2:603179
_next@https://10.2.196.120:5601/33912/bundles/socprime_sigma_ui.bundle.js:2:603531

common.json:

{
  "debug": true,
  "max_upload_period_in_month": 2,
  "python_path": "/usr/bin/python3.6",
  "tdm_api_integration_tool_path": "/sigmaui/script_tdm_api/tdm_api_for_sigma_ui.py",
  "tpm_sigma_folder_path": "/sigmaui/script_tdm_api/sigmas"
}

sigmaui-templates simgaui-ok sui_sigma_doc-discover

problema sigmaui-error-7 9 1

phoenixml commented 3 years ago

same here @skysbsb did u sorted out ? @socprime are you able to assist us in this regard thank you :)