wazuh-rb 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/wazuh/client/agent.rb +6 -1
- data/lib/wazuh/connection.rb +2 -1
- data/lib/wazuh/error.rb +1 -1
- data/lib/wazuh/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: d2f7fdefc6c4fed2d136b3e01930f365744ecfc3f28ef5a9d8a70a2aee1e4243
|
4
|
+
data.tar.gz: c7122389bb9f69f7f0246e5f9b3002e6a0f31ccb258f418406ce5b37cb40ac8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 730e551505ddd7a7ad183825d311462071edee56822361f3699755c86ae6aac2158d22df6c1cb5cc785e40cdfae311f1608b96887587daf107d99e5f8b81f57e
|
7
|
+
data.tar.gz: cf285c41676e31911c3f7b25dbe95ae1ab2adadf321828aa7ab3a9a24f5dd2e645ac39df91b62b1b8f7ce498599413cb131bcc18c6ab386cc214b8fd4bc1a2f2
|
data/Gemfile.lock
CHANGED
data/lib/wazuh/client/agent.rb
CHANGED
@@ -3,7 +3,12 @@ module Wazuh
|
|
3
3
|
module Agents
|
4
4
|
def agents(options = {})
|
5
5
|
response = get 'agents', options
|
6
|
-
response.body["data"]
|
6
|
+
response.body["data"]
|
7
|
+
end
|
8
|
+
|
9
|
+
def delete_agents(options = {})
|
10
|
+
response = delete 'agents', options
|
11
|
+
response.body["data"]
|
7
12
|
end
|
8
13
|
end
|
9
14
|
end
|
data/lib/wazuh/connection.rb
CHANGED
data/lib/wazuh/error.rb
CHANGED
data/lib/wazuh/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wazuh-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pyama86
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|