fluent-plugin-modsecurity-audit-log 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/fluent/plugin/in_modsecurity.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06a2204e3dbf8568911e5eae5c7caa80361d5b9e
|
4
|
+
data.tar.gz: 6fb11d1821a6687201f47e346b5378534130660c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0ec5087ddad5064574c2e3c1b72c630bbf13250b9cad25337134ff104e22dff46abc9b839c7a71c4ff937adddaaf6f91613ebd375be2a805286e73830bd1a2b
|
7
|
+
data.tar.gz: f39bc8e83ed993c3971106f27d6da772f159aa22f2545b805f54ec7c0ac7ff27248255ab4d9ad30239e27330ad8adea7be962db71e55678c1bc7c8c43007d38b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.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.
|
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-
|
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.
|
123
|
+
rubygems_version: 2.2.5
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Modsecurity AuditLog input plugin for Fluentd
|