Open brsolomon-deloitte opened 2 years ago
Same thing with https://github.com/StamusNetworks/scirius/blob/master/docker/scirius/bin/create_ILM_policy.sh which tries to contact Elasticsearch indiscriminately.
It would be easy for kibana_reset
in rules/es_data.py to actually check for USE_KIBANA
before trying to make a bunch of API calls to it.
Using local docker image
scirius:test-1
built from scirius at commit 0b8fd6d240b54602679e07b550ff3e2c4dc459b0 fails in trying to connect to Elasticsearch, even thoughlocal_settings.py
defaults to USE_ELASTICSEARCH=False and USE_KIBANA=False.It appears that
docker/scirius/bin/reset_dashboards.sh
doesn't respect these variables whatsoever and callspython manage.py kibana_reset
indiscriminately:https://github.com/StamusNetworks/scirius/blob/0b8fd6d240b54602679e07b550ff3e2c4dc459b0/docker/scirius/bin/reset_dashboards.sh#L25