logstash_auditor 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/logstash_auditor/version.rb +1 -1
- data/sanity/Gemfile +1 -1
- data/sanity/sanity.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15de3b7bc8f802b31c9a99324ee594dede7d60a9
|
4
|
+
data.tar.gz: d662e68359908e268548a567b050331084cbdff4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27ae84a87b8b8f433d0d2e730a107411b47fa08e60e36fabcc0705889a9475cbd99e26effd96f16084b332fab2db6daa05bbc9ea146fbd8038e87a94c58730cd
|
7
|
+
data.tar.gz: 03ff9b3be1fa556039b33d466b1b572eecbb81007f2900e85e69a8b260c43f9522e829c3217f6a269643f11e6c504c694a14e638fc4bff6d7f849409498ed14b
|
data/README.md
CHANGED
@@ -32,7 +32,7 @@ This configuration is used by the docker image during the TDD tests which ensure
|
|
32
32
|
|
33
33
|
Behavioural driven testing can be performed by testing against a local ELK docker image:
|
34
34
|
|
35
|
-
$ sudo docker run -d -v $(pwd)/spec/support/logstash_conf.d:/etc/logstash/conf.d -p 9300:9300 -p 9200:9200 -p 5000:5000 -p 5044:5044 -p 5601:5601 -p
|
35
|
+
$ sudo docker run -d -v $(pwd)/spec/support/logstash_conf.d:/etc/logstash/conf.d -p 9300:9300 -p 9200:9200 -p 5000:5000 -p 5044:5044 -p 5601:5601 -p 8081:8080 sebp/elk
|
36
36
|
|
37
37
|
Wait about 30 seconds for image to fire up. Then perform the tests:
|
38
38
|
|
@@ -57,7 +57,7 @@ Initialize and configure the auditor so:
|
|
57
57
|
```ruby
|
58
58
|
@iut = LogstashAuditor::LogstashAuditor.new
|
59
59
|
@logstash_configuration =
|
60
|
-
{ "host_url" => "http://localhost:
|
60
|
+
{ "host_url" => "http://localhost:8081",
|
61
61
|
"username" => "auditorusername",
|
62
62
|
"password" => "auditorpassword",
|
63
63
|
"timeout" => 3}
|
data/sanity/Gemfile
CHANGED
data/sanity/sanity.rb
CHANGED
@@ -7,7 +7,7 @@ class Main
|
|
7
7
|
def test_sanity
|
8
8
|
@iut = LogstashAuditor::LogstashAuditor.new
|
9
9
|
@logstash_configuration =
|
10
|
-
{ "host_url" => "http://localhost:
|
10
|
+
{ "host_url" => "http://localhost:8081",
|
11
11
|
"username" => "auditorusername",
|
12
12
|
"password" => "auditorpassword",
|
13
13
|
"timeout" => 3}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash_auditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Barney de Villiers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|