wazuh-ruby-client 0.3.3 → 0.3.4
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/.github/workflows/codeql-analysis.yml +70 -0
- data/CHANGELOG.md +25 -0
- data/README.md +18 -1
- data/Rakefile +4 -0
- data/docs/Wazuh/Api/Endpoints/ActiveResponse.html +10 -13
- data/docs/Wazuh/Api/Endpoints/Agents.html +483 -204
- data/docs/Wazuh/Api/Endpoints/Cache.html +7 -7
- data/docs/Wazuh/Api/Endpoints/Ciscat.html +10 -13
- data/docs/Wazuh/Api/Endpoints/Cluster.html +52 -58
- data/docs/Wazuh/Api/Endpoints/Decoders.html +27 -39
- data/docs/Wazuh/Api/Endpoints/Experimental.html +63 -96
- data/docs/Wazuh/Api/Endpoints/Lists.html +15 -21
- data/docs/Wazuh/Api/Endpoints/Manager.html +44 -62
- data/docs/Wazuh/Api/Endpoints/Rootcheck.html +36 -52
- data/docs/Wazuh/Api/Endpoints/Rules.html +49 -68
- data/docs/Wazuh/Api/Endpoints/SecurityConfigurationAssessment.html +20 -31
- data/docs/Wazuh/Api/Endpoints/Summary.html +7 -7
- data/docs/Wazuh/Api/Endpoints/Syscheck.html +26 -33
- data/docs/Wazuh/Api/Endpoints/Syscollector.html +43 -61
- data/docs/Wazuh/Api/Endpoints/V4/ActiveResponse.html +198 -0
- data/docs/Wazuh/Api/Endpoints/V4/Agents.html +1079 -0
- data/docs/Wazuh/Api/Endpoints/V4/Cache.html +195 -0
- data/docs/Wazuh/Api/Endpoints/V4/Ciscat.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Cluster.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Decoders.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Experimental.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Lists.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Manager.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Rootcheck.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Rules.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/SecurityConfigurationAssessment.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Summary.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Syscheck.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Syscollector.html +126 -0
- data/docs/Wazuh/Api/Endpoints/V4/Vulnerabilities.html +399 -0
- data/docs/Wazuh/Api/Endpoints/V4.html +403 -0
- data/docs/Wazuh/Api/Endpoints.html +9 -14
- data/docs/Wazuh/Api/Errors/WazuhError.html +9 -9
- data/docs/Wazuh/Api/Errors.html +6 -6
- data/docs/Wazuh/Api.html +7 -7
- data/docs/Wazuh/Client.html +35 -190
- data/docs/Wazuh/Config.html +20 -11
- data/docs/Wazuh/Logger.html +6 -6
- data/docs/Wazuh/Sawyer/Connection/Token.html +208 -0
- data/docs/Wazuh/Sawyer/Connection.html +19 -7
- data/docs/Wazuh/Sawyer/Request.html +78 -6
- data/docs/Wazuh/Sawyer.html +8 -8
- data/docs/Wazuh.html +16 -16
- data/docs/WazuhRubyClient.html +7 -7
- data/docs/_index.html +149 -7
- data/docs/class_list.html +3 -3
- data/docs/css/style.css +2 -2
- data/docs/file.README.html +39 -18
- data/docs/file_list.html +2 -2
- data/docs/frames.html +2 -2
- data/docs/index.html +39 -18
- data/docs/js/app.js +25 -3
- data/docs/method_list.html +269 -69
- data/docs/top-level-namespace.html +6 -6
- data/lib/wazuh/api/endpoints/v4/vulnerabilities.rb +47 -0
- data/lib/wazuh/api/endpoints/v4.rb +2 -1
- data/lib/wazuh/version.rb +1 -1
- data/lib/wazuh-ruby-client/version.rb +1 -1
- metadata +25 -5
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Wazuh::Api::Endpoints::Experimental
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.25
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "Wazuh::Api::Endpoints::Experimental";
|
19
19
|
relpath = '../../../';
|
20
20
|
</script>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
|
77
77
|
<dl>
|
78
78
|
<dt>Included in:</dt>
|
79
|
-
<dd><span class='object_link'><a href="../Endpoints.html" title="Wazuh::Api::Endpoints (module)">Wazuh::Api::Endpoints</a></span></dd>
|
79
|
+
<dd><span class='object_link'><a href="../Endpoints.html" title="Wazuh::Api::Endpoints (module)">Wazuh::Api::Endpoints</a></span>, <span class='object_link'><a href="V4/Experimental.html" title="Wazuh::Api::Endpoints::V4::Experimental (module)">V4::Experimental</a></span></dd>
|
80
80
|
</dl>
|
81
81
|
|
82
82
|
|
@@ -193,8 +193,7 @@
|
|
193
193
|
|
194
194
|
|
195
195
|
<span class="summary_desc"><div class='inline'>
|
196
|
-
<p>Get network address info of all agents Returns the agent’s network address
|
197
|
-
info.</p>
|
196
|
+
<p>Get network address info of all agents Returns the agent’s network address info.</p>
|
198
197
|
</div></span>
|
199
198
|
|
200
199
|
</li>
|
@@ -218,8 +217,7 @@ info.</p>
|
|
218
217
|
|
219
218
|
|
220
219
|
<span class="summary_desc"><div class='inline'>
|
221
|
-
<p>Get network interface info of all agents Returns the agent’s network
|
222
|
-
interface info.</p>
|
220
|
+
<p>Get network interface info of all agents Returns the agent’s network interface info.</p>
|
223
221
|
</div></span>
|
224
222
|
|
225
223
|
</li>
|
@@ -243,8 +241,7 @@ interface info.</p>
|
|
243
241
|
|
244
242
|
|
245
243
|
<span class="summary_desc"><div class='inline'>
|
246
|
-
<p>Get network protocol info of all agents Returns the agent’s network
|
247
|
-
protocol info.</p>
|
244
|
+
<p>Get network protocol info of all agents Returns the agent’s network protocol info.</p>
|
248
245
|
</div></span>
|
249
246
|
|
250
247
|
</li>
|
@@ -449,8 +446,7 @@ protocol info.</p>
|
|
449
446
|
</span>
|
450
447
|
|
451
448
|
— <div class='inline'>
|
452
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
453
|
-
the beginning to list in ascending or descending order.</p>
|
449
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
454
450
|
</div>
|
455
451
|
|
456
452
|
</li>
|
@@ -570,17 +566,15 @@ the beginning to list in ascending or descending order.</p>
|
|
570
566
|
<pre class="lines">
|
571
567
|
|
572
568
|
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
314</pre>
|
569
|
+
303
|
570
|
+
304
|
571
|
+
305</pre>
|
577
572
|
</td>
|
578
573
|
<td>
|
579
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line
|
574
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line 303</span>
|
580
575
|
|
581
576
|
<span class='kw'>def</span> <span class='id identifier rubyid_experimental_ciscat_results'>experimental_ciscat_results</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
582
|
-
<span class='id identifier
|
583
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
577
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/experimental/ciscat/results</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
584
578
|
<span class='kw'>end</span></pre>
|
585
579
|
</td>
|
586
580
|
</tr>
|
@@ -722,8 +716,7 @@ the beginning to list in ascending or descending order.</p>
|
|
722
716
|
</span>
|
723
717
|
|
724
718
|
— <div class='inline'>
|
725
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
726
|
-
the beginning to list in ascending or descending order.</p>
|
719
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
727
720
|
</div>
|
728
721
|
|
729
722
|
</li>
|
@@ -851,15 +844,13 @@ the beginning to list in ascending or descending order.</p>
|
|
851
844
|
|
852
845
|
44
|
853
846
|
45
|
854
|
-
46
|
855
|
-
47</pre>
|
847
|
+
46</pre>
|
856
848
|
</td>
|
857
849
|
<td>
|
858
850
|
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line 44</span>
|
859
851
|
|
860
852
|
<span class='kw'>def</span> <span class='id identifier rubyid_experimental_hardware'>experimental_hardware</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
861
|
-
<span class='id identifier
|
862
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
853
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/experimental/syscollector/hardware</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
863
854
|
<span class='kw'>end</span></pre>
|
864
855
|
</td>
|
865
856
|
</tr>
|
@@ -878,8 +869,7 @@ the beginning to list in ascending or descending order.</p>
|
|
878
869
|
</h3><div class="docstring">
|
879
870
|
<div class="discussion">
|
880
871
|
|
881
|
-
<p>Get network address info of all agents Returns the agent’s network address
|
882
|
-
info.</p>
|
872
|
+
<p>Get network address info of all agents Returns the agent’s network address info.</p>
|
883
873
|
|
884
874
|
|
885
875
|
</div>
|
@@ -957,8 +947,7 @@ info.</p>
|
|
957
947
|
</span>
|
958
948
|
|
959
949
|
— <div class='inline'>
|
960
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
961
|
-
the beginning to list in ascending or descending order.</p>
|
950
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
962
951
|
</div>
|
963
952
|
|
964
953
|
</li>
|
@@ -1071,17 +1060,15 @@ the beginning to list in ascending or descending order.</p>
|
|
1071
1060
|
<pre class="lines">
|
1072
1061
|
|
1073
1062
|
|
1063
|
+
73
|
1074
1064
|
74
|
1075
|
-
75
|
1076
|
-
76
|
1077
|
-
77</pre>
|
1065
|
+
75</pre>
|
1078
1066
|
</td>
|
1079
1067
|
<td>
|
1080
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line
|
1068
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line 73</span>
|
1081
1069
|
|
1082
1070
|
<span class='kw'>def</span> <span class='id identifier rubyid_experimental_netaddr'>experimental_netaddr</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1083
|
-
<span class='id identifier
|
1084
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
1071
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/experimental/syscollector/netaddr</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1085
1072
|
<span class='kw'>end</span></pre>
|
1086
1073
|
</td>
|
1087
1074
|
</tr>
|
@@ -1100,8 +1087,7 @@ the beginning to list in ascending or descending order.</p>
|
|
1100
1087
|
</h3><div class="docstring">
|
1101
1088
|
<div class="discussion">
|
1102
1089
|
|
1103
|
-
<p>Get network interface info of all agents Returns the agent’s network
|
1104
|
-
interface info.</p>
|
1090
|
+
<p>Get network interface info of all agents Returns the agent’s network interface info.</p>
|
1105
1091
|
|
1106
1092
|
|
1107
1093
|
</div>
|
@@ -1170,8 +1156,7 @@ interface info.</p>
|
|
1170
1156
|
</span>
|
1171
1157
|
|
1172
1158
|
— <div class='inline'>
|
1173
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
1174
|
-
the beginning to list in ascending or descending order.</p>
|
1159
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
1175
1160
|
</div>
|
1176
1161
|
|
1177
1162
|
</li>
|
@@ -1356,17 +1341,15 @@ the beginning to list in ascending or descending order.</p>
|
|
1356
1341
|
<pre class="lines">
|
1357
1342
|
|
1358
1343
|
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
114</pre>
|
1344
|
+
109
|
1345
|
+
110
|
1346
|
+
111</pre>
|
1363
1347
|
</td>
|
1364
1348
|
<td>
|
1365
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line
|
1349
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line 109</span>
|
1366
1350
|
|
1367
1351
|
<span class='kw'>def</span> <span class='id identifier rubyid_experimental_netiface'>experimental_netiface</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1368
|
-
<span class='id identifier
|
1369
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
1352
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/experimental/syscollector/netiface</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1370
1353
|
<span class='kw'>end</span></pre>
|
1371
1354
|
</td>
|
1372
1355
|
</tr>
|
@@ -1385,8 +1368,7 @@ the beginning to list in ascending or descending order.</p>
|
|
1385
1368
|
</h3><div class="docstring">
|
1386
1369
|
<div class="discussion">
|
1387
1370
|
|
1388
|
-
<p>Get network protocol info of all agents Returns the agent’s network
|
1389
|
-
protocol info.</p>
|
1371
|
+
<p>Get network protocol info of all agents Returns the agent’s network protocol info.</p>
|
1390
1372
|
|
1391
1373
|
|
1392
1374
|
</div>
|
@@ -1464,8 +1446,7 @@ protocol info.</p>
|
|
1464
1446
|
</span>
|
1465
1447
|
|
1466
1448
|
— <div class='inline'>
|
1467
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
1468
|
-
the beginning to list in ascending or descending order.</p>
|
1449
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
1469
1450
|
</div>
|
1470
1451
|
|
1471
1452
|
</li>
|
@@ -1565,17 +1546,15 @@ the beginning to list in ascending or descending order.</p>
|
|
1565
1546
|
<pre class="lines">
|
1566
1547
|
|
1567
1548
|
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
142</pre>
|
1549
|
+
136
|
1550
|
+
137
|
1551
|
+
138</pre>
|
1572
1552
|
</td>
|
1573
1553
|
<td>
|
1574
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line
|
1554
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line 136</span>
|
1575
1555
|
|
1576
1556
|
<span class='kw'>def</span> <span class='id identifier rubyid_experimental_netproto'>experimental_netproto</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1577
|
-
<span class='id identifier
|
1578
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
1557
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/experimental/syscollector/netproto</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1579
1558
|
<span class='kw'>end</span></pre>
|
1580
1559
|
</td>
|
1581
1560
|
</tr>
|
@@ -1663,8 +1642,7 @@ the beginning to list in ascending or descending order.</p>
|
|
1663
1642
|
</span>
|
1664
1643
|
|
1665
1644
|
— <div class='inline'>
|
1666
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
1667
|
-
the beginning to list in ascending or descending order.</p>
|
1645
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
1668
1646
|
</div>
|
1669
1647
|
|
1670
1648
|
</li>
|
@@ -1790,17 +1768,15 @@ the beginning to list in ascending or descending order.</p>
|
|
1790
1768
|
<pre class="lines">
|
1791
1769
|
|
1792
1770
|
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
173</pre>
|
1771
|
+
166
|
1772
|
+
167
|
1773
|
+
168</pre>
|
1797
1774
|
</td>
|
1798
1775
|
<td>
|
1799
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line
|
1776
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line 166</span>
|
1800
1777
|
|
1801
1778
|
<span class='kw'>def</span> <span class='id identifier rubyid_experimental_os'>experimental_os</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
1802
|
-
<span class='id identifier
|
1803
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
1779
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/experimentalsyscollector/os</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1804
1780
|
<span class='kw'>end</span></pre>
|
1805
1781
|
</td>
|
1806
1782
|
</tr>
|
@@ -1897,8 +1873,7 @@ the beginning to list in ascending or descending order.</p>
|
|
1897
1873
|
</span>
|
1898
1874
|
|
1899
1875
|
— <div class='inline'>
|
1900
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
1901
|
-
the beginning to list in ascending or descending order.</p>
|
1876
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
1902
1877
|
</div>
|
1903
1878
|
|
1904
1879
|
</li>
|
@@ -2011,17 +1986,15 @@ the beginning to list in ascending or descending order.</p>
|
|
2011
1986
|
<pre class="lines">
|
2012
1987
|
|
2013
1988
|
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
203</pre>
|
1989
|
+
195
|
1990
|
+
196
|
1991
|
+
197</pre>
|
2018
1992
|
</td>
|
2019
1993
|
<td>
|
2020
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line
|
1994
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line 195</span>
|
2021
1995
|
|
2022
1996
|
<span class='kw'>def</span> <span class='id identifier rubyid_experimental_packages'>experimental_packages</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
2023
|
-
<span class='id identifier
|
2024
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
1997
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/experimental/syscollector/packages</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
2025
1998
|
<span class='kw'>end</span></pre>
|
2026
1999
|
</td>
|
2027
2000
|
</tr>
|
@@ -2118,8 +2091,7 @@ the beginning to list in ascending or descending order.</p>
|
|
2118
2091
|
</span>
|
2119
2092
|
|
2120
2093
|
— <div class='inline'>
|
2121
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
2122
|
-
the beginning to list in ascending or descending order.</p>
|
2094
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
2123
2095
|
</div>
|
2124
2096
|
|
2125
2097
|
</li>
|
@@ -2258,17 +2230,15 @@ the beginning to list in ascending or descending order.</p>
|
|
2258
2230
|
<pre class="lines">
|
2259
2231
|
|
2260
2232
|
|
2261
|
-
|
2262
|
-
|
2263
|
-
|
2264
|
-
237</pre>
|
2233
|
+
228
|
2234
|
+
229
|
2235
|
+
230</pre>
|
2265
2236
|
</td>
|
2266
2237
|
<td>
|
2267
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line
|
2238
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line 228</span>
|
2268
2239
|
|
2269
2240
|
<span class='kw'>def</span> <span class='id identifier rubyid_experimental_ports'>experimental_ports</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
2270
|
-
<span class='id identifier
|
2271
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
2241
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/experimental/syscollector/ports</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
2272
2242
|
<span class='kw'>end</span></pre>
|
2273
2243
|
</td>
|
2274
2244
|
</tr>
|
@@ -2365,8 +2335,7 @@ the beginning to list in ascending or descending order.</p>
|
|
2365
2335
|
</span>
|
2366
2336
|
|
2367
2337
|
— <div class='inline'>
|
2368
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
2369
|
-
the beginning to list in ascending or descending order.</p>
|
2338
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
2370
2339
|
</div>
|
2371
2340
|
|
2372
2341
|
</li>
|
@@ -2596,17 +2565,15 @@ the beginning to list in ascending or descending order.</p>
|
|
2596
2565
|
<pre class="lines">
|
2597
2566
|
|
2598
2567
|
|
2599
|
-
|
2600
|
-
|
2601
|
-
|
2602
|
-
285</pre>
|
2568
|
+
275
|
2569
|
+
276
|
2570
|
+
277</pre>
|
2603
2571
|
</td>
|
2604
2572
|
<td>
|
2605
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line
|
2573
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/experimental.rb', line 275</span>
|
2606
2574
|
|
2607
2575
|
<span class='kw'>def</span> <span class='id identifier rubyid_experimental_processes'>experimental_processes</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
2608
|
-
<span class='id identifier
|
2609
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
2576
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/experimental/syscollector/processes</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
2610
2577
|
<span class='kw'>end</span></pre>
|
2611
2578
|
</td>
|
2612
2579
|
</tr>
|
@@ -2618,9 +2585,9 @@ the beginning to list in ascending or descending order.</p>
|
|
2618
2585
|
</div>
|
2619
2586
|
|
2620
2587
|
<div id="footer">
|
2621
|
-
Generated on
|
2588
|
+
Generated on Thu Feb 3 21:40:18 2022 by
|
2622
2589
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2623
|
-
0.9.
|
2590
|
+
0.9.25 (ruby-2.6.3).
|
2624
2591
|
</div>
|
2625
2592
|
|
2626
2593
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Wazuh::Api::Endpoints::Lists
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.25
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "Wazuh::Api::Endpoints::Lists";
|
19
19
|
relpath = '../../../';
|
20
20
|
</script>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
|
77
77
|
<dl>
|
78
78
|
<dt>Included in:</dt>
|
79
|
-
<dd><span class='object_link'><a href="../Endpoints.html" title="Wazuh::Api::Endpoints (module)">Wazuh::Api::Endpoints</a></span></dd>
|
79
|
+
<dd><span class='object_link'><a href="../Endpoints.html" title="Wazuh::Api::Endpoints (module)">Wazuh::Api::Endpoints</a></span>, <span class='object_link'><a href="V4/Lists.html" title="Wazuh::Api::Endpoints::V4::Lists (module)">V4::Lists</a></span></dd>
|
80
80
|
</dl>
|
81
81
|
|
82
82
|
|
@@ -241,8 +241,7 @@
|
|
241
241
|
</span>
|
242
242
|
|
243
243
|
— <div class='inline'>
|
244
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
245
|
-
the beginning to list in ascending or descending order.</p>
|
244
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
246
245
|
</div>
|
247
246
|
|
248
247
|
</li>
|
@@ -277,17 +276,15 @@ the beginning to list in ascending or descending order.</p>
|
|
277
276
|
<pre class="lines">
|
278
277
|
|
279
278
|
|
279
|
+
36
|
280
280
|
37
|
281
|
-
38
|
282
|
-
39
|
283
|
-
40</pre>
|
281
|
+
38</pre>
|
284
282
|
</td>
|
285
283
|
<td>
|
286
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/lists.rb', line
|
284
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/lists.rb', line 36</span>
|
287
285
|
|
288
286
|
<span class='kw'>def</span> <span class='id identifier rubyid_cdb_files_path'>cdb_files_path</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
289
|
-
<span class='id identifier
|
290
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
287
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/lists/files</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
291
288
|
<span class='kw'>end</span></pre>
|
292
289
|
</td>
|
293
290
|
</tr>
|
@@ -375,8 +372,7 @@ the beginning to list in ascending or descending order.</p>
|
|
375
372
|
</span>
|
376
373
|
|
377
374
|
— <div class='inline'>
|
378
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
379
|
-
the beginning to list in ascending or descending order.</p>
|
375
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
380
376
|
</div>
|
381
377
|
|
382
378
|
</li>
|
@@ -426,15 +422,13 @@ the beginning to list in ascending or descending order.</p>
|
|
426
422
|
|
427
423
|
20
|
428
424
|
21
|
429
|
-
22
|
430
|
-
23</pre>
|
425
|
+
22</pre>
|
431
426
|
</td>
|
432
427
|
<td>
|
433
428
|
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/lists.rb', line 20</span>
|
434
429
|
|
435
430
|
<span class='kw'>def</span> <span class='id identifier rubyid_cdb_lists'>cdb_lists</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
436
|
-
<span class='id identifier
|
437
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
431
|
+
<span class='id identifier rubyid_offset_request'>offset_request</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>get</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/lists</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
438
432
|
<span class='kw'>end</span></pre>
|
439
433
|
</td>
|
440
434
|
</tr>
|
@@ -446,9 +440,9 @@ the beginning to list in ascending or descending order.</p>
|
|
446
440
|
</div>
|
447
441
|
|
448
442
|
<div id="footer">
|
449
|
-
Generated on
|
443
|
+
Generated on Thu Feb 3 21:40:17 2022 by
|
450
444
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
451
|
-
0.9.
|
445
|
+
0.9.25 (ruby-2.6.3).
|
452
446
|
</div>
|
453
447
|
|
454
448
|
</div>
|