wazuh-ruby-client 0.2.1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63a6ddbb80cd6499e2cfe9a11f7b217db920f19f36a77c9adc0028e9395c9493
4
- data.tar.gz: 6d83f60c2fb3cfc72d1ae0d6577c247b460b64ad3bacca2b9ee2b0a6d827793e
3
+ metadata.gz: c784d3be1a47e0998b2f79b9a63141d20162b49279bfb176b9ec659802984f45
4
+ data.tar.gz: e6d43cead09b6a4e4f272634b7152e436005b6e1eec54711a0e54ff20592dbaf
5
5
  SHA512:
6
- metadata.gz: e14095fa07607dbbac624bec91b8bbe0da5225eb582cde3e68302c9d17891e0b548df48507434a9dd88e33c1ba76e0fd03106539ec100a41a1316466c758bfd7
7
- data.tar.gz: 032f27fbfbdff5ad128beca87f9331abc241dfaa349278d9ca97c37bc4ba74c8e77bc95cd105939efe59c07bb93af615c17fb847cbe5cec9b546c0cc95d97225
6
+ metadata.gz: 1db95d93c43c7c76ac7904485d66e2e95613f20aae2612bcc8702f2a18c75d91b04c340f55814bde739a7b12b2152a9b8a8f263529a78af08a641abcb9096409
7
+ data.tar.gz: 96df2d2cba6391f2f4850d15d6326a400f2d46654b5e040a1078019e5397f0690a7acbb260be5a5ffcf649e7bf237eb258339d943f928ade5f6b4e555f94e60f
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.2] - 2019-02-18
11
+
12
+ - Added options to `syscheck_files()`
13
+
10
14
  ## [0.2.1] - 2019-02-10
11
15
 
12
16
  - Fix `syscheck_files()` duplicated and confused
@@ -1,3 +1,3 @@
1
1
  module WazuhRubyClient
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -33,7 +33,7 @@ module Wazuh
33
33
  # Returns the files with the specified hash (md5, sha1 or sha256).
34
34
  # @see https://documentation.wazuh.com/3.10/user-manual/api/reference.html#get-syscheck-files
35
35
  def syscheck_files(agent_id, options = {})
36
- data = get "/syscheck/#{agent_id}"
36
+ data = get "/syscheck/#{agent_id}", options
37
37
  data.items
38
38
  end
39
39
 
data/lib/wazuh/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Wazuh
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
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.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mrtc0
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-10 00:00:00.000000000 Z
11
+ date: 2020-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler