logstash-codec-nmap 0.0.7 → 0.0.8
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/codecs/nmap.rb +2 -1
- data/logstash-codec-nmap.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9c543021609ff02abbd46bcee4e6e19a03a0f633
|
|
4
|
+
data.tar.gz: d7a3a506e59afa50b3aea025efd8fe26cf0f1a6c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14386bf959fc10399a5bd055e19000d63ebe4c3cffcab6d78449f21f88da96c8ada6d3dadaace05da7e373b669cf89703ec99b34946d2a266f3cba04ae0a89ff
|
|
7
|
+
data.tar.gz: b1094edbf2f42fa2bef8a3e97af97d6beceae221bc612d1684e36e4fceba6ab8e7440a94bc19970182528fa1a944cda076ffa5060ea4efe07402ed464c8463a5
|
data/lib/logstash/codecs/nmap.rb
CHANGED
|
@@ -164,10 +164,11 @@ class LogStash::Codecs::Nmap < LogStash::Codecs::Base
|
|
|
164
164
|
def hashify_service(service)
|
|
165
165
|
return unless service
|
|
166
166
|
|
|
167
|
+
protocol = service.protocol rescue nil
|
|
167
168
|
{
|
|
168
169
|
'name' => service.name,
|
|
169
170
|
'ssl' => service.ssl?,
|
|
170
|
-
'protocol' =>
|
|
171
|
+
'protocol' => protocol,
|
|
171
172
|
'product' => service.product,
|
|
172
173
|
'hostname' => service.hostname, # This is just a string
|
|
173
174
|
'device_type' => service.device_type,
|
data/logstash-codec-nmap.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-codec-nmap'
|
|
4
|
-
s.version = '0.0.
|
|
4
|
+
s.version = '0.0.8'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "This codec may be used to decode Nmap XML"
|
|
7
7
|
s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
|