logstash-filter-empowclassifier 0.3.21 → 0.3.23

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: c0ab2f3813891f929cc0fcc4adf2e0a516353ae624354f042e722ed0168cb7e6
4
- data.tar.gz: 37efadbbe48fc883b7f9d261937a8d7f21608bdbc352407fae5c8e5cce3b31ad
3
+ metadata.gz: 247f7c74fd62e08857d7eab95a795432e4e83742a0a5cfceb089c16e0fc7fdae
4
+ data.tar.gz: 7331f3bf2ce795cf779104700ee2418fb7e1ecca56fa91671ee08d0e5b8303c0
5
5
  SHA512:
6
- metadata.gz: f7ff052743c972acbb8d325d6dce6037444f73adcd99ecf3147b53611c8d95723b5a3468ec40485357e4c7a43eaeae3791f7dd329dec926c13d01bba71fc7378
7
- data.tar.gz: beec683cb760250887cace06f9c572db3c491a682f31fb72794fa274403d17aeea31b435df4c9ed8eff7d098111030bdcba5c7e099180ffc0cbfa8e6b4379a04
6
+ metadata.gz: 52608ce0343e00cf4b2597815dcb2e7bafb1f32d858965a1cbf07ca5399ccde4f0372a5ce64b056a3f691dd5a0b57601bb38eca0e6bc19c74b3890f96745a740
7
+ data.tar.gz: cc91711eeaf7ff6420a8c01b6082e925080f3c9066177b8fae760ad05d4cba26d6116655c5ea53c63bb6469f9a5a269f614f453f2f64704a6b0c0f1042283150
@@ -152,7 +152,7 @@ module LogStash
152
152
 
153
153
  return RestClient::Request.execute(
154
154
  method: :post,
155
- url: "#{@url_base}/classification/intent",
155
+ url: "#{@url_base}/intent",
156
156
  payload: payload_json,
157
157
  timeout: 30,
158
158
  headers: { content_type: 'application/json', accept: 'application/json', authorization: @token, Bulksize: bulk_size }
@@ -121,7 +121,7 @@ class LogStash::Filters::EmpowClassifier < LogStash::Filters::Base
121
121
  config :tag_on_timeout, :validate => :array, :default => ['_empow_classifer_timeout']
122
122
  config :tag_on_error, :validate => :array, :default => ['_empow_classifer_error']
123
123
 
124
- CLASSIFICATION_URL = "https://s0apxz9wik.execute-api.us-east-2.amazonaws.com" #"https://intent.cloud.empow.co"
124
+ CLASSIFICATION_URL = 'https://intent.cloud.empow.co'
125
125
  CACHE_TTL = (24*60*60)
126
126
 
127
127
  public
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-empowclassifier'
3
- s.version = '0.3.21'
3
+ s.version = '0.3.23'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'Logstash intent classification plugin client for accessing empow''s classifiction cloud'
6
6
  #s.description = 'Write a longer description or delete this line.'
7
- s.homepage = 'http://www.empowcybersecurity.com'
7
+ s.homepage = 'http://www.empow.co'
8
8
  s.authors = ['empow', 'Assaf Abulafia', 'Rami Cohen']
9
9
  s.email = ''
10
10
  s.require_paths = ['lib']
@@ -35,4 +35,4 @@ Gem::Specification.new do |s|
35
35
  s.add_development_dependency "webmock", "~> 1.22", ">= 1.21.0"
36
36
 
37
37
  s.add_development_dependency 'elasticsearch'
38
- end
38
+ end
@@ -12,7 +12,7 @@ describe LogStash::Filters::Empow::ClassificationCenterClient do
12
12
  # allow(LogStash::Filters::Empow::LocalClassifier).to receive(:new).and_return(local_classifier)
13
13
  # end
14
14
 
15
- let(:url_base) { 'https://s0apxz9wik.execute-api.us-east-2.amazonaws.com' }
15
+ let(:url_base) { 'https://intent.cloud.empow.co' }
16
16
  let(:username) { 'assafa@empownetworks.com' }
17
17
  let(:password) { 'Empow2018!' }
18
18
  let(:pool_id) { '131n94ktfg7lj8hlpnnbkuiql1' }
@@ -24,8 +24,8 @@ describe LogStash::Filters::Empow::ClassificationCenterClient do
24
24
  client.authenticate
25
25
 
26
26
  term = {}
27
- term[:malware_name] = 'assaf.clicker'
28
- req1 = LogStash::Filters::Empow::ClassificationRequest.new('AM', 'lastline', term)
27
+ term[:signature] = '1:238'
28
+ req1 = LogStash::Filters::Empow::ClassificationRequest.new('IDS', 'snort', term)
29
29
 
30
30
  i = 0
31
31
  while true do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-empowclassifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.21
4
+ version: 0.3.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - empow
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-02-07 00:00:00.000000000 Z
13
+ date: 2019-02-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  requirement: !ruby/object:Gem::Requirement
@@ -219,7 +219,7 @@ files:
219
219
  - spec/filters/plugin-logic_spec.rb
220
220
  - spec/filters/utils_spec.rb
221
221
  - spec/spec_helper.rb
222
- homepage: http://www.empowcybersecurity.com
222
+ homepage: http://www.empow.co
223
223
  licenses:
224
224
  - Apache-2.0
225
225
  metadata: