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
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ Each section organizes entries into the following subsections:
[Unreleased]
------------

[0.6.2] - 2020-02-16
--------------------

This release fixes a bug with the SSH check in Dynamicbeat.

### Dynamicbeat

#### Fixed

- SSH now matches content when MatchContent is true (#288)

[0.6.1] - 2020-01-26
--------------------

Expand Down Expand Up @@ -310,12 +321,13 @@ This release is in preparation for ISTS 2020.

The initial release of Scorestack.

[Unreleased]: https://github.com/scorestack/scorestack/compare/v0.6.1...dev
[Unreleased]: https://github.com/scorestack/scorestack/compare/v0.6.2...dev
[0.6.2]: https://github.com/scorestack/scorestack/compare/v0.6.1...v0.6.2
[0.6.1]: https://github.com/scorestack/scorestack/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/scorestack/scorestack/compare/v0.5.1...v0.6.0
[0.5.1]: https://github.com/scorestack/scorestack/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/scorestack/scorestack/compare/v0.4...v0.5.0
[0.4.0]: https://github.com/scorestack/scorestack/compare/v0.3...v0.4
[0.3.0]: https://github.com/scorestack/scorestack/compare/v0.2...v0.3
[0.2.0]: https://github.com/scorestack/scorestack/compare/v0.1...v0.2
[0.1.0]: https://github.com/scorestack/scorestack/releases/tag/v0.1.0
[0.1.0]: https://github.com/scorestack/scorestack/releases/tag/v0.1.0
2 changes: 1 addition & 1 deletion deployment/medium/ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@
- Restart Kibana

- name: Install plugin
command: /usr/share/kibana/bin/kibana-plugin --allow-root install https://github.com/scorestack/scorestack/releases/download/v0.6.1/kibana-plugin-v0.6.1.zip
command: /usr/share/kibana/bin/kibana-plugin --allow-root install https://github.com/scorestack/scorestack/releases/download/v0.6.2/kibana-plugin-v0.6.2.zip
args:
creates: /usr/share/kibana/plugins/scorestack
notify:
Expand Down
2 changes: 1 addition & 1 deletion deployment/small/docker/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ 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.1/kibana-plugin-v0.6.1.zip"
docker exec ${KIBANA_CONTAINER} /bin/bash -c "bin/kibana-plugin install https://github.com/scorestack/scorestack/releases/download/v0.6.2/kibana-plugin-v0.6.2.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"]}'
Expand Down
2 changes: 1 addition & 1 deletion dynamicbeat/checks/ssh/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (d *Definition) Run(ctx context.Context) schema.CheckResult {
}

// Check if we are going to match content
if matchContent, _ := strconv.ParseBool(d.MatchContent); matchContent {
if matchContent, _ := strconv.ParseBool(d.MatchContent); !matchContent {
// If we made it here the check passes
result.Message = fmt.Sprintf("Command %s executed successfully: %s", d.Cmd, output)
result.Passed = true
Expand Down
4 changes: 2 additions & 2 deletions kibana-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "scorestack",
"version": "0.6.1",
"version": "0.6.2",
"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.1 --kibana-version 7.9.2",
"build": "plugin-helpers build --build-version 0.6.2 --kibana-version 7.9.2",
"kbn": "node ../../scripts/kbn",
"lint": "eslint --ignore-path .gitignore --color .",
"plugin-helpers": "plugin-helpers",
Expand Down