fluent-plugin-anonymizer 0.5.0 → 0.5.1

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: a438e2acef3632942d02792ba4fbe2b877ab90ad
4
- data.tar.gz: 8979758d1e489f0bc103d881cacbbfc0b29a326b
3
+ metadata.gz: 742a45cbfa285505d92f31e0165bbd8cc88f69b2
4
+ data.tar.gz: 7de295ce9c5de1444ab2db88166a2966658d436f
5
5
  SHA512:
6
- metadata.gz: a4c53bc239db20b8ec60662476744adc1a28beddd7d300c6dde5a5ab68f63d3892ed61348377592b84ee310988f7136d74395981ead840ea7d6eee0f61256445
7
- data.tar.gz: bb927b18908c72e6d0fcc0ea6d1fc9f9f7c1a395d1d8ea0867180dd744b7851d419e25568d88389a8274f672a20faa6a4194e4825b7e0c84334669c080c40093
6
+ metadata.gz: 5f076468bccbb31557ef584ca23a33544cc57c9b68ffd899b6722204cb6b94691a939d3197b1942436fa6ec07e1256445b51ceb55b8d90e6b6d6e1493d875364
7
+ data.tar.gz: d584a6836e19f639f112a1ad7c5fe88a36c6825758115c59ad6bca98af7a1ba9d07155bc6187786adec2887920621f32d7181a3bd2b6bc72ce22e481afb21f03
data/README.md CHANGED
@@ -13,10 +13,10 @@ install with gem or fluent-gem command as:
13
13
  $ gem install fluent-plugin-anonymizer
14
14
 
15
15
  # for td-agent
16
- $ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-anonymizer -v 0.5.0
16
+ $ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-anonymizer -v 0.5.1
17
17
 
18
18
  # for td-agent2
19
- $ sudo td-agent-gem install fluent-plugin-anonymizer -v 0.5.0
19
+ $ sudo td-agent-gem install fluent-plugin-anonymizer -v 0.5.1
20
20
  `````
21
21
 
22
22
  ## Tutorial
@@ -94,8 +94,8 @@ It is a sample to hash record with sha1 for `user_id`, `member_id` and `mail`. F
94
94
  ipv6_mask_subnet 104
95
95
 
96
96
  # Set tag rename pattern
97
+ tag anonymized.${tag}
97
98
  remove_tag_prefix test.
98
- add_tag_prefix anonymized.
99
99
  </match>
100
100
 
101
101
  <match anonymized.message>
@@ -141,6 +141,12 @@ Round number for following one or more keys. It makes easy to aggregate calculat
141
141
  * include_tag_key (default: false)
142
142
  * tag_key
143
143
 
144
+ set one or more option are required for editing tag name using HandleTagNameMixin.
145
+
146
+ * tag
147
+
148
+ In the case of using this option [like 'tag anonymized.${tag}' with tag placeholder](https://github.com/y-ken/fluent-plugin-anonymizer/blob/master/test/plugin/test_out_anonymizer.rb#L179), tag will be modified after these options affected. which are remove_tag_prefix, remove_tag_suffix, add_tag_prefix and add_tag_suffix.
149
+
144
150
  Add original tag name into filtered record using SetTagKeyMixin.
145
151
 
146
152
  * remove_tag_prefix
@@ -148,12 +154,6 @@ Add original tag name into filtered record using SetTagKeyMixin.
148
154
  * add_tag_prefix
149
155
  * add_tag_suffix
150
156
 
151
- set one or more option are required for editing tag name using HandleTagNameMixin.
152
-
153
- * tag
154
-
155
- On using this option [like 'tag anonymized.${tag}' with tag placeholder](https://github.com/y-ken/fluent-plugin-anonymizer/blob/master/test/plugin/test_out_anonymizer.rb#L179), it will be overwrite after these options affected. which are remove_tag_prefix, remove_tag_suffix, add_tag_prefix and add_tag_suffix.
156
-
157
157
  ## Notes
158
158
 
159
159
  * hashing nested value behavior is compatible with [LogStash::Filters::Anonymize](https://github.com/logstash/logstash/blob/master/lib/logstash/filters/anonymize.rb) does. For further details, please check it out the test code at [test_emit_nest_value](https://github.com/y-ken/fluent-plugin-anonymizer/blob/master/test/plugin/test_out_anonymizer.rb#L91).
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-anonymizer"
7
- spec.version = "0.5.0"
7
+ spec.version = "0.5.1"
8
8
  spec.authors = ["Kentaro Yoshida"]
9
9
  spec.email = ["y.ken.studio@gmail.com"]
10
10
  spec.summary = %q{Fluentd filter output plugin to anonymize records with HMAC of MD5/SHA1/SHA256/SHA384/SHA512 algorithms. This data masking plugin protects privacy data such as UserID, Email, Phone number, IPv4/IPv6 address and so on.}
@@ -1,3 +1,4 @@
1
+ require 'fluent/config/error'
1
2
  require 'openssl'
2
3
  require 'ipaddr'
3
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-anonymizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kentaro Yoshida
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-27 00:00:00.000000000 Z
11
+ date: 2017-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler