fluent-plugin-modsecurity-audit-log 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e3e910a0934fd3ac0855c2de56ccef2ea832f58
4
- data.tar.gz: 23cdcab9ac448fa9d4d98b84a22c735e87778eda
3
+ metadata.gz: 06a2204e3dbf8568911e5eae5c7caa80361d5b9e
4
+ data.tar.gz: 6fb11d1821a6687201f47e346b5378534130660c
5
5
  SHA512:
6
- metadata.gz: cf34cbe1e38d3a516778bfef2f177c08c498fae80a537e17201e7cca5c13e93fa5a89aa0b04abe7ed04cae482aa13d55b8ea2caf6bbdf701011fc274ad46f53f
7
- data.tar.gz: e86d62c448b2419a717ca0ea851ad141182bf5127c1a589e7670d0425b084ef433841e06988357e94f86ea776d057c570f97d4180929d78b65f325143e240799
6
+ metadata.gz: d0ec5087ddad5064574c2e3c1b72c630bbf13250b9cad25337134ff104e22dff46abc9b839c7a71c4ff937adddaaf6f91613ebd375be2a805286e73830bd1a2b
7
+ data.tar.gz: f39bc8e83ed993c3971106f27d6da772f159aa22f2545b805f54ec7c0ac7ff27248255ab4d9ad30239e27330ad8adea7be962db71e55678c1bc7c8c43007d38b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -10,6 +10,7 @@ module Fluent
10
10
  # TODO: make format non-required config
11
11
  config_param :parser_cleanup_retention_sec, :integer, default: 600
12
12
  config_param :parser_cleanup_interval_sec, :integer, default: 300
13
+ config_param :audit_log_format, :string, default: 'Native'
13
14
 
14
15
  def initialize
15
16
  super
@@ -61,7 +62,7 @@ module Fluent
61
62
  v[0] < now - @parser_cleanup_retention_sec
62
63
  end
63
64
  end
64
- @parsers[path] ||= [now, ModsecurityAuditLogParser.new]
65
+ @parsers[path] ||= [now, ModsecurityAuditLogParser.new(format: @audit_log_format)]
65
66
  @parsers[path][1]
66
67
  }
67
68
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-modsecurity-audit-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroshi Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-05 00:00:00.000000000 Z
11
+ date: 2017-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.6.8
123
+ rubygems_version: 2.2.5
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Modsecurity AuditLog input plugin for Fluentd