logstash-filter-jwt-decode 0.1.1 → 0.2.0
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 +4 -4
- data/lib/logstash/filters/jwt-decode.rb +4 -4
- data/logstash-filter-jwt-decode.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd40203ccc5cf50dd211c89c4f9a29fdb7127e67415784a97162775bc0667d08
|
|
4
|
+
data.tar.gz: 5087c3971d26b381b47bd0f0461a28debd9492808690443124de0658d91c1803
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b68a98043c39d0081b468ce33a342cafb598dc234312ba5aab80ca1dc7ddd6c9dff383c5e86297b0e33b4bc0a1a6a786e9d5b34ba288eb43528670defd087d6f
|
|
7
|
+
data.tar.gz: 3c71aa279987ef1103a064c9c95bd47b4ef68e935be9e9d2f2c30020be1dd020fea6cbc82ba7613a0e3de93ad85258f65cd3a0748c32cfe0aef8dd6497a3df97
|
|
@@ -21,11 +21,11 @@ class LogStash::Filters::JWTDecode < LogStash::Filters::Base
|
|
|
21
21
|
config_name "jwt-decode"
|
|
22
22
|
|
|
23
23
|
# Looks for a match in message which contains the token field
|
|
24
|
-
config :match, :validate => :string
|
|
24
|
+
config :match, :validate => :string
|
|
25
25
|
# Valid algorithms are defined here https://tools.ietf.org/html/rfc7518#section-3.1
|
|
26
|
-
config :signature_alg, :validate => :string, :
|
|
27
|
-
config :key, :validate => :string, :
|
|
28
|
-
config :extract_fields, :validate => :hash
|
|
26
|
+
config :signature_alg, :validate => :string, :default => "HS256"
|
|
27
|
+
config :key, :validate => :string, :default => nil
|
|
28
|
+
config :extract_fields, :validate => :hash
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-filter-jwt-decode'
|
|
3
|
-
s.version = '0.
|
|
3
|
+
s.version = '0.2.0'
|
|
4
4
|
s.licenses = ['Apache-2.0']
|
|
5
5
|
s.summary = 'Logstash filter plugin for decoding JSON Web Token (JWT)'
|
|
6
6
|
s.description = 'Logstash filter plugin for decoding JSON Web Token (JWT)'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-filter-jwt-decode
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bharat Raj Arutla
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-07-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|