wazuh-ruby-client 0.3.2 → 0.3.3
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/wazuh/sawyer/connection.rb +1 -1
- data/lib/wazuh/version.rb +1 -1
- data/lib/wazuh-ruby-client/version.rb +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: a1913446c22b5d499a25ad14253020584d44c4c8417ca05d052613d18317f72b
|
|
4
|
+
data.tar.gz: 1b36d8f8243dada48a19234e923f54976862c734d34c8a5f8a0478e094a46b2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecbc00e35e33f917a117938e79ac3e8ba6327e8387d92592d4b9510bf8b753bf93800f329d88573e1b94c0f51687fc92deec492fa11bf3ac4f62eeeeb4e0a155
|
|
7
|
+
data.tar.gz: abedc111b0e09e7e7963885d004039227ef8add25bd501c623c8224625ba00e55222cc9e83bcb7205929185058c0d2759e97d939c6ea08dd68fb44cc99695df0
|
|
@@ -29,7 +29,7 @@ module Wazuh
|
|
|
29
29
|
when 4
|
|
30
30
|
raise "user and password is required on v4 api" if !basic_user || !basic_password
|
|
31
31
|
opts[:faraday] = ::Faraday.new(options) do |conn|
|
|
32
|
-
conn.request :authorization, 'Bearer',
|
|
32
|
+
conn.request :authorization, 'Bearer', Token.jwt(endpoint, options, basic_user, basic_password)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
data/lib/wazuh/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wazuh-ruby-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- mrtc0
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-11-
|
|
11
|
+
date: 2021-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|