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::Cache
|
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::Cache";
|
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/Cache.html" title="Wazuh::Api::Endpoints::V4::Cache (module)">V4::Cache</a></span></dd>
|
80
80
|
</dl>
|
81
81
|
|
82
82
|
|
@@ -405,9 +405,9 @@
|
|
405
405
|
</div>
|
406
406
|
|
407
407
|
<div id="footer">
|
408
|
-
Generated on
|
408
|
+
Generated on Thu Feb 3 21:40:17 2022 by
|
409
409
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
410
|
-
0.9.
|
410
|
+
0.9.25 (ruby-2.6.3).
|
411
411
|
</div>
|
412
412
|
|
413
413
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Wazuh::Api::Endpoints::Ciscat
|
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::Ciscat";
|
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/Ciscat.html" title="Wazuh::Api::Endpoints::V4::Ciscat (module)">V4::Ciscat</a></span></dd>
|
80
80
|
</dl>
|
81
81
|
|
82
82
|
|
@@ -235,8 +235,7 @@
|
|
235
235
|
</span>
|
236
236
|
|
237
237
|
— <div class='inline'>
|
238
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
239
|
-
the beginning to list in ascending or descending order.</p>
|
238
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
240
239
|
</div>
|
241
240
|
|
242
241
|
</li>
|
@@ -390,15 +389,13 @@ the beginning to list in ascending or descending order.</p>
|
|
390
389
|
|
391
390
|
37
|
392
391
|
38
|
393
|
-
39
|
394
|
-
40</pre>
|
392
|
+
39</pre>
|
395
393
|
</td>
|
396
394
|
<td>
|
397
395
|
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/ciscat.rb', line 37</span>
|
398
396
|
|
399
397
|
<span class='kw'>def</span> <span class='id identifier rubyid_ciscat_result'>ciscat_result</span><span class='lparen'>(</span><span class='id identifier rubyid_agent_id'>agent_id</span><span class='comma'>,</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>
|
400
|
-
<span class='id identifier
|
401
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
398
|
+
<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'>/ciscat/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_agent_id'>agent_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/results</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
402
399
|
<span class='kw'>end</span></pre>
|
403
400
|
</td>
|
404
401
|
</tr>
|
@@ -410,9 +407,9 @@ the beginning to list in ascending or descending order.</p>
|
|
410
407
|
</div>
|
411
408
|
|
412
409
|
<div id="footer">
|
413
|
-
Generated on
|
410
|
+
Generated on Thu Feb 3 21:40:18 2022 by
|
414
411
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
415
|
-
0.9.
|
412
|
+
0.9.25 (ruby-2.6.3).
|
416
413
|
</div>
|
417
414
|
|
418
415
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Wazuh::Api::Endpoints::Cluster
|
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::Cluster";
|
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/Cluster.html" title="Wazuh::Api::Endpoints::V4::Cluster (module)">V4::Cluster</a></span></dd>
|
80
80
|
</dl>
|
81
81
|
|
82
82
|
|
@@ -729,12 +729,12 @@
|
|
729
729
|
<pre class="lines">
|
730
730
|
|
731
731
|
|
732
|
-
|
733
|
-
|
734
|
-
|
732
|
+
163
|
733
|
+
164
|
734
|
+
165</pre>
|
735
735
|
</td>
|
736
736
|
<td>
|
737
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
737
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 163</span>
|
738
738
|
|
739
739
|
<span class='kw'>def</span> <span class='id identifier rubyid_analysisd_stats'>analysisd_stats</span><span class='lparen'>(</span><span class='id identifier rubyid_node_id'>node_id</span><span class='rparen'>)</span>
|
740
740
|
<span class='id identifier rubyid_get'>get</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/cluster/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node_id'>node_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/stats/analysisd</span><span class='tstring_end'>"</span></span>
|
@@ -1061,8 +1061,7 @@
|
|
1061
1061
|
</span>
|
1062
1062
|
|
1063
1063
|
— <div class='inline'>
|
1064
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
1065
|
-
the beginning to list in ascending or descending order.</p>
|
1064
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
1066
1065
|
</div>
|
1067
1066
|
|
1068
1067
|
</li>
|
@@ -1118,15 +1117,13 @@ the beginning to list in ascending or descending order.</p>
|
|
1118
1117
|
|
1119
1118
|
118
|
1120
1119
|
119
|
1121
|
-
120
|
1122
|
-
121</pre>
|
1120
|
+
120</pre>
|
1123
1121
|
</td>
|
1124
1122
|
<td>
|
1125
1123
|
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 118</span>
|
1126
1124
|
|
1127
1125
|
<span class='kw'>def</span> <span class='id identifier rubyid_cluster_logs_by_node'>cluster_logs_by_node</span><span class='lparen'>(</span><span class='id identifier rubyid_node_id'>node_id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1128
|
-
<span class='id identifier
|
1129
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
1126
|
+
<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'>/cluster/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node_id'>node_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/logs</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1130
1127
|
<span class='kw'>end</span></pre>
|
1131
1128
|
</td>
|
1132
1129
|
</tr>
|
@@ -1174,12 +1171,12 @@ the beginning to list in ascending or descending order.</p>
|
|
1174
1171
|
<pre class="lines">
|
1175
1172
|
|
1176
1173
|
|
1174
|
+
125
|
1177
1175
|
126
|
1178
|
-
127
|
1179
|
-
128</pre>
|
1176
|
+
127</pre>
|
1180
1177
|
</td>
|
1181
1178
|
<td>
|
1182
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
1179
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 125</span>
|
1183
1180
|
|
1184
1181
|
<span class='kw'>def</span> <span class='id identifier rubyid_cluster_logs_summary_by_node'>cluster_logs_summary_by_node</span><span class='lparen'>(</span><span class='id identifier rubyid_node_id'>node_id</span><span class='rparen'>)</span>
|
1185
1182
|
<span class='id identifier rubyid_get'>get</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/cluster/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node_id'>node_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/logs/summary</span><span class='tstring_end'>"</span></span>
|
@@ -1508,8 +1505,7 @@ the beginning to list in ascending or descending order.</p>
|
|
1508
1505
|
</span>
|
1509
1506
|
|
1510
1507
|
— <div class='inline'>
|
1511
|
-
<p>Validates the content of the file. An error will be returned if file
|
1512
|
-
content is not strictly correct. False by default.</p>
|
1508
|
+
<p>Validates the content of the file. An error will be returned if file content is not strictly correct. False by default.</p>
|
1513
1509
|
</div>
|
1514
1510
|
|
1515
1511
|
</li>
|
@@ -1565,12 +1561,12 @@ content is not strictly correct. False by default.</p>
|
|
1565
1561
|
<pre class="lines">
|
1566
1562
|
|
1567
1563
|
|
1564
|
+
131
|
1568
1565
|
132
|
1569
|
-
133
|
1570
|
-
134</pre>
|
1566
|
+
133</pre>
|
1571
1567
|
</td>
|
1572
1568
|
<td>
|
1573
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
1569
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 131</span>
|
1574
1570
|
|
1575
1571
|
<span class='kw'>def</span> <span class='id identifier rubyid_local_node'>local_node</span>
|
1576
1572
|
<span class='id identifier rubyid_get'>get</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/cluster/node</span><span class='tstring_end'>'</span></span>
|
@@ -1606,12 +1602,12 @@ content is not strictly correct. False by default.</p>
|
|
1606
1602
|
<pre class="lines">
|
1607
1603
|
|
1608
1604
|
|
1605
|
+
137
|
1609
1606
|
138
|
1610
|
-
139
|
1611
|
-
140</pre>
|
1607
|
+
139</pre>
|
1612
1608
|
</td>
|
1613
1609
|
<td>
|
1614
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
1610
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 137</span>
|
1615
1611
|
|
1616
1612
|
<span class='kw'>def</span> <span class='id identifier rubyid_node'>node</span><span class='lparen'>(</span><span class='id identifier rubyid_node_name'>node_name</span><span class='rparen'>)</span>
|
1617
1613
|
<span class='id identifier rubyid_get'>get</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/cluster/nodes/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node_name'>node_name</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
@@ -1759,17 +1755,15 @@ content is not strictly correct. False by default.</p>
|
|
1759
1755
|
<pre class="lines">
|
1760
1756
|
|
1761
1757
|
|
1758
|
+
143
|
1762
1759
|
144
|
1763
|
-
145
|
1764
|
-
146
|
1765
|
-
147</pre>
|
1760
|
+
145</pre>
|
1766
1761
|
</td>
|
1767
1762
|
<td>
|
1768
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
1763
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 143</span>
|
1769
1764
|
|
1770
1765
|
<span class='kw'>def</span> <span class='id identifier rubyid_nodes'>nodes</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>
|
1771
|
-
<span class='id identifier
|
1772
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
1766
|
+
<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'>/cluster/nodes</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1773
1767
|
<span class='kw'>end</span></pre>
|
1774
1768
|
</td>
|
1775
1769
|
</tr>
|
@@ -1857,12 +1851,12 @@ content is not strictly correct. False by default.</p>
|
|
1857
1851
|
<pre class="lines">
|
1858
1852
|
|
1859
1853
|
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1854
|
+
179
|
1855
|
+
180
|
1856
|
+
181</pre>
|
1863
1857
|
</td>
|
1864
1858
|
<td>
|
1865
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
1859
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 179</span>
|
1866
1860
|
|
1867
1861
|
<span class='kw'>def</span> <span class='id identifier rubyid_nodes_stats'>nodes_stats</span><span class='lparen'>(</span><span class='id identifier rubyid_node_id'>node_id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
1868
1862
|
<span class='id identifier rubyid_get'>get</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/cluster/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node_id'>node_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/stats</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span>
|
@@ -1913,12 +1907,12 @@ content is not strictly correct. False by default.</p>
|
|
1913
1907
|
<pre class="lines">
|
1914
1908
|
|
1915
1909
|
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1910
|
+
186
|
1911
|
+
187
|
1912
|
+
188</pre>
|
1919
1913
|
</td>
|
1920
1914
|
<td>
|
1921
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
1915
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 186</span>
|
1922
1916
|
|
1923
1917
|
<span class='kw'>def</span> <span class='id identifier rubyid_nodes_stats_by_hourly'>nodes_stats_by_hourly</span><span class='lparen'>(</span><span class='id identifier rubyid_node_id'>node_id</span><span class='rparen'>)</span>
|
1924
1918
|
<span class='id identifier rubyid_get'>get</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/cluster/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node_id'>node_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/stats/hourly</span><span class='tstring_end'>"</span></span>
|
@@ -1969,12 +1963,12 @@ content is not strictly correct. False by default.</p>
|
|
1969
1963
|
<pre class="lines">
|
1970
1964
|
|
1971
1965
|
|
1972
|
-
|
1973
|
-
|
1974
|
-
|
1966
|
+
193
|
1967
|
+
194
|
1968
|
+
195</pre>
|
1975
1969
|
</td>
|
1976
1970
|
<td>
|
1977
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
1971
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 193</span>
|
1978
1972
|
|
1979
1973
|
<span class='kw'>def</span> <span class='id identifier rubyid_nodes_stats_by_weekly'>nodes_stats_by_weekly</span><span class='lparen'>(</span><span class='id identifier rubyid_node_id'>node_id</span><span class='rparen'>)</span>
|
1980
1974
|
<span class='id identifier rubyid_get'>get</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/cluster/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node_id'>node_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/stats/weekly</span><span class='tstring_end'>"</span></span>
|
@@ -2025,12 +2019,12 @@ content is not strictly correct. False by default.</p>
|
|
2025
2019
|
<pre class="lines">
|
2026
2020
|
|
2027
2021
|
|
2028
|
-
|
2029
|
-
|
2030
|
-
|
2022
|
+
170
|
2023
|
+
171
|
2024
|
+
172</pre>
|
2031
2025
|
</td>
|
2032
2026
|
<td>
|
2033
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
2027
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 170</span>
|
2034
2028
|
|
2035
2029
|
<span class='kw'>def</span> <span class='id identifier rubyid_remoted_stats'>remoted_stats</span><span class='lparen'>(</span><span class='id identifier rubyid_node_id'>node_id</span><span class='rparen'>)</span>
|
2036
2030
|
<span class='id identifier rubyid_get'>get</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/cluster/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node_id'>node_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/stats/remoted</span><span class='tstring_end'>"</span></span>
|
@@ -2066,12 +2060,12 @@ content is not strictly correct. False by default.</p>
|
|
2066
2060
|
<pre class="lines">
|
2067
2061
|
|
2068
2062
|
|
2069
|
-
|
2070
|
-
|
2071
|
-
|
2063
|
+
156
|
2064
|
+
157
|
2065
|
+
158</pre>
|
2072
2066
|
</td>
|
2073
2067
|
<td>
|
2074
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
2068
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 156</span>
|
2075
2069
|
|
2076
2070
|
<span class='kw'>def</span> <span class='id identifier rubyid_restart_all_node'>restart_all_node</span>
|
2077
2071
|
<span class='id identifier rubyid_put'>put</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/cluster/restart</span><span class='tstring_end'>'</span></span>
|
@@ -2122,12 +2116,12 @@ content is not strictly correct. False by default.</p>
|
|
2122
2116
|
<pre class="lines">
|
2123
2117
|
|
2124
2118
|
|
2125
|
-
|
2126
|
-
|
2127
|
-
|
2119
|
+
150
|
2120
|
+
151
|
2121
|
+
152</pre>
|
2128
2122
|
</td>
|
2129
2123
|
<td>
|
2130
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line
|
2124
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/cluster.rb', line 150</span>
|
2131
2125
|
|
2132
2126
|
<span class='kw'>def</span> <span class='id identifier rubyid_restart_node'>restart_node</span><span class='lparen'>(</span><span class='id identifier rubyid_node_id'>node_id</span><span class='rparen'>)</span>
|
2133
2127
|
<span class='id identifier rubyid_put'>put</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/cluster/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_node_id'>node_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/restart</span><span class='tstring_end'>"</span></span>
|
@@ -2264,9 +2258,9 @@ content is not strictly correct. False by default.</p>
|
|
2264
2258
|
</div>
|
2265
2259
|
|
2266
2260
|
<div id="footer">
|
2267
|
-
Generated on
|
2261
|
+
Generated on Thu Feb 3 21:40:18 2022 by
|
2268
2262
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2269
|
-
0.9.
|
2263
|
+
0.9.25 (ruby-2.6.3).
|
2270
2264
|
</div>
|
2271
2265
|
|
2272
2266
|
</div>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Wazuh::Api::Endpoints::Decoders
|
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::Decoders";
|
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/Decoders.html" title="Wazuh::Api::Endpoints::V4::Decoders (module)">V4::Decoders</a></span></dd>
|
80
80
|
</dl>
|
81
81
|
|
82
82
|
|
@@ -289,8 +289,7 @@
|
|
289
289
|
</span>
|
290
290
|
|
291
291
|
— <div class='inline'>
|
292
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
293
|
-
the beginning to list in ascending or descending order.</p>
|
292
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
294
293
|
</div>
|
295
294
|
|
296
295
|
</li>
|
@@ -366,15 +365,13 @@ the beginning to list in ascending or descending order.</p>
|
|
366
365
|
|
367
366
|
25
|
368
367
|
26
|
369
|
-
27
|
370
|
-
28</pre>
|
368
|
+
27</pre>
|
371
369
|
</td>
|
372
370
|
<td>
|
373
371
|
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/decoders.rb', line 25</span>
|
374
372
|
|
375
373
|
<span class='kw'>def</span> <span class='id identifier rubyid_all_decoders'>all_decoders</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>
|
376
|
-
<span class='id identifier
|
377
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
374
|
+
<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'>/decoders</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
378
375
|
<span class='kw'>end</span></pre>
|
379
376
|
</td>
|
380
377
|
</tr>
|
@@ -462,8 +459,7 @@ the beginning to list in ascending or descending order.</p>
|
|
462
459
|
</span>
|
463
460
|
|
464
461
|
— <div class='inline'>
|
465
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
466
|
-
the beginning to list in ascending or descending order.</p>
|
462
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
467
463
|
</div>
|
468
464
|
|
469
465
|
</li>
|
@@ -550,17 +546,15 @@ the beginning to list in ascending or descending order.</p>
|
|
550
546
|
<pre class="lines">
|
551
547
|
|
552
548
|
|
549
|
+
51
|
553
550
|
52
|
554
|
-
53
|
555
|
-
54
|
556
|
-
55</pre>
|
551
|
+
53</pre>
|
557
552
|
</td>
|
558
553
|
<td>
|
559
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/decoders.rb', line
|
554
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/decoders.rb', line 51</span>
|
560
555
|
|
561
556
|
<span class='kw'>def</span> <span class='id identifier rubyid_all_decoders_files'>all_decoders_files</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>
|
562
|
-
<span class='id identifier
|
563
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
557
|
+
<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'>/decoders/files</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
564
558
|
<span class='kw'>end</span></pre>
|
565
559
|
</td>
|
566
560
|
</tr>
|
@@ -648,8 +642,7 @@ the beginning to list in ascending or descending order.</p>
|
|
648
642
|
</span>
|
649
643
|
|
650
644
|
— <div class='inline'>
|
651
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
652
|
-
the beginning to list in ascending or descending order.</p>
|
645
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
653
646
|
</div>
|
654
647
|
|
655
648
|
</li>
|
@@ -684,17 +677,15 @@ the beginning to list in ascending or descending order.</p>
|
|
684
677
|
<pre class="lines">
|
685
678
|
|
686
679
|
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
72</pre>
|
680
|
+
67
|
681
|
+
68
|
682
|
+
69</pre>
|
691
683
|
</td>
|
692
684
|
<td>
|
693
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/decoders.rb', line
|
685
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/decoders.rb', line 67</span>
|
694
686
|
|
695
687
|
<span class='kw'>def</span> <span class='id identifier rubyid_all_parent_decoders'>all_parent_decoders</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>
|
696
|
-
<span class='id identifier
|
697
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
688
|
+
<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'>/decoders/parents</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
698
689
|
<span class='kw'>end</span></pre>
|
699
690
|
</td>
|
700
691
|
</tr>
|
@@ -800,8 +791,7 @@ the beginning to list in ascending or descending order.</p>
|
|
800
791
|
</span>
|
801
792
|
|
802
793
|
— <div class='inline'>
|
803
|
-
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at
|
804
|
-
the beginning to list in ascending or descending order.</p>
|
794
|
+
<p>Sorts the collection by a field or fields (separated by comma). Use +/- at the beginning to list in ascending or descending order.</p>
|
805
795
|
</div>
|
806
796
|
|
807
797
|
</li>
|
@@ -836,17 +826,15 @@ the beginning to list in ascending or descending order.</p>
|
|
836
826
|
<pre class="lines">
|
837
827
|
|
838
828
|
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
91</pre>
|
829
|
+
85
|
830
|
+
86
|
831
|
+
87</pre>
|
843
832
|
</td>
|
844
833
|
<td>
|
845
|
-
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/decoders.rb', line
|
834
|
+
<pre class="code"><span class="info file"># File 'lib/wazuh/api/endpoints/decoders.rb', line 85</span>
|
846
835
|
|
847
836
|
<span class='kw'>def</span> <span class='id identifier rubyid_decoders_by_name'>decoders_by_name</span><span class='lparen'>(</span><span class='id identifier rubyid_decoder_name'>decoder_name</span><span class='comma'>,</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>
|
848
|
-
<span class='id identifier
|
849
|
-
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_items'>items</span>
|
837
|
+
<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'>/decoders/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_decoder_name'>decoder_name</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
850
838
|
<span class='kw'>end</span></pre>
|
851
839
|
</td>
|
852
840
|
</tr>
|
@@ -858,9 +846,9 @@ the beginning to list in ascending or descending order.</p>
|
|
858
846
|
</div>
|
859
847
|
|
860
848
|
<div id="footer">
|
861
|
-
Generated on
|
849
|
+
Generated on Thu Feb 3 21:40:18 2022 by
|
862
850
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
863
|
-
0.9.
|
851
|
+
0.9.25 (ruby-2.6.3).
|
864
852
|
</div>
|
865
853
|
|
866
854
|
</div>
|