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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cccaae03423dbd8850ff132ecea6363b7bc8e30ff6bf60235aa5d858c177424
4
- data.tar.gz: f200dae24960cacf205fb4ba0d1fcfdef3e0ccc9e6eae12d6a3177ad75c460eb
3
+ metadata.gz: b2d2e780de960d171b81b544234dc8f752577cf5f28636da7b26d19c9db98d8c
4
+ data.tar.gz: a9ed65dd68109a2df0f8225e7dfda292ddae1ca32945fa85a115b720e9f6b34e
5
5
  SHA512:
6
- metadata.gz: ba0fa5d20b67d58b34f26beb98eccb33e3f3c32ecff03da3d0a5b9034c83262b3a710052fe8001f51019287c78f0f1a4d94bd1382d6f8d94d10d034a5fbb235d
7
- data.tar.gz: 1ec14e3a6e9246dd45dbe40167a832a855138adcdbe36cc9f31c567167540ef2771c771596a13512fcf1113915c390e825dd70bae8df555ee07e6ab541061ea2
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" => "TestVLAN",
77
- "number" => 100,
78
- "id" => 1
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.4'
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
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-09 00:00:00.000000000 Z
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