wazuh-ruby-client 0.3.3 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/codeql-analysis.yml +70 -0
  3. data/.rubocop.yml +59 -0
  4. data/CHANGELOG.md +35 -0
  5. data/README.md +18 -1
  6. data/Rakefile +5 -1
  7. data/docs/Wazuh/Api/Endpoints/ActiveResponse.html +10 -13
  8. data/docs/Wazuh/Api/Endpoints/Agents.html +483 -204
  9. data/docs/Wazuh/Api/Endpoints/Cache.html +7 -7
  10. data/docs/Wazuh/Api/Endpoints/Ciscat.html +10 -13
  11. data/docs/Wazuh/Api/Endpoints/Cluster.html +52 -58
  12. data/docs/Wazuh/Api/Endpoints/Decoders.html +27 -39
  13. data/docs/Wazuh/Api/Endpoints/Experimental.html +63 -96
  14. data/docs/Wazuh/Api/Endpoints/Lists.html +15 -21
  15. data/docs/Wazuh/Api/Endpoints/Manager.html +44 -62
  16. data/docs/Wazuh/Api/Endpoints/Rootcheck.html +36 -52
  17. data/docs/Wazuh/Api/Endpoints/Rules.html +49 -68
  18. data/docs/Wazuh/Api/Endpoints/SecurityConfigurationAssessment.html +20 -31
  19. data/docs/Wazuh/Api/Endpoints/Summary.html +7 -7
  20. data/docs/Wazuh/Api/Endpoints/Syscheck.html +26 -33
  21. data/docs/Wazuh/Api/Endpoints/Syscollector.html +43 -61
  22. data/docs/Wazuh/Api/Endpoints/V4/ActiveResponse.html +198 -0
  23. data/docs/Wazuh/Api/Endpoints/V4/Agents.html +1079 -0
  24. data/docs/Wazuh/Api/Endpoints/V4/Cache.html +195 -0
  25. data/docs/Wazuh/Api/Endpoints/V4/Ciscat.html +126 -0
  26. data/docs/Wazuh/Api/Endpoints/V4/Cluster.html +126 -0
  27. data/docs/Wazuh/Api/Endpoints/V4/Decoders.html +126 -0
  28. data/docs/Wazuh/Api/Endpoints/V4/Experimental.html +126 -0
  29. data/docs/Wazuh/Api/Endpoints/V4/Lists.html +126 -0
  30. data/docs/Wazuh/Api/Endpoints/V4/Manager.html +126 -0
  31. data/docs/Wazuh/Api/Endpoints/V4/Rootcheck.html +126 -0
  32. data/docs/Wazuh/Api/Endpoints/V4/Rules.html +126 -0
  33. data/docs/Wazuh/Api/Endpoints/V4/SecurityConfigurationAssessment.html +126 -0
  34. data/docs/Wazuh/Api/Endpoints/V4/Summary.html +126 -0
  35. data/docs/Wazuh/Api/Endpoints/V4/Syscheck.html +126 -0
  36. data/docs/Wazuh/Api/Endpoints/V4/Syscollector.html +126 -0
  37. data/docs/Wazuh/Api/Endpoints/V4/Vulnerabilities.html +399 -0
  38. data/docs/Wazuh/Api/Endpoints/V4.html +403 -0
  39. data/docs/Wazuh/Api/Endpoints.html +9 -14
  40. data/docs/Wazuh/Api/Errors/WazuhError.html +9 -9
  41. data/docs/Wazuh/Api/Errors.html +6 -6
  42. data/docs/Wazuh/Api.html +7 -7
  43. data/docs/Wazuh/Client.html +35 -190
  44. data/docs/Wazuh/Config.html +20 -11
  45. data/docs/Wazuh/Logger.html +6 -6
  46. data/docs/Wazuh/Sawyer/Connection/Token.html +208 -0
  47. data/docs/Wazuh/Sawyer/Connection.html +19 -7
  48. data/docs/Wazuh/Sawyer/Request.html +78 -6
  49. data/docs/Wazuh/Sawyer.html +8 -8
  50. data/docs/Wazuh.html +16 -16
  51. data/docs/WazuhRubyClient.html +7 -7
  52. data/docs/_index.html +149 -7
  53. data/docs/class_list.html +3 -3
  54. data/docs/css/style.css +2 -2
  55. data/docs/file.README.html +39 -18
  56. data/docs/file_list.html +2 -2
  57. data/docs/frames.html +2 -2
  58. data/docs/index.html +39 -18
  59. data/docs/js/app.js +25 -3
  60. data/docs/method_list.html +269 -69
  61. data/docs/top-level-namespace.html +6 -6
  62. data/lib/wazuh/api/endpoints/agents.rb +1 -1
  63. data/lib/wazuh/api/endpoints/rootcheck.rb +1 -1
  64. data/lib/wazuh/api/endpoints/security_configuration_assessment.rb +1 -1
  65. data/lib/wazuh/api/endpoints/syscollector.rb +1 -1
  66. data/lib/wazuh/api/endpoints/v4/cluster.rb +127 -0
  67. data/lib/wazuh/api/endpoints/v4/vulnerabilities.rb +47 -0
  68. data/lib/wazuh/api/endpoints/v4.rb +2 -1
  69. data/lib/wazuh/client.rb +0 -1
  70. data/lib/wazuh/sawyer/connection.rb +1 -1
  71. data/lib/wazuh/sawyer/request.rb +26 -16
  72. data/lib/wazuh/version.rb +1 -1
  73. data/lib/wazuh-ruby-client/version.rb +1 -1
  74. metadata +23 -3
  75. data/.travis.yml +0 -7
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Top Level Namespace
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.25
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "";
19
19
  relpath = '';
20
20
  </script>
@@ -100,9 +100,9 @@
100
100
  </div>
101
101
 
102
102
  <div id="footer">
103
- Generated on Tue Feb 18 20:12:27 2020 by
103
+ Generated on Thu Feb 3 21:40:17 2022 by
104
104
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
105
- 0.9.16 (ruby-2.5.1).
105
+ 0.9.25 (ruby-2.6.3).
106
106
  </div>
107
107
 
108
108
  </div>
@@ -4,7 +4,7 @@ module Wazuh
4
4
  module Agents
5
5
  #
6
6
  # Returns a list with the available agents.
7
- #
7
+ #
8
8
  # @option options [String] :offset
9
9
  # First element to return in the collection.
10
10
  # @option options [String] :limit
@@ -21,7 +21,7 @@ module Wazuh
21
21
  end
22
22
 
23
23
  # Get last rootcheck scan
24
- # Returns the timestamp of the last rootcheck scan.
24
+ # Returns the timestamp of the last rootcheck scan.
25
25
  #
26
26
  # @param [String] agent_id
27
27
  # @see https://documentation.wazuh.com/3.10/user-manual/api/reference.html#get-last-rootcheck-scan
@@ -15,7 +15,7 @@ module Wazuh
15
15
  # Filters by policy description
16
16
  # @option options [rationale] :rationale
17
17
  # Filters by rationale
18
- # @option options [remediation] :remediation
18
+ # @option options [remediation] :remediation
19
19
  # Filters by remediation
20
20
  # @option options [file] :file
21
21
  # Filters by file
@@ -216,7 +216,7 @@ module Wazuh
216
216
  # Filters by process sgroup.
217
217
  # @option options [suser] :suser
218
218
  # Filters by process suser.
219
- #
219
+ #
220
220
  # @see https://documentation.wazuh.com/3.10/user-manual/api/reference.html#get-processes-info
221
221
  def processes(agent_id, options = {})
222
222
  offset_request('get', "/syscollector/#{agent_id}/processes", options)
@@ -4,6 +4,133 @@ module Wazuh
4
4
  module V4
5
5
  module Cluster
6
6
  include ::Wazuh::Api::Endpoints::Cluster
7
+
8
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_cluster_node
9
+ def local_node_info(options = {})
10
+ offset_request('get', '/cluster/local/info', options)
11
+ end
12
+
13
+ alias_method :get_cluster_node, :local_node_info
14
+
15
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_cluster_nodes
16
+ def nodes_info(options = {})
17
+ offset_request('get', '/cluster/nodes', options)
18
+ end
19
+
20
+ alias_method :get_cluster_nodes, :nodes_info
21
+
22
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_healthcheck
23
+ def nodes_healthcheck(options = {})
24
+ offset_request('get', '/cluster/healthcheck', options)
25
+ end
26
+
27
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_status
28
+ def cluster_status(options = {})
29
+ get '/cluster/status', options
30
+ end
31
+
32
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_config
33
+ def local_node_config(options = {})
34
+ offset_request('get', '/cluster/local/config', options)
35
+ end
36
+
37
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_api_config
38
+ def nodes_api_config(options = {})
39
+ offset_request('get', '/cluster/api/config', options)
40
+ end
41
+
42
+ alias_method :get_api_config, :nodes_api_config
43
+
44
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_status_node
45
+ def node_status(node_id, options = {})
46
+ offset_request('get', "/cluster/#{node_id}/status", options)
47
+ end
48
+
49
+ alias_method :get_status_node, :node_status
50
+
51
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_info_node
52
+ def node_info(node_id, options = {})
53
+ offset_request('get', "/cluster/#{node_id}/info", options)
54
+ end
55
+
56
+ alias_method :get_info_node, :node_info
57
+
58
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_configuration_node
59
+ def node_config(node_id, options = {})
60
+ offset_request('get', "/cluster/#{node_id}/configuration", options)
61
+ end
62
+
63
+ alias_method :get_configuration_node, :node_config
64
+
65
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_node
66
+ def node_stats(node_id, options = {})
67
+ offset_request('get', "/cluster/#{node_id}/stats", options)
68
+ end
69
+
70
+ alias_method :get_stats_node, :node_stats
71
+
72
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_hourly_node
73
+ def node_stats_hour(node_id, options = {})
74
+ offset_request('get', "/cluster/#{node_id}/stats/hourly", options)
75
+ end
76
+
77
+ alias_method :get_stats_hourly_node, :node_stats_hour
78
+
79
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_weekly_node
80
+ def node_stats_week(node_id, options = {})
81
+ offset_request('get', "/cluster/#{node_id}/stats/weekly", options)
82
+ end
83
+
84
+ alias_method :get_stats_weekly_node, :node_stats_week
85
+
86
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_analysisd_node
87
+ def node_stats_analysisd(node_id, options = {})
88
+ offset_request('get', "/cluster/#{node_id}/stats/analysisd", options)
89
+ end
90
+
91
+ alias_method :get_stats_analysisd_node, :node_stats_analysisd
92
+
93
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_remoted_node
94
+ def node_stats_remoted(node_id, options = {})
95
+ offset_request('get', "/cluster/#{node_id}/stats/remoted", options)
96
+ end
97
+
98
+ alias_method :get_stats_remoted_node, :node_stats_remoted
99
+
100
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_log_node
101
+ def node_logs(node_id, options = {})
102
+ offset_request('get', "/cluster/#{node_id}/logs", options)
103
+ end
104
+
105
+ alias_method :get_log_node, :node_logs
106
+
107
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_log_summary_node
108
+ def node_logs_summary(node_id, options = {})
109
+ offset_request('get', "/cluster/#{node_id}/logs/summary", options)
110
+ end
111
+
112
+ alias_method :get_log_summary_node, :node_logs_summary
113
+
114
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.put_restart
115
+ def restart_nodes(options = {})
116
+ offset_request('put', "/cluster/restart", options)
117
+ end
118
+
119
+ alias_method :put_restart, :restart_nodes
120
+
121
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_conf_validation
122
+ def check_nodes_config(options = {})
123
+ offset_request('get', "/cluster/configuration/validationj", options)
124
+ end
125
+
126
+ alias_method :get_conf_validation, :check_nodes_config
127
+
128
+ # https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_node_config
129
+ def node_active_configuration(node_id, component, configuration, options = {})
130
+ offset_request('get', "/cluster/#{node_id}/configuration/#{component}/#{configuration}", options)
131
+ end
132
+
133
+ alias_method :get_node_config, :node_active_configuration
7
134
  end
8
135
  end
9
136
  end
@@ -0,0 +1,47 @@
1
+ module Wazuh
2
+ module Api
3
+ module Endpoints
4
+ module V4
5
+ module Vulnerabilities
6
+ # Get vulnerabilities
7
+ # Returns the vulnerabilities of an agent
8
+ #
9
+ # @param [String] agent_id
10
+ # @option options [wait_for_complete] :wait_for_complete
11
+ # Disable timeout response
12
+ # @option options [offset] :offset
13
+ # First element to return in the collection
14
+ # @option options [limit] :limit
15
+ # Maximum number of elements to return. Although up to 100.000 can be specified,
16
+ # it is recommended not to exceed 500 elements. Responses may be slower the more this number is exceeded.
17
+ # @option options [sort] :sort
18
+ # Sort the collection by a field or fields (separated by comma).
19
+ # Use +/- at the beggining to list in ascending or descending order. Use '.' for nested fields.
20
+ # For example, '{field1: field2}' may be selected with 'field1.field2'
21
+ # @option options [search] :search
22
+ # Look for elements containing the specified string.
23
+ # To obtain a complementary search, use '-' at the beggining
24
+ # @option options [select] :select
25
+ # Select which fields to return (separated by comma).
26
+ # Use '.' for nested fields. For example, '{field1: field2}' may be selected with 'field1.field2'
27
+ # @option options [q] :q
28
+ # Query to filter results by. For example q="status=active"
29
+ # @option options [distinct] :distinct
30
+ # Look for distinct values.
31
+ # @option options [architecture] :architecture
32
+ # Filter by architecture
33
+ # @option options [cve] :cve
34
+ # Filter by CVE
35
+ # @option options [name] :name
36
+ # Filter by name
37
+ # @option options [version] :version
38
+ # Filter by CVE version
39
+ # @see https://documentation.wazuh.com/current/user-manual/api/reference.html#operation/api.controllers.vulnerability_controller.get_vulnerability_agent
40
+ def vulnerabilities(agent_id, options = {})
41
+ offset_request('get', "/vulnerability/#{agent_id}", options)
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end
@@ -13,7 +13,7 @@ require_relative 'v4/security_configuration_assessment'
13
13
  require_relative 'v4/summary'
14
14
  require_relative 'v4/syscheck'
15
15
  require_relative 'v4/syscollector'
16
-
16
+ require_relative 'v4/vulnerabilities'
17
17
 
18
18
  module Wazuh
19
19
  module Api
@@ -34,6 +34,7 @@ module Wazuh
34
34
  include Syscheck
35
35
  include Syscollector
36
36
  include SecurityConfigurationAssessment
37
+ include Vulnerabilities
37
38
  end
38
39
  end
39
40
  end
data/lib/wazuh/client.rb CHANGED
@@ -31,4 +31,3 @@ module Wazuh
31
31
  end
32
32
  end
33
33
  end
34
-
@@ -18,7 +18,7 @@ module Wazuh
18
18
  options[:ssl].merge!({ verify: false }) unless verify_ssl
19
19
 
20
20
  opts = {
21
- :links_parser => ::Sawyer::LinkParsers::Simple.new
21
+ links_parser: ::Sawyer::LinkParsers::Simple.new
22
22
  }
23
23
 
24
24
  case api_version
@@ -2,49 +2,59 @@
2
2
  module Wazuh
3
3
  module Sawyer
4
4
  module Request
5
+ MAX_ITEM_NUM = 500
6
+
5
7
  def get(path, options = {})
6
- request(:get, path, options)
8
+ request(:get, path, options).data
7
9
  end
8
10
 
9
11
  def post(path, options = {})
10
- request(:post, path, options)
12
+ request(:post, path, options).data
11
13
  end
12
14
 
13
15
  def put(path, options = {})
14
- request(:put, path, options)
16
+ request(:put, path, options).data
15
17
  end
16
18
 
17
19
  def delete(path, options = {})
18
- request(:delete, path, options)
20
+ request(:delete, path, options).data
19
21
  end
20
22
 
23
+ # The response format is different for v3 and v4.
24
+ # In v3, it is a camel case like `totalItems` and `items`,
25
+ # but in v4, it is snake case like total_affected_items.
26
+ # offset_request will fill this gap.
27
+ # This function is used if there are `affected_items` or `items` in the response.
21
28
  def offset_request(method, path, options = {})
22
29
  items = []
23
30
  data = send(method, path, options)
24
31
  total_items = api_version == 3 ? data.totalItems : data.total_affected_items
25
- 0.step(total_items, 500) { |offset|
32
+
33
+ return data.items if (api_version == 3 && data.items.size == data.totalItems)
34
+ return data.affected_items if (api_version == 4 && data.affected_items.size == data.total_affected_items)
35
+
36
+ 0.step(total_items, MAX_ITEM_NUM) do |offset|
26
37
  options[:offset] = offset
27
38
  d = send(method, path, options)
28
- _items = api_version == 3 ? data.items : d.affected_items
39
+ _items = api_version == 3 ? d.items : d.affected_items
29
40
  items.concat(_items)
30
- }
41
+ end
31
42
 
32
43
  items
33
44
  end
34
45
 
35
-
36
46
  private
37
47
 
38
48
  def request(method, path, options, query_options={})
39
49
  response = case method
40
- when :get, :delete
41
- connection.call(method, URI::Parser.new.escape(path), nil, {query: options})
42
- when :post, :put
43
- data = options unless options.empty?
44
- connection.call(method, URI::Parser.new.escape(path), data, {query: query_options})
45
- end
46
-
47
- return response.data.data if response.status == 200
50
+ when :get, :delete
51
+ connection.call(method, URI::Parser.new.escape(path), nil, {query: options})
52
+ when :post, :put
53
+ data = options unless options.empty?
54
+ connection.call(method, URI::Parser.new.escape(path), data, {query: query_options})
55
+ end
56
+
57
+ return response.data if response.status == 200
48
58
 
49
59
  raise Wazuh::Api::Errors::WazuhError.new(response.body, response)
50
60
  end
data/lib/wazuh/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Wazuh
3
- VERSION = '0.3.3'
3
+ VERSION = '0.3.6'
4
4
  end
@@ -1,3 +1,3 @@
1
1
  module WazuhRubyClient
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.6"
3
3
  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.3.3
4
+ version: 0.3.6
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-24 00:00:00.000000000 Z
11
+ date: 2022-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -185,10 +185,11 @@ executables: []
185
185
  extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
+ - ".github/workflows/codeql-analysis.yml"
188
189
  - ".github/workflows/rspec-ci.yml"
189
190
  - ".gitignore"
190
191
  - ".rspec"
191
- - ".travis.yml"
192
+ - ".rubocop.yml"
192
193
  - CHANGELOG.md
193
194
  - Gemfile
194
195
  - LICENSE
@@ -212,6 +213,23 @@ files:
212
213
  - docs/Wazuh/Api/Endpoints/Summary.html
213
214
  - docs/Wazuh/Api/Endpoints/Syscheck.html
214
215
  - docs/Wazuh/Api/Endpoints/Syscollector.html
216
+ - docs/Wazuh/Api/Endpoints/V4.html
217
+ - docs/Wazuh/Api/Endpoints/V4/ActiveResponse.html
218
+ - docs/Wazuh/Api/Endpoints/V4/Agents.html
219
+ - docs/Wazuh/Api/Endpoints/V4/Cache.html
220
+ - docs/Wazuh/Api/Endpoints/V4/Ciscat.html
221
+ - docs/Wazuh/Api/Endpoints/V4/Cluster.html
222
+ - docs/Wazuh/Api/Endpoints/V4/Decoders.html
223
+ - docs/Wazuh/Api/Endpoints/V4/Experimental.html
224
+ - docs/Wazuh/Api/Endpoints/V4/Lists.html
225
+ - docs/Wazuh/Api/Endpoints/V4/Manager.html
226
+ - docs/Wazuh/Api/Endpoints/V4/Rootcheck.html
227
+ - docs/Wazuh/Api/Endpoints/V4/Rules.html
228
+ - docs/Wazuh/Api/Endpoints/V4/SecurityConfigurationAssessment.html
229
+ - docs/Wazuh/Api/Endpoints/V4/Summary.html
230
+ - docs/Wazuh/Api/Endpoints/V4/Syscheck.html
231
+ - docs/Wazuh/Api/Endpoints/V4/Syscollector.html
232
+ - docs/Wazuh/Api/Endpoints/V4/Vulnerabilities.html
215
233
  - docs/Wazuh/Api/Errors.html
216
234
  - docs/Wazuh/Api/Errors/WazuhError.html
217
235
  - docs/Wazuh/Client.html
@@ -219,6 +237,7 @@ files:
219
237
  - docs/Wazuh/Logger.html
220
238
  - docs/Wazuh/Sawyer.html
221
239
  - docs/Wazuh/Sawyer/Connection.html
240
+ - docs/Wazuh/Sawyer/Connection/Token.html
222
241
  - docs/Wazuh/Sawyer/Request.html
223
242
  - docs/WazuhRubyClient.html
224
243
  - docs/_index.html
@@ -269,6 +288,7 @@ files:
269
288
  - lib/wazuh/api/endpoints/v4/summary.rb
270
289
  - lib/wazuh/api/endpoints/v4/syscheck.rb
271
290
  - lib/wazuh/api/endpoints/v4/syscollector.rb
291
+ - lib/wazuh/api/endpoints/v4/vulnerabilities.rb
272
292
  - lib/wazuh/api/error.rb
273
293
  - lib/wazuh/api/errors/wazuh_error.rb
274
294
  - lib/wazuh/client.rb
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.5.1
7
- before_install: gem install bundler -v 1.17.3