logstash-filter-phpipam 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/lib/logstash/filters/phpipam.rb +1 -0
- data/logstash-filter-phpipam.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: b2d2e780de960d171b81b544234dc8f752577cf5f28636da7b26d19c9db98d8c
|
4
|
+
data.tar.gz: a9ed65dd68109a2df0f8225e7dfda292ddae1ca32945fa85a115b720e9f6b34e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f69665cbe6a42af223f0c692bf32174e68ca057ec27ce3d3faaa10eaee61d6d71dea92c5ff695de47f0903829bd7326418c877f5369ab1ab17610938fed4cc75
|
7
|
+
data.tar.gz: f82c9a5559499778bc6ce3f523ce9decd90fa46ed65dce2c2188392c29b05e094bd23a4e983d6c39aab3c35f9889c640f32836702cd0e70476851b0fde9204fb
|
data/README.md
CHANGED
@@ -73,9 +73,10 @@ phpipam {
|
|
73
73
|
"owner" => "Testing Team"
|
74
74
|
},
|
75
75
|
"vlan" => {
|
76
|
-
"name"
|
77
|
-
"number"
|
78
|
-
"id"
|
76
|
+
"name" => "TestVLAN",
|
77
|
+
"number" => 100,
|
78
|
+
"id" => 1,
|
79
|
+
"domain_id" => 1,
|
79
80
|
},
|
80
81
|
"device" => {
|
81
82
|
"name" => "test.domain.local",
|
@@ -206,6 +206,7 @@ class LogStash::Filters::Phpipam < LogStash::Filters::Base
|
|
206
206
|
if okay?(vlan_data)
|
207
207
|
base['vlan'] = {}
|
208
208
|
base['vlan']['id'] = subnet_data['vlanId'].to_i
|
209
|
+
base['vlan']['domain_id'] = vlan_data['domainId'].to_i
|
209
210
|
base['vlan']['number'] = vlan_data['number'].to_i unless nil_or_empty?(vlan_data['number'])
|
210
211
|
base['vlan']['name'] = vlan_data['name'] unless nil_or_empty?(vlan_data['name'])
|
211
212
|
base['vlan']['description'] = vlan_data['description'] unless nil_or_empty?(vlan_data['description'])
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'logstash-filter-phpipam'
|
5
|
-
s.version = '0.7.
|
5
|
+
s.version = '0.7.5'
|
6
6
|
s.licenses = ['Apache-2.0']
|
7
7
|
s.summary = 'A Logstash filter that returns results from phpIPAM'
|
8
8
|
s.description = 'A Logstash filter that looks up an IP-address, and returns results from phpIPAM'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-filter-phpipam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- magnuslarsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core-plugin-api
|