mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
Fix mispelled db filename; ensure ELASTICCURL is used for loading config objects
This commit is contained in:
@@ -12,4 +12,4 @@ sed -i "s/PLACEHOLDER/{{ MANAGER }}/g" /opt/so/conf/kibana/saved_objects.ndjson
|
|||||||
wait_for_web_response "http://localhost:5601/app/kibana" "Elastic" 300 "{{ ELASTICCURL }}"
|
wait_for_web_response "http://localhost:5601/app/kibana" "Elastic" 300 "{{ ELASTICCURL }}"
|
||||||
|
|
||||||
# Load saved objects
|
# Load saved objects
|
||||||
curl -L -X POST "localhost:5601/api/saved_objects/_import?overwrite=true" -H "kbn-xsrf: true" --form file=@/opt/so/conf/kibana/saved_objects.ndjson >> /opt/so/log/kibana/misc.log
|
{{ ELASTICCURL }} -L -X POST "localhost:5601/api/saved_objects/_import?overwrite=true" -H "kbn-xsrf: true" --form file=@/opt/so/conf/kibana/saved_objects.ndjson >> /opt/so/log/kibana/misc.log
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
beacons:
|
beacons:
|
||||||
watch_sqlite_db:
|
watch_sqlite_db:
|
||||||
- files:
|
- files:
|
||||||
/opt/so/conf/kratos/db/sqlite.db:
|
/opt/so/conf/kratos/db/db.sqlite:
|
||||||
mask:
|
mask:
|
||||||
- modify
|
- modify
|
||||||
- beacon_module: inotify
|
- beacon_module: inotify
|
||||||
|
|||||||
Reference in New Issue
Block a user