logstash_auditor 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash_auditor/version.rb +1 -1
- data/logstash_auditor.gemspec +1 -0
- data/sanity/Gemfile +2 -1
- data/sanity/sanity.rb +5 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9cc6d064d3d11f14686acb254176b11ee624ff8
|
4
|
+
data.tar.gz: 24ddd148e81256ae84904d5d57e54c72b7452ff8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e0d814443d6778d2a8122ba62dfaff92957a84e90caa06c388d4e879d58c61c0143c49699f01b7d445cd018dd6eec9dd7773cdb1239d482357052b80efe0c4f
|
7
|
+
data.tar.gz: 67d91aff5fdd7ae9808f04e170f2ab972c1b283a709bd61ef7e386662f61e662afb975a67d81e30a188b326416073c23a4101f04a09b41d9f40a16554ad62680
|
data/logstash_auditor.gemspec
CHANGED
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_development_dependency "rspec", "~> 3.0"
|
25
25
|
spec.add_development_dependency "byebug", "~> 9"
|
26
26
|
spec.add_development_dependency "elasticsearch", "~> 1"
|
27
|
+
spec.add_development_dependency "soar_auditing_format", "~> 0.0.2"
|
27
28
|
|
28
29
|
spec.add_dependency "http", "~> 2"
|
29
30
|
spec.add_dependency "soar_auditor_api", "~> 0.0.5"
|
data/sanity/Gemfile
CHANGED
data/sanity/sanity.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
require 'logstash_auditor'
|
2
|
+
require 'soar_auditing_format'
|
2
3
|
require 'time'
|
4
|
+
require 'securerandom'
|
3
5
|
|
4
6
|
class Main
|
5
7
|
def test_sanity
|
@@ -10,8 +12,10 @@ class Main
|
|
10
12
|
"password" => "auditorpassword",
|
11
13
|
"timeout" => 3}
|
12
14
|
@iut.configure(@logstash_configuration)
|
15
|
+
@iut.set_audit_level = :debug
|
13
16
|
|
14
|
-
|
17
|
+
my_optional_field = SoarAuditingFormatter::Formatter.optional_field_format("mykey", "myfield")
|
18
|
+
@iut.debug(SoarAuditingFormatter::Formatter.format(:debug,SecureRandom.hex(32),Time.now,"#{my_optional_field} test message with optional field"))
|
15
19
|
end
|
16
20
|
end
|
17
21
|
|
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.12
|
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-05-
|
11
|
+
date: 2016-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: soar_auditing_format
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.0.2
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.0.2
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: http
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|