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
data/docs/_index.html CHANGED
@@ -4,15 +4,15 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Documentation by YARD 0.9.16
7
+ Documentation by YARD 0.9.25
8
8
 
9
9
  </title>
10
10
 
11
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" />
12
12
 
13
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" />
14
14
 
15
- <script type="text/javascript" charset="utf-8">
15
+ <script type="text/javascript">
16
16
  pathId = null;
17
17
  relpath = '';
18
18
  </script>
@@ -52,7 +52,7 @@
52
52
  <div class="clear"></div>
53
53
  </div>
54
54
 
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.16</h1>
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.25</h1>
56
56
  <div id="listing">
57
57
  <h1 class="alphaindex">Alphabetic Index</h1>
58
58
 
@@ -80,6 +80,13 @@
80
80
  <li class="letter">A</li>
81
81
  <ul>
82
82
 
83
+ <li>
84
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/ActiveResponse.html" title="Wazuh::Api::Endpoints::V4::ActiveResponse (module)">ActiveResponse</a></span>
85
+
86
+ <small>(Wazuh::Api::Endpoints::V4)</small>
87
+
88
+ </li>
89
+
83
90
  <li>
84
91
  <span class='object_link'><a href="Wazuh/Api/Endpoints/ActiveResponse.html" title="Wazuh::Api::Endpoints::ActiveResponse (module)">ActiveResponse</a></span>
85
92
 
@@ -94,6 +101,13 @@
94
101
 
95
102
  </li>
96
103
 
104
+ <li>
105
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Agents.html" title="Wazuh::Api::Endpoints::V4::Agents (module)">Agents</a></span>
106
+
107
+ <small>(Wazuh::Api::Endpoints::V4)</small>
108
+
109
+ </li>
110
+
97
111
  <li>
98
112
  <span class='object_link'><a href="Wazuh/Api.html" title="Wazuh::Api (module)">Api</a></span>
99
113
 
@@ -109,6 +123,13 @@
109
123
  <li class="letter">C</li>
110
124
  <ul>
111
125
 
126
+ <li>
127
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Cache.html" title="Wazuh::Api::Endpoints::V4::Cache (module)">Cache</a></span>
128
+
129
+ <small>(Wazuh::Api::Endpoints::V4)</small>
130
+
131
+ </li>
132
+
112
133
  <li>
113
134
  <span class='object_link'><a href="Wazuh/Api/Endpoints/Cache.html" title="Wazuh::Api::Endpoints::Cache (module)">Cache</a></span>
114
135
 
@@ -116,6 +137,13 @@
116
137
 
117
138
  </li>
118
139
 
140
+ <li>
141
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Ciscat.html" title="Wazuh::Api::Endpoints::V4::Ciscat (module)">Ciscat</a></span>
142
+
143
+ <small>(Wazuh::Api::Endpoints::V4)</small>
144
+
145
+ </li>
146
+
119
147
  <li>
120
148
  <span class='object_link'><a href="Wazuh/Api/Endpoints/Ciscat.html" title="Wazuh::Api::Endpoints::Ciscat (module)">Ciscat</a></span>
121
149
 
@@ -137,6 +165,13 @@
137
165
 
138
166
  </li>
139
167
 
168
+ <li>
169
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Cluster.html" title="Wazuh::Api::Endpoints::V4::Cluster (module)">Cluster</a></span>
170
+
171
+ <small>(Wazuh::Api::Endpoints::V4)</small>
172
+
173
+ </li>
174
+
140
175
  <li>
141
176
  <span class='object_link'><a href="Wazuh/Config.html" title="Wazuh::Config (module)">Config</a></span>
142
177
 
@@ -159,6 +194,13 @@
159
194
  <li class="letter">D</li>
160
195
  <ul>
161
196
 
197
+ <li>
198
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Decoders.html" title="Wazuh::Api::Endpoints::V4::Decoders (module)">Decoders</a></span>
199
+
200
+ <small>(Wazuh::Api::Endpoints::V4)</small>
201
+
202
+ </li>
203
+
162
204
  <li>
163
205
  <span class='object_link'><a href="Wazuh/Api/Endpoints/Decoders.html" title="Wazuh::Api::Endpoints::Decoders (module)">Decoders</a></span>
164
206
 
@@ -195,6 +237,13 @@
195
237
 
196
238
  </li>
197
239
 
240
+ <li>
241
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Experimental.html" title="Wazuh::Api::Endpoints::V4::Experimental (module)">Experimental</a></span>
242
+
243
+ <small>(Wazuh::Api::Endpoints::V4)</small>
244
+
245
+ </li>
246
+
198
247
  </ul>
199
248
  </ul>
200
249
 
@@ -210,6 +259,13 @@
210
259
 
211
260
  </li>
212
261
 
262
+ <li>
263
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Lists.html" title="Wazuh::Api::Endpoints::V4::Lists (module)">Lists</a></span>
264
+
265
+ <small>(Wazuh::Api::Endpoints::V4)</small>
266
+
267
+ </li>
268
+
213
269
  <li>
214
270
  <span class='object_link'><a href="Wazuh/Logger.html" title="Wazuh::Logger (class)">Logger</a></span>
215
271
 
@@ -225,6 +281,13 @@
225
281
  <li class="letter">M</li>
226
282
  <ul>
227
283
 
284
+ <li>
285
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Manager.html" title="Wazuh::Api::Endpoints::V4::Manager (module)">Manager</a></span>
286
+
287
+ <small>(Wazuh::Api::Endpoints::V4)</small>
288
+
289
+ </li>
290
+
228
291
  <li>
229
292
  <span class='object_link'><a href="Wazuh/Api/Endpoints/Manager.html" title="Wazuh::Api::Endpoints::Manager (module)">Manager</a></span>
230
293
 
@@ -254,6 +317,13 @@
254
317
 
255
318
  </li>
256
319
 
320
+ <li>
321
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Rootcheck.html" title="Wazuh::Api::Endpoints::V4::Rootcheck (module)">Rootcheck</a></span>
322
+
323
+ <small>(Wazuh::Api::Endpoints::V4)</small>
324
+
325
+ </li>
326
+
257
327
  <li>
258
328
  <span class='object_link'><a href="Wazuh/Api/Endpoints/Rules.html" title="Wazuh::Api::Endpoints::Rules (module)">Rules</a></span>
259
329
 
@@ -261,6 +331,13 @@
261
331
 
262
332
  </li>
263
333
 
334
+ <li>
335
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Rules.html" title="Wazuh::Api::Endpoints::V4::Rules (module)">Rules</a></span>
336
+
337
+ <small>(Wazuh::Api::Endpoints::V4)</small>
338
+
339
+ </li>
340
+
264
341
  </ul>
265
342
  </ul>
266
343
 
@@ -279,6 +356,13 @@
279
356
 
280
357
  </li>
281
358
 
359
+ <li>
360
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/SecurityConfigurationAssessment.html" title="Wazuh::Api::Endpoints::V4::SecurityConfigurationAssessment (module)">SecurityConfigurationAssessment</a></span>
361
+
362
+ <small>(Wazuh::Api::Endpoints::V4)</small>
363
+
364
+ </li>
365
+
282
366
  <li>
283
367
  <span class='object_link'><a href="Wazuh/Api/Endpoints/SecurityConfigurationAssessment.html" title="Wazuh::Api::Endpoints::SecurityConfigurationAssessment (module)">SecurityConfigurationAssessment</a></span>
284
368
 
@@ -286,6 +370,13 @@
286
370
 
287
371
  </li>
288
372
 
373
+ <li>
374
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Summary.html" title="Wazuh::Api::Endpoints::V4::Summary (module)">Summary</a></span>
375
+
376
+ <small>(Wazuh::Api::Endpoints::V4)</small>
377
+
378
+ </li>
379
+
289
380
  <li>
290
381
  <span class='object_link'><a href="Wazuh/Api/Endpoints/Summary.html" title="Wazuh::Api::Endpoints::Summary (module)">Summary</a></span>
291
382
 
@@ -300,6 +391,20 @@
300
391
 
301
392
  </li>
302
393
 
394
+ <li>
395
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Syscheck.html" title="Wazuh::Api::Endpoints::V4::Syscheck (module)">Syscheck</a></span>
396
+
397
+ <small>(Wazuh::Api::Endpoints::V4)</small>
398
+
399
+ </li>
400
+
401
+ <li>
402
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Syscollector.html" title="Wazuh::Api::Endpoints::V4::Syscollector (module)">Syscollector</a></span>
403
+
404
+ <small>(Wazuh::Api::Endpoints::V4)</small>
405
+
406
+ </li>
407
+
303
408
  <li>
304
409
  <span class='object_link'><a href="Wazuh/Api/Endpoints/Syscollector.html" title="Wazuh::Api::Endpoints::Syscollector (module)">Syscollector</a></span>
305
410
 
@@ -311,6 +416,43 @@
311
416
  </ul>
312
417
 
313
418
 
419
+ <ul id="alpha_T" class="alpha">
420
+ <li class="letter">T</li>
421
+ <ul>
422
+
423
+ <li>
424
+ <span class='object_link'><a href="Wazuh/Sawyer/Connection/Token.html" title="Wazuh::Sawyer::Connection::Token (class)">Token</a></span>
425
+
426
+ <small>(Wazuh::Sawyer::Connection)</small>
427
+
428
+ </li>
429
+
430
+ </ul>
431
+ </ul>
432
+
433
+
434
+ <ul id="alpha_V" class="alpha">
435
+ <li class="letter">V</li>
436
+ <ul>
437
+
438
+ <li>
439
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4.html" title="Wazuh::Api::Endpoints::V4 (module)">V4</a></span>
440
+
441
+ <small>(Wazuh::Api::Endpoints)</small>
442
+
443
+ </li>
444
+
445
+ <li>
446
+ <span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Vulnerabilities.html" title="Wazuh::Api::Endpoints::V4::Vulnerabilities (module)">Vulnerabilities</a></span>
447
+
448
+ <small>(Wazuh::Api::Endpoints::V4)</small>
449
+
450
+ </li>
451
+
452
+ </ul>
453
+ </ul>
454
+
455
+
314
456
  <ul id="alpha_W" class="alpha">
315
457
  <li class="letter">W</li>
316
458
  <ul>
@@ -344,9 +486,9 @@
344
486
  </div>
345
487
 
346
488
  <div id="footer">
347
- Generated on Tue Feb 18 20:12:27 2020 by
489
+ Generated on Thu Feb 3 21:40:17 2022 by
348
490
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
349
- 0.9.16 (ruby-2.5.1).
491
+ 0.9.25 (ruby-2.6.3).
350
492
  </div>
351
493
 
352
494
  </div>
data/docs/class_list.html CHANGED
@@ -4,9 +4,9 @@
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
5
  <meta charset="utf-8" />
6
6
 
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" />
8
8
 
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" />
10
10
 
11
11
 
12
12
 
@@ -43,7 +43,7 @@
43
43
 
44
44
  <ul id="full_list" class="class">
45
45
  <li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
46
- <li id='object_Wazuh' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh.html" title="Wazuh (module)">Wazuh</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Wazuh::Api' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh/Api.html" title="Wazuh::Api (module)">Api</a></span><small class='search_info'>Wazuh</small></div><ul><li id='object_Wazuh::Api::Endpoints' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh/Api/Endpoints.html" title="Wazuh::Api::Endpoints (module)">Endpoints</a></span><small class='search_info'>Wazuh::Api</small></div><ul><li id='object_Wazuh::Api::Endpoints::ActiveResponse' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/ActiveResponse.html" title="Wazuh::Api::Endpoints::ActiveResponse (module)">ActiveResponse</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Agents' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Agents.html" title="Wazuh::Api::Endpoints::Agents (module)">Agents</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Cache' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Cache.html" title="Wazuh::Api::Endpoints::Cache (module)">Cache</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Ciscat' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Ciscat.html" title="Wazuh::Api::Endpoints::Ciscat (module)">Ciscat</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Cluster' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Cluster.html" title="Wazuh::Api::Endpoints::Cluster (module)">Cluster</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Decoders' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Decoders.html" title="Wazuh::Api::Endpoints::Decoders (module)">Decoders</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Experimental' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Experimental.html" title="Wazuh::Api::Endpoints::Experimental (module)">Experimental</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Lists' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Lists.html" title="Wazuh::Api::Endpoints::Lists (module)">Lists</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Manager' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Manager.html" title="Wazuh::Api::Endpoints::Manager (module)">Manager</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Rootcheck' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Rootcheck.html" title="Wazuh::Api::Endpoints::Rootcheck (module)">Rootcheck</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Rules' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Rules.html" title="Wazuh::Api::Endpoints::Rules (module)">Rules</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::SecurityConfigurationAssessment' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/SecurityConfigurationAssessment.html" title="Wazuh::Api::Endpoints::SecurityConfigurationAssessment (module)">SecurityConfigurationAssessment</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Summary' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Summary.html" title="Wazuh::Api::Endpoints::Summary (module)">Summary</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Syscheck' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Syscheck.html" title="Wazuh::Api::Endpoints::Syscheck (module)">Syscheck</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Syscollector' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Syscollector.html" title="Wazuh::Api::Endpoints::Syscollector (module)">Syscollector</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li></ul></li><li id='object_Wazuh::Api::Errors' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh/Api/Errors.html" title="Wazuh::Api::Errors (module)">Errors</a></span><small class='search_info'>Wazuh::Api</small></div><ul><li id='object_Wazuh::Api::Errors::WazuhError' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Errors/WazuhError.html" title="Wazuh::Api::Errors::WazuhError (class)">WazuhError</a></span> &lt; StandardError<small class='search_info'>Wazuh::Api::Errors</small></div></li></ul></li></ul></li><li id='object_Wazuh::Client' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Wazuh/Client.html" title="Wazuh::Client (class)">Client</a></span> &lt; Object<small class='search_info'>Wazuh</small></div></li><li id='object_Wazuh::Config' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Wazuh/Config.html" title="Wazuh::Config (module)">Config</a></span><small class='search_info'>Wazuh</small></div></li><li id='object_Wazuh::Logger' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Wazuh/Logger.html" title="Wazuh::Logger (class)">Logger</a></span> &lt; Logger<small class='search_info'>Wazuh</small></div></li><li id='object_Wazuh::Sawyer' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh/Sawyer.html" title="Wazuh::Sawyer (module)">Sawyer</a></span><small class='search_info'>Wazuh</small></div><ul><li id='object_Wazuh::Sawyer::Connection' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Wazuh/Sawyer/Connection.html" title="Wazuh::Sawyer::Connection (module)">Connection</a></span><small class='search_info'>Wazuh::Sawyer</small></div></li><li id='object_Wazuh::Sawyer::Request' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Wazuh/Sawyer/Request.html" title="Wazuh::Sawyer::Request (module)">Request</a></span><small class='search_info'>Wazuh::Sawyer</small></div></li></ul></li></ul></li><li id='object_WazuhRubyClient' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="WazuhRubyClient.html" title="WazuhRubyClient (module)">WazuhRubyClient</a></span><small class='search_info'>Top Level Namespace</small></div></li>
46
+ <li id='object_Wazuh' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh.html" title="Wazuh (module)">Wazuh</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Wazuh::Api' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh/Api.html" title="Wazuh::Api (module)">Api</a></span><small class='search_info'>Wazuh</small></div><ul><li id='object_Wazuh::Api::Endpoints' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh/Api/Endpoints.html" title="Wazuh::Api::Endpoints (module)">Endpoints</a></span><small class='search_info'>Wazuh::Api</small></div><ul><li id='object_Wazuh::Api::Endpoints::ActiveResponse' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/ActiveResponse.html" title="Wazuh::Api::Endpoints::ActiveResponse (module)">ActiveResponse</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Agents' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Agents.html" title="Wazuh::Api::Endpoints::Agents (module)">Agents</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Cache' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Cache.html" title="Wazuh::Api::Endpoints::Cache (module)">Cache</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Ciscat' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Ciscat.html" title="Wazuh::Api::Endpoints::Ciscat (module)">Ciscat</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Cluster' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Cluster.html" title="Wazuh::Api::Endpoints::Cluster (module)">Cluster</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Decoders' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Decoders.html" title="Wazuh::Api::Endpoints::Decoders (module)">Decoders</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Experimental' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Experimental.html" title="Wazuh::Api::Endpoints::Experimental (module)">Experimental</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Lists' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Lists.html" title="Wazuh::Api::Endpoints::Lists (module)">Lists</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Manager' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Manager.html" title="Wazuh::Api::Endpoints::Manager (module)">Manager</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Rootcheck' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Rootcheck.html" title="Wazuh::Api::Endpoints::Rootcheck (module)">Rootcheck</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Rules' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Rules.html" title="Wazuh::Api::Endpoints::Rules (module)">Rules</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::SecurityConfigurationAssessment' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/SecurityConfigurationAssessment.html" title="Wazuh::Api::Endpoints::SecurityConfigurationAssessment (module)">SecurityConfigurationAssessment</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Summary' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Summary.html" title="Wazuh::Api::Endpoints::Summary (module)">Summary</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Syscheck' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Syscheck.html" title="Wazuh::Api::Endpoints::Syscheck (module)">Syscheck</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::Syscollector' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Endpoints/Syscollector.html" title="Wazuh::Api::Endpoints::Syscollector (module)">Syscollector</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div></li><li id='object_Wazuh::Api::Endpoints::V4' class='collapsed'><div class='item' style='padding-left:75px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh/Api/Endpoints/V4.html" title="Wazuh::Api::Endpoints::V4 (module)">V4</a></span><small class='search_info'>Wazuh::Api::Endpoints</small></div><ul><li id='object_Wazuh::Api::Endpoints::V4::ActiveResponse' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/ActiveResponse.html" title="Wazuh::Api::Endpoints::V4::ActiveResponse (module)">ActiveResponse</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Agents' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Agents.html" title="Wazuh::Api::Endpoints::V4::Agents (module)">Agents</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Cache' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Cache.html" title="Wazuh::Api::Endpoints::V4::Cache (module)">Cache</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Ciscat' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Ciscat.html" title="Wazuh::Api::Endpoints::V4::Ciscat (module)">Ciscat</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Cluster' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Cluster.html" title="Wazuh::Api::Endpoints::V4::Cluster (module)">Cluster</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Decoders' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Decoders.html" title="Wazuh::Api::Endpoints::V4::Decoders (module)">Decoders</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Experimental' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Experimental.html" title="Wazuh::Api::Endpoints::V4::Experimental (module)">Experimental</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Lists' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Lists.html" title="Wazuh::Api::Endpoints::V4::Lists (module)">Lists</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Manager' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Manager.html" title="Wazuh::Api::Endpoints::V4::Manager (module)">Manager</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Rootcheck' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Rootcheck.html" title="Wazuh::Api::Endpoints::V4::Rootcheck (module)">Rootcheck</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Rules' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Rules.html" title="Wazuh::Api::Endpoints::V4::Rules (module)">Rules</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::SecurityConfigurationAssessment' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/SecurityConfigurationAssessment.html" title="Wazuh::Api::Endpoints::V4::SecurityConfigurationAssessment (module)">SecurityConfigurationAssessment</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Summary' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Summary.html" title="Wazuh::Api::Endpoints::V4::Summary (module)">Summary</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Syscheck' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Syscheck.html" title="Wazuh::Api::Endpoints::V4::Syscheck (module)">Syscheck</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Syscollector' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Syscollector.html" title="Wazuh::Api::Endpoints::V4::Syscollector (module)">Syscollector</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li><li id='object_Wazuh::Api::Endpoints::V4::Vulnerabilities' class='collapsed'><div class='item' style='padding-left:90px'><span class='object_link'><a href="Wazuh/Api/Endpoints/V4/Vulnerabilities.html" title="Wazuh::Api::Endpoints::V4::Vulnerabilities (module)">Vulnerabilities</a></span><small class='search_info'>Wazuh::Api::Endpoints::V4</small></div></li></ul></li></ul></li><li id='object_Wazuh::Api::Errors' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh/Api/Errors.html" title="Wazuh::Api::Errors (module)">Errors</a></span><small class='search_info'>Wazuh::Api</small></div><ul><li id='object_Wazuh::Api::Errors::WazuhError' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Api/Errors/WazuhError.html" title="Wazuh::Api::Errors::WazuhError (class)">WazuhError</a></span> &lt; StandardError<small class='search_info'>Wazuh::Api::Errors</small></div></li></ul></li></ul></li><li id='object_Wazuh::Client' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Wazuh/Client.html" title="Wazuh::Client (class)">Client</a></span> &lt; Object<small class='search_info'>Wazuh</small></div></li><li id='object_Wazuh::Config' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Wazuh/Config.html" title="Wazuh::Config (module)">Config</a></span><small class='search_info'>Wazuh</small></div></li><li id='object_Wazuh::Logger' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Wazuh/Logger.html" title="Wazuh::Logger (class)">Logger</a></span> &lt; Logger<small class='search_info'>Wazuh</small></div></li><li id='object_Wazuh::Sawyer' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh/Sawyer.html" title="Wazuh::Sawyer (module)">Sawyer</a></span><small class='search_info'>Wazuh</small></div><ul><li id='object_Wazuh::Sawyer::Connection' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Wazuh/Sawyer/Connection.html" title="Wazuh::Sawyer::Connection (module)">Connection</a></span><small class='search_info'>Wazuh::Sawyer</small></div><ul><li id='object_Wazuh::Sawyer::Connection::Token' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Wazuh/Sawyer/Connection/Token.html" title="Wazuh::Sawyer::Connection::Token (class)">Token</a></span> &lt; Object<small class='search_info'>Wazuh::Sawyer::Connection</small></div></li></ul></li><li id='object_Wazuh::Sawyer::Request' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Wazuh/Sawyer/Request.html" title="Wazuh::Sawyer::Request (module)">Request</a></span><small class='search_info'>Wazuh::Sawyer</small></div></li></ul></li></ul></li><li id='object_WazuhRubyClient' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="WazuhRubyClient.html" title="WazuhRubyClient (module)">WazuhRubyClient</a></span><small class='search_info'>Top Level Namespace</small></div></li>
47
47
 
48
48
  </ul>
49
49
  </div>
data/docs/css/style.css CHANGED
@@ -422,8 +422,8 @@ li.r2 { background: #fafafa; }
422
422
  #toc ol { padding-left: 1.8em; }
423
423
  #toc li { font-size: 1.1em; line-height: 1.7em; }
424
424
  #toc > ol > li { font-size: 1.1em; font-weight: bold; }
425
- #toc ol > ol { font-size: 0.9em; }
426
- #toc ol ol > ol { padding-left: 2.3em; }
425
+ #toc ol > li > ol { font-size: 0.9em; }
426
+ #toc ol ol > li > ol { padding-left: 2.3em; }
427
427
  #toc ol + li { margin-top: 0.3em; }
428
428
  #toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
429
429
  #toc.hidden:hover { background: #fafafa; }
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  File: README
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 = "README";
19
19
  relpath = '';
20
20
  </script>
@@ -57,7 +57,7 @@
57
57
  <div class="clear"></div>
58
58
  </div>
59
59
 
60
- <div id="content"><div id='filecontents'><h1>Wazuh Ruby Client</h1>
60
+ <div id="content"><div id='filecontents'><h1 id="wazuh-ruby-client">Wazuh Ruby Client</h1>
61
61
 
62
62
  <p><a href="https://github.com/mrtc0/wazuh-ruby-client/blob/master/LICENSE.txt"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
63
63
  <img src="https://github.com/mrtc0/wazuh-ruby-client/workflows/GitHub%20Workflow/badge.svg" alt="">
@@ -65,28 +65,30 @@
65
65
 
66
66
  <p>A Ruby client for the wazuh APIs.</p>
67
67
 
68
- <h2>Installation</h2>
68
+ <h2 id="installation">Installation</h2>
69
69
 
70
70
  <p>Add this line to your application&#39;s Gemfile:</p>
71
71
 
72
72
  <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_gem'>gem</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>wazuh-ruby-client</span><span class='tstring_end'>&#39;</span></span>
73
73
  </code></pre>
74
74
 
75
- <h2>Usage</h2>
75
+ <h2 id="usage">Usage</h2>
76
76
 
77
77
  <pre class="code ruby"><code class="ruby"><span class='const'><span class='object_link'><a href="Wazuh.html" title="Wazuh (module)">Wazuh</a></span></span><span class='period'>.</span><span class='id identifier rubyid_configure'><span class='object_link'><a href="Wazuh.html#configure-class_method" title="Wazuh.configure (method)">configure</a></span></span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
78
78
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_endpoint'>endpoint</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://wazuh.local:55000</span><span class='tstring_end'>&quot;</span></span>
79
79
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_basic_user'>basic_user</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>foo</span><span class='tstring_end'>&quot;</span></span>
80
80
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_basic_password'>basic_password</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>bar</span><span class='tstring_end'>&quot;</span></span>
81
81
  <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_verify_ssl'>verify_ssl</span> <span class='op'>=</span> <span class='kw'>false</span>
82
- <span class='kw'>end</span>
82
+ <span class='comment'># if you are using the Wazuh version 4
83
+ </span> <span class='comment'># config.api_version = 4
84
+ </span><span class='kw'>end</span>
83
85
 
84
86
  <span class='id identifier rubyid_client'>client</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Wazuh.html" title="Wazuh (module)">Wazuh</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Wazuh/Client.html" title="Wazuh::Client (class)">Client</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="Wazuh/Client.html#initialize-instance_method" title="Wazuh::Client#initialize (method)">new</a></span></span>
85
87
  <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_all_agents'>all_agents</span>
86
88
  <span class='comment'># =&gt; {&quot;error&quot;=&gt;0, &quot;data&quot;=&gt;{&quot;items&quot;=&gt;[{&quot;os&quot;=&gt;{&quot;arch&quot;=&gt;&quot;x86_64&quot;, &quot;codename&quot;=&gt;&quot;Xenial Xerus&quot;, &quot;major&quot;=&gt;&quot;16&quot;, &quot;minor&quot;=&gt;&quot;04&quot;, &quot;name&quot;=&gt;&quot;Ubuntu&quot;, &quot;platform&quot;=&gt;&quot;ubuntu&quot;, &quot;uname&quot;=&gt;&quot;Linux |wazuh-manager-master-0 |4.14.138+ |#1 SMP Tue Sep 3 02:58:08 PDT 2019 |x86_64&quot;, &quot;version&quot;=&gt;&quot;16.04.6 LTS&quot;}, &quot;status&quot;=&gt;&quot;Active&quot;, &quot;name&quot;=&gt;&quot;wazuh-manager-master-0&quot;, &quot;registerIP&quot;=&gt;&quot;127.0.0.1&quot;, &quot;manager&quot;=&gt;&quot;wazuh-manager-master-0&quot;, &quot;dateAdd&quot;=&gt;&quot;2020-01-07 16:13:05&quot;, &quot;ip&quot;=&gt;&quot;127.0.0.1&quot;, &quot;node_name&quot;=&gt;&quot;wazuh-manager-master&quot;, &quot;version&quot;=&gt;&quot;Wazuh v3.11.1&quot;, &quot;lastKeepAlive&quot;=&gt;&quot;9999-12-31 23:59:59&quot;, &quot;id&quot;=&gt;&quot;000&quot;}], &quot;totalItems&quot;=&gt;1}}
87
89
  </span></code></pre>
88
90
 
89
- <h3>Authorization</h3>
91
+ <h3 id="authorization">Authorization</h3>
90
92
 
91
93
  <p>Set <code>basic_user</code> and <code>basic_password</code> for basic authentication.<br>
92
94
  If you using self-signed certificate, <code>verify_ssl</code> must be set to <code>false</code> .</p>
@@ -110,7 +112,7 @@ If you using self-signed certificate, <code>verify_ssl</code> must be set to <co
110
112
  <span class='kw'>end</span>
111
113
  </code></pre>
112
114
 
113
- <h3>Global Settings</h3>
115
+ <h3 id="global-settings">Global Settings</h3>
114
116
 
115
117
  <p>The following global settings are supported via <code>Wazuh.configure</code> .</p>
116
118
 
@@ -125,6 +127,10 @@ If you using self-signed certificate, <code>verify_ssl</code> must be set to <co
125
127
  <td style="text-align: left">User-Agent</td>
126
128
  </tr>
127
129
  <tr>
130
+ <td style="text-align: left">ca_file</td>
131
+ <td style="text-align: left">CA file (if use Client Certificate Authentication and specify CA file)</td>
132
+ </tr>
133
+ <tr>
128
134
  <td style="text-align: left">client_cert</td>
129
135
  <td style="text-align: left">Client certificate (if use Client Certificate Authentication)</td>
130
136
  </tr>
@@ -152,9 +158,17 @@ If you using self-signed certificate, <code>verify_ssl</code> must be set to <co
152
158
  <td style="text-align: left">endpoint</td>
153
159
  <td style="text-align: left">Wazuh API endpoint URL</td>
154
160
  </tr>
161
+ <tr>
162
+ <td style="text-align: left">ignore_env_proxy</td>
163
+ <td style="text-align: left">Ignores ENV proxy settings</td>
164
+ </tr>
165
+ <tr>
166
+ <td style="text-align: left">api_version</td>
167
+ <td style="text-align: left">Wazuh API Version (3 or 4)</td>
168
+ </tr>
155
169
  </tbody></table>
156
170
 
157
- <h3>Agents</h3>
171
+ <h3 id="agents">Agents</h3>
158
172
 
159
173
  <p>Get all agents list.</p>
160
174
 
@@ -200,7 +214,7 @@ If you using self-signed certificate, <code>verify_ssl</code> must be set to <co
200
214
  &gt; client.all_agents({ &#39;os.name&#39; =&gt; &#39;ubuntu&#39; })
201
215
  </code></pre>
202
216
 
203
- <h3>Syscollector</h3>
217
+ <h3 id="syscollector">Syscollector</h3>
204
218
 
205
219
  <p>List agent&#39;s packages.</p>
206
220
 
@@ -227,9 +241,10 @@ If you using self-signed certificate, <code>verify_ssl</code> must be set to <co
227
241
  ...
228
242
  </code></pre>
229
243
 
230
- <h3>Other</h3>
244
+ <h3 id="other">Other</h3>
231
245
 
232
- <p>wazuh-ruby-client is support to all Wazuh API. </p>
246
+ <p>wazuh-ruby-client is supports some of the Wazuh API.<br>
247
+ The v4 API is not yet supported.</p>
233
248
 
234
249
  <ul>
235
250
  <li>[x] Active Response</li>
@@ -239,14 +254,20 @@ If you using self-signed certificate, <code>verify_ssl</code> must be set to <co
239
254
  <li>[x] Cluster</li>
240
255
  <li>[x] Decoders</li>
241
256
  <li>[x] Experimental</li>
257
+ <li>[ ] Groups</li>
242
258
  <li>[x] Lists</li>
259
+ <li>[ ] Logtest</li>
260
+ <li>[ ] Mitre</li>
243
261
  <li>[x] Manager</li>
244
262
  <li>[x] Rootcheck</li>
245
263
  <li>[x] Rules</li>
264
+ <li>[ ] Security</li>
246
265
  <li>[x] Security Configuration Assessment</li>
247
266
  <li>[x] Summary</li>
248
267
  <li>[x] Syscheck</li>
249
268
  <li>[x] Syscollector</li>
269
+ <li>[ ] Tasks</li>
270
+ <li>[x] Vulnerability</li>
250
271
  </ul>
251
272
 
252
273
  <p>Refer to the document of wazuh-ruby-client and Wazuh API Reference for the list of all available methods.</p>
@@ -256,11 +277,11 @@ If you using self-signed certificate, <code>verify_ssl</code> must be set to <co
256
277
  <li><a href="https://documentation.wazuh.com/3.10/user-manual/api/reference.html">https://documentation.wazuh.com/3.10/user-manual/api/reference.html</a></li>
257
278
  </ul>
258
279
 
259
- <h2>Contributing</h2>
280
+ <h2 id="contributing">Contributing</h2>
260
281
 
261
282
  <p>Bug reports and pull requests are welcome on GitHub at <a href="https://github.com/mrtc0/wazuh-ruby-client">https://github.com/mrtc0/wazuh-ruby-client</a>.</p>
262
283
 
263
- <h2>Copyright and License</h2>
284
+ <h2 id="copyright-and-license">Copyright and License</h2>
264
285
 
265
286
  <p>Copyright (c) 2015-2019, <a href="https://blog.ssrf.in">Kohei Morita</a></p>
266
287
 
@@ -268,9 +289,9 @@ If you using self-signed certificate, <code>verify_ssl</code> must be set to <co
268
289
  </div></div>
269
290
 
270
291
  <div id="footer">
271
- Generated on Tue Feb 18 20:12:27 2020 by
292
+ Generated on Thu Feb 3 21:40:17 2022 by
272
293
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
273
- 0.9.16 (ruby-2.5.1).
294
+ 0.9.25 (ruby-2.6.3).
274
295
  </div>
275
296
 
276
297
  </div>
data/docs/file_list.html CHANGED
@@ -4,9 +4,9 @@
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
5
  <meta charset="utf-8" />
6
6
 
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" />
8
8
 
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" />
10
10
 
11
11
 
12
12
 
data/docs/frames.html CHANGED
@@ -2,9 +2,9 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>Documentation by YARD 0.9.16</title>
5
+ <title>Documentation by YARD 0.9.25</title>
6
6
  </head>
7
- <script type="text/javascript" charset="utf-8">
7
+ <script type="text/javascript">
8
8
  var match = unescape(window.location.hash).match(/^#!(.+)/);
9
9
  var name = match ? match[1] : 'index.html';
10
10
  name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');