Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deployment/medium/ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
- Restart Kibana

- name: Install plugin
command: /usr/share/kibana/bin/kibana-plugin install https://github.com/scorestack/scorestack/releases/download/v0.6.0-rc2/kibana-plugin-v0.6.0-rc2.zip
command: /usr/share/kibana/bin/kibana-plugin install https://github.com/scorestack/scorestack/releases/download/v0.6.0/kibana-plugin-v0.6.0.zip
args:
creates: /usr/share/kibana/plugins/scorestack
become_user: kibana
Expand Down Expand Up @@ -611,4 +611,4 @@
- name: Restart Nginx
systemd:
name: nginx
state: restarted
state: restarted
6 changes: 3 additions & 3 deletions deployment/small/docker/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ EOF
shred -uvz /tmp/cluster-passwords.txt

# Install kibana plugin
docker exec ${KIBANA_CONTAINER} /bin/bash -c "bin/kibana-plugin install https://github.com/scorestack/scorestack/releases/download/v0.6.0-rc2/kibana-plugin-v0.6.0-rc2.zip"
docker exec ${KIBANA_CONTAINER} /bin/bash -c "bin/kibana-plugin install https://github.com/scorestack/scorestack/releases/download/v0.6.0/kibana-plugin-v0.6.0.zip"

# Create admin user
curl -k -XPOST -u elastic:${elastic_pass} ${ELASTICSEARCH_HOST}/_security/user/root -H "Content-Type: application/json" -d '{"password":"changeme","full_name":"Extra Superuser","email":"[email protected]","roles":["superuser"]}'

# Add dynamicbeat role and user
# Add dynamicbeat role and user
curl -k -XPOST -u elastic:${elastic_pass} ${ELASTICSEARCH_HOST}/_security/role/dynamicbeat_reader -H "Content-Type: application/json" -d '{"indices":[{"names":["checkdef*","attrib_*"],"privileges":["read"]}]}'
curl -k -XPOST -u elastic:${elastic_pass} ${ELASTICSEARCH_HOST}/_security/user/dynamicbeat -H "Content-Type: application/json" -d '{"password":"changeme","full_name":"Dynamicbeat Definition-Reading User","email":"[email protected]","roles":["dynamicbeat_reader"]}'

Expand Down Expand Up @@ -105,4 +105,4 @@ curl -kX PUT -u root:changeme ${KIBANA_HOST}/api/security/role/spectator -H 'Con

# Add admin roles
curl -kX PUT -u root:changeme ${KIBANA_HOST}/api/security/role/attribute-admin -H 'Content-Type: application/json' -H 'kbn-xsrf: true' -d '{"elasticsearch":{"indices":[{"names":["attrib_*"],"privileges":["all"]}]}}'
curl -kX PUT -u root:changeme ${KIBANA_HOST}/api/security/role/check-admin -H 'Content-Type: application/json' -H 'kbn-xsrf: true' -d '{"elasticsearch":{"indices":[{"names":["check*"],"privileges":["all"]}]}}'
curl -kX PUT -u root:changeme ${KIBANA_HOST}/api/security/role/check-admin -H 'Content-Type: application/json' -H 'kbn-xsrf: true' -d '{"elasticsearch":{"indices":[{"names":["check*"],"privileges":["all"]}]}}'
6 changes: 3 additions & 3 deletions kibana-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "scorestack",
"version": "0.6.0-rc2",
"version": "0.6.0",
"description": "A Kibana plugin for viewing and modifying Scorestack checks and attributes.",
"private": true,
"scripts": {
"prebuild": "node ../../scripts/build_kibana_platform_plugins --verbose --dist --filter scorestack",
"build": "plugin-helpers build --build-version 0.6.0-rc2 --kibana-version 7.9.2",
"build": "plugin-helpers build --build-version 0.6.0 --kibana-version 7.9.2",
"kbn": "node ../../scripts/kbn",
"lint": "eslint --ignore-path .gitignore --color .",
"plugin-helpers": "plugin-helpers",
Expand All @@ -21,4 +21,4 @@
"babel-eslint": "^10.1.0",
"typescript": "^4.0.3"
}
}
}