From d5f2b716c77c963fe99390a4e04a76f53271b751 Mon Sep 17 00:00:00 2001 From: Sean Newman Date: Sat, 17 Oct 2020 20:24:56 -0400 Subject: [PATCH] Bump version --- deployment/medium/ansible/playbook.yml | 4 ++-- deployment/small/docker/setup.sh | 6 +++--- kibana-plugin/package.json | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deployment/medium/ansible/playbook.yml b/deployment/medium/ansible/playbook.yml index 8d5b28d06..4cce940bc 100644 --- a/deployment/medium/ansible/playbook.yml +++ b/deployment/medium/ansible/playbook.yml @@ -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 @@ -611,4 +611,4 @@ - name: Restart Nginx systemd: name: nginx - state: restarted \ No newline at end of file + state: restarted diff --git a/deployment/small/docker/setup.sh b/deployment/small/docker/setup.sh index 40a92a1d0..07bbcbada 100755 --- a/deployment/small/docker/setup.sh +++ b/deployment/small/docker/setup.sh @@ -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":"root@example.com","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":"dynamicbeat@example.com","roles":["dynamicbeat_reader"]}' @@ -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"]}]}}' \ No newline at end of file +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"]}]}}' diff --git a/kibana-plugin/package.json b/kibana-plugin/package.json index 5dbcec37b..724a41bfb 100644 --- a/kibana-plugin/package.json +++ b/kibana-plugin/package.json @@ -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", @@ -21,4 +21,4 @@ "babel-eslint": "^10.1.0", "typescript": "^4.0.3" } -} \ No newline at end of file +}