logstash_auditor 0.0.14 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d702bfb11e9df07f1272436d82aa7cd85f434b7a
4
- data.tar.gz: 74aa864438f262928bde33326a32c3ea42122362
3
+ metadata.gz: bef5c376132c73838d26567b3d8709c5d5632af8
4
+ data.tar.gz: bcc641af409d223f63cae61ed50803d8a2c72095
5
5
  SHA512:
6
- metadata.gz: e0bd7ea638da3f774f71a13106f09660cbc399a272129368b04f8d89e758097634ee36257a041c85a7f8973a3849166f0bc38acc002be2b4ba5a3ef34f2e6131
7
- data.tar.gz: 3ccd11306929979b19a0c74a730f2e821620aafe35ec925b0fd4fb4d990d37f79e7eefb318932350fdc0f25e0508bb2fba47ce2f3f9af45edae69cf132b5369a
6
+ metadata.gz: aadf4d2cce5fd6b1efd7c44ec9432bcb8596417563226d7f17ee9ea91eee04ebf2e201830b060633fcdd7d7e90a202bce0dcd88563f70cd9deb614f1868351e9
7
+ data.tar.gz: 777d9763e97d764e523688d897ad5f4805bdf8810fab06d61590b7692df622d62784b6c488a076f79eee454d6e1ac9315c205e42849b2f6b772593e9d65bc995
data/README.md CHANGED
@@ -72,7 +72,9 @@ Audit using the API methods inherited from SoarAuditorApi::AuditorAPI, e.g.:
72
72
 
73
73
  ```ruby
74
74
  require 'logstash_auditor'
75
+ require 'soar_auditing_format'
75
76
  require 'time'
77
+ require 'securerandom'
76
78
 
77
79
  class Main
78
80
  def test_sanity
@@ -83,8 +85,10 @@ class Main
83
85
  "password" => "auditorpassword",
84
86
  "timeout" => 3}
85
87
  @iut.configure(@logstash_configuration)
88
+ @iut.set_audit_level(:debug)
86
89
 
87
- @iut.warn("#{SecureRandom.hex(32)}:#{Time.now.utc.iso8601(3)}:test1234")
90
+ my_optional_field = SoarAuditingFormatter::Formatter.optional_field_format("mykey", "myfield")
91
+ @iut.debug(SoarAuditingFormatter::Formatter.format(:debug,'my-sanity-service-id',SecureRandom.hex(32),Time.now,"#{my_optional_field} test message with optional field"))
88
92
  end
89
93
  end
90
94
 
@@ -1,3 +1,3 @@
1
1
  module LogstashAuditor
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.16"
3
3
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = %q{Logstash implementation of SOAR architecture auditing}
13
13
  spec.description = %q{Logstash implementation of SOAR architecture auditing allowing easy publishing of events to a centralized logstash collection engine}
14
- spec.homepage = "https://github.hetzner.co.za/hetznerZA/logstash_auditor"
14
+ spec.homepage = "https://github.com/hetznerZA/logstash_auditor"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -24,9 +24,9 @@ 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.4"
27
+ spec.add_development_dependency "soar_auditing_format", "~> 0.0.5"
28
28
 
29
29
  spec.add_dependency "http", "~> 2"
30
- spec.add_dependency "soar_auditor_api", "~> 0.0.9"
30
+ spec.add_dependency "soar_auditor_api", "~> 0.0.11"
31
31
 
32
32
  end
data/sanity/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'logstash_auditor', "~> 0.0.13"
4
- gem "soar_auditing_format", "~> 0.0.4"
3
+ gem 'logstash_auditor', "~> 0.0.16"
4
+ gem "soar_auditing_format", "~> 0.0.5"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash_auditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barney de Villiers
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.0.4
89
+ version: 0.0.5
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.0.4
96
+ version: 0.0.5
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: http
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.0.9
117
+ version: 0.0.11
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.0.9
124
+ version: 0.0.11
125
125
  description: Logstash implementation of SOAR architecture auditing allowing easy publishing
126
126
  of events to a centralized logstash collection engine
127
127
  email:
@@ -149,7 +149,7 @@ files:
149
149
  - sanity/.ruby-version
150
150
  - sanity/Gemfile
151
151
  - sanity/sanity.rb
152
- homepage: https://github.hetzner.co.za/hetznerZA/logstash_auditor
152
+ homepage: https://github.com/hetznerZA/logstash_auditor
153
153
  licenses:
154
154
  - MIT
155
155
  metadata: {}