From 8076575b9faa30374e09e7c77bbf1ffb6e4470fe Mon Sep 17 00:00:00 2001 From: Antonio <34042064+Desvelao@users.noreply.github.com> Date: Tue, 24 Sep 2024 08:44:44 +0200 Subject: [PATCH] Bump 4.10.0 rev 01 (#7009) * chore(changelog): add missing entries * chore(bump): 4.10.0 rev01 --- CHANGELOG.md | 7 +- plugins/main/common/api-info/endpoints.json | 1249 ++++++----------- .../common/api-info/security-actions.json | 783 +++-------- plugins/main/opensearch_dashboards.json | 2 +- plugins/main/package.json | 2 +- .../opensearch_dashboards.json | 2 +- plugins/wazuh-check-updates/package.json | 2 +- plugins/wazuh-core/opensearch_dashboards.json | 2 +- plugins/wazuh-core/package.json | 2 +- 9 files changed, 615 insertions(+), 1436 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6cbd5663c..b9a02263b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the Wazuh app project will be documented in this file. -## Wazuh v4.10.0 - OpenSearch Dashboards 2.16.0 - Revision 00 +## Wazuh v4.10.0 - OpenSearch Dashboards 2.16.0 - Revision 01 ### Added @@ -15,9 +15,14 @@ All notable changes to the Wazuh app project will be documented in this file. - Changed the registration id of the Settings application for compatibility with Opensearch Dashboard 2.16.0 [#6938](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6938) - Changed Malware detection dashboard visualizations [#6964](https://github.com/wazuh/wazuh-dashboard-plugins/issues/6964) +### Fixed + +- Fixed read-only users could not access to Statistics application [#7001](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7001) + ### Removed - Removed agent RBAC filters from dashboard queries [#6945](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6945) +- Removed GET /elastic/statistics API endpoint [#7001](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7001) ## Wazuh v4.9.1 - OpenSearch Dashboards 2.13.0 - Revision 01 diff --git a/plugins/main/common/api-info/endpoints.json b/plugins/main/common/api-info/endpoints.json index ca12124358..5ff86fe676 100644 --- a/plugins/main/common/api-info/endpoints.json +++ b/plugins/main/common/api-info/endpoints.json @@ -4,12 +4,10 @@ "endpoints": [ { "name": "/", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.default_controller.default_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.default_controller.default_info", "description": "Return basic information about the API", "summary": "Get API info", - "tags": [ - "API Info" - ], + "tags": ["API Info"], "query": [ { "name": "pretty", @@ -23,12 +21,10 @@ }, { "name": "/agents", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agents", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agents", "description": "Return information about all available agents or a list of them", "summary": "List agents", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "agents_list", @@ -65,10 +61,7 @@ "description": "Agent groups configuration sync status", "schema": { "type": "string", - "enum": [ - "synced", - "not synced" - ] + "enum": ["synced", "not synced"] } }, { @@ -213,12 +206,7 @@ "type": "array", "items": { "type": "string", - "enum": [ - "active", - "pending", - "never_connected", - "disconnected" - ] + "enum": ["active", "pending", "never_connected", "disconnected"] }, "minItems": 1 } @@ -243,12 +231,10 @@ }, { "name": "/agents/:agent_id/config/:component/:configuration", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_config", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_config", "description": "Return the active configuration the agent is currently using. This can be different from the configuration present in the configuration file, if it has been modified and the agent has not been restarted yet", "summary": "Get active configuration", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":agent_id", @@ -287,7 +273,7 @@ }, { "name": ":configuration", - "description": "

Selected agent's configuration to read. The configuration to read depends on the selected component.\nThe following table shows all available combinations of component and configuration values:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ComponentConfigurationTag
agentclient<client>
agentbuffer<client_buffer>
agentlabels<labels>
agentinternal<agent>, <monitord>, <remoted>
agentlessagentless<agentless>
analysisglobal<global>
analysisactive_response<active-response>
analysisalerts<alerts>
analysiscommand<command>
analysisrules<rule>
analysisdecoders<decoder>
analysisinternal<analysisd>
analysisrule_test<rule_test>
authauth<auth>
comactive-response<active-response>
comlogging<logging>
cominternal<execd>
comcluster<cluster>
csyslogcsyslog<csyslog_output>
integratorintegration<integration>
logcollectorlocalfile<localfile>
logcollectorsocket<socket>
logcollectorinternal<logcollector>
mailglobal<global><email...>
mailalerts<email_alerts>
mailinternal<maild>
monitorglobal<global>
monitorinternal<monitord>
monitorreports<reports>
requestglobal<global>
requestremote<remote>
requestinternal<remoted>
syschecksyscheck<syscheck>
syscheckrootcheck<rootcheck>
syscheckinternal<syscheck>, <rootcheck>
wazuh-dbinternal<wazuh_db>
wazuh-dbwdb<wdb>
wmoduleswmodules<wodle>
\n", + "description": "

Selected agent's configuration to read. The configuration to read depends on the selected component.\nThe following table shows all available combinations of component and configuration values:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ComponentConfigurationTag
agentclient<client>
agentbuffer<client_buffer>
agentlabels<labels>
agentinternal<agent>, <monitord>, <remoted>
agentanti_tampering<anti_tampering>
agentlessagentless<agentless>
analysisglobal<global>
analysisactive_response<active-response>
analysisalerts<alerts>
analysiscommand<command>
analysisrules<rule>
analysisdecoders<decoder>
analysisinternal<analysisd>
analysisrule_test<rule_test>
authauth<auth>
comactive-response<active-response>
comlogging<logging>
cominternal<execd>
comcluster<cluster>
csyslogcsyslog<csyslog_output>
integratorintegration<integration>
logcollectorlocalfile<localfile>
logcollectorsocket<socket>
logcollectorinternal<logcollector>
mailglobal<global><email...>
mailalerts<email_alerts>
mailinternal<maild>
monitorglobal<global>
monitorinternal<monitord>
monitorreports<reports>
requestglobal<global>
requestremote<remote>
requestinternal<remoted>
syschecksyscheck<syscheck>
syscheckrootcheck<rootcheck>
syscheckinternal<syscheck>, <rootcheck>
wazuh-dbinternal<wazuh_db>
wazuh-dbwdb<wdb>
wmoduleswmodules<wodle>
\n", "required": true, "schema": { "type": "string", @@ -296,6 +282,7 @@ "buffer", "labels", "internal", + "anti_tampering", "agentless", "global", "active_response", @@ -343,12 +330,10 @@ }, { "name": "/agents/:agent_id/daemons/stats", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_daemon_stats", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_daemon_stats", "description": "Return Server statistical information from specified daemons in a specified agent", "summary": "Get Server daemon stats from an agent", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":agent_id", @@ -370,10 +355,7 @@ "type": "array", "items": { "type": "string", - "enum": [ - "wazuh-analysisd", - "wazuh-remoted" - ] + "enum": ["wazuh-analysisd", "wazuh-remoted"] } } }, @@ -397,12 +379,10 @@ }, { "name": "/agents/:agent_id/group/is_sync", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_sync_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_sync_agent", "description": "Return whether the agent configuration has been synchronized with the agent or not. This can be useful to check after updating a group configuration", "summary": "Get configuration sync status", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":agent_id", @@ -437,12 +417,10 @@ }, { "name": "/agents/:agent_id/key", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_key", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_key", "description": "Return the key of an agent", "summary": "Get key", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":agent_id", @@ -477,12 +455,10 @@ }, { "name": "/agents/:agent_id/stats/:component", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_component_stats", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_component_stats", "description": "Return Server's {component} statistical information from agent {agent_id}", "summary": "Get agent's component stats", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":agent_id", @@ -501,10 +477,7 @@ "required": true, "schema": { "type": "string", - "enum": [ - "logcollector", - "agent" - ] + "enum": ["logcollector", "agent"] } } ], @@ -529,12 +502,10 @@ }, { "name": "/agents/no_group", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_no_group", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_no_group", "description": "Return a list with all the available agents without an assigned group", "summary": "List agents without group", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "limit", @@ -611,12 +582,10 @@ }, { "name": "/agents/outdated", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_outdated", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_outdated", "description": "Return the list of outdated agents", "summary": "List outdated agents", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "limit", @@ -693,12 +662,10 @@ }, { "name": "/agents/stats/distinct", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_fields", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_fields", "description": "Return all the different combinations that agents have for the selected fields. It also indicates the total number of agents that have each combination", "summary": "List agents distinct", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "fields", @@ -775,12 +742,10 @@ }, { "name": "/agents/summary/os", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_summary_os", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_summary_os", "description": "Return a summary of the OS of available agents", "summary": "Summarize agents OS", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "pretty", @@ -802,12 +767,35 @@ }, { "name": "/agents/summary/status", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_summary_status", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_summary_status", "description": "Return a summary of the connection and groups configuration synchronization statuses of available agents", "summary": "Summarize agents status", - "tags": [ - "Agents" - ], + "tags": ["Agents"], + "query": [ + { + "name": "pretty", + "description": "Show results in human-readable format", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "wait_for_complete", + "description": "Disable timeout response", + "schema": { + "type": "boolean", + "default": false + } + } + ] + }, + { + "name": "/agents/uninstall", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_uninstall_permission", + "description": "Verify if the user has the necessary permissions to uninstall agents.", + "summary": "Check user's permission to uninstall agents", + "tags": ["Agents"], "query": [ { "name": "pretty", @@ -829,12 +817,10 @@ }, { "name": "/agents/upgrade_result", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_upgrade", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agent_upgrade", "description": "Return the agents upgrade results", "summary": "Get upgrade results", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "agents_list", @@ -957,12 +943,10 @@ }, { "name": "/ciscat/:agent_id/results", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.ciscat_controller.get_agents_ciscat_results", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.ciscat_controller.get_agents_ciscat_results", "description": "Return the agent's ciscat results info", "summary": "Get results", - "tags": [ - "Ciscat" - ], + "tags": ["Ciscat"], "args": [ { "name": ":agent_id", @@ -1121,12 +1105,10 @@ }, { "name": "/cluster/:node_id/configuration", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_configuration_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_configuration_node", "description": "Return wazuh configuration used in node {node_id}. The 'section' and 'field' parameters will be ignored if 'raw' parameter is provided.", "summary": "Get node config", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1216,12 +1198,10 @@ }, { "name": "/cluster/:node_id/configuration/:component/:configuration", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_node_config", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_node_config", "description": "Return the requested configuration in JSON format for the specified node", "summary": "Get node active configuration", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":component", @@ -1249,7 +1229,7 @@ }, { "name": ":configuration", - "description": "

Selected agent's configuration to read. The configuration to read depends on the selected component.\nThe following table shows all available combinations of component and configuration values:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ComponentConfigurationTag
agentclient<client>
agentbuffer<client_buffer>
agentlabels<labels>
agentinternal<agent>, <monitord>, <remoted>
agentlessagentless<agentless>
analysisglobal<global>
analysisactive_response<active-response>
analysisalerts<alerts>
analysiscommand<command>
analysisrules<rule>
analysisdecoders<decoder>
analysisinternal<analysisd>
analysisrule_test<rule_test>
authauth<auth>
comactive-response<active-response>
comlogging<logging>
cominternal<execd>
comcluster<cluster>
csyslogcsyslog<csyslog_output>
integratorintegration<integration>
logcollectorlocalfile<localfile>
logcollectorsocket<socket>
logcollectorinternal<logcollector>
mailglobal<global><email...>
mailalerts<email_alerts>
mailinternal<maild>
monitorglobal<global>
monitorinternal<monitord>
monitorreports<reports>
requestglobal<global>
requestremote<remote>
requestinternal<remoted>
syschecksyscheck<syscheck>
syscheckrootcheck<rootcheck>
syscheckinternal<syscheck>, <rootcheck>
wazuh-dbinternal<wazuh_db>
wazuh-dbwdb<wdb>
wmoduleswmodules<wodle>
\n", + "description": "

Selected agent's configuration to read. The configuration to read depends on the selected component.\nThe following table shows all available combinations of component and configuration values:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ComponentConfigurationTag
agentclient<client>
agentbuffer<client_buffer>
agentlabels<labels>
agentinternal<agent>, <monitord>, <remoted>
agentanti_tampering<anti_tampering>
agentlessagentless<agentless>
analysisglobal<global>
analysisactive_response<active-response>
analysisalerts<alerts>
analysiscommand<command>
analysisrules<rule>
analysisdecoders<decoder>
analysisinternal<analysisd>
analysisrule_test<rule_test>
authauth<auth>
comactive-response<active-response>
comlogging<logging>
cominternal<execd>
comcluster<cluster>
csyslogcsyslog<csyslog_output>
integratorintegration<integration>
logcollectorlocalfile<localfile>
logcollectorsocket<socket>
logcollectorinternal<logcollector>
mailglobal<global><email...>
mailalerts<email_alerts>
mailinternal<maild>
monitorglobal<global>
monitorinternal<monitord>
monitorreports<reports>
requestglobal<global>
requestremote<remote>
requestinternal<remoted>
syschecksyscheck<syscheck>
syscheckrootcheck<rootcheck>
syscheckinternal<syscheck>, <rootcheck>
wazuh-dbinternal<wazuh_db>
wazuh-dbwdb<wdb>
wmoduleswmodules<wodle>
\n", "required": true, "schema": { "type": "string", @@ -1258,6 +1238,7 @@ "buffer", "labels", "internal", + "anti_tampering", "agentless", "global", "active_response", @@ -1314,12 +1295,10 @@ }, { "name": "/cluster/:node_id/daemons/stats", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_daemon_stats_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_daemon_stats_node", "description": "Return Server statistical information from specified daemons in a specified cluster node", "summary": "Get Server daemon stats from a cluster node", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1339,11 +1318,7 @@ "type": "array", "items": { "type": "string", - "enum": [ - "wazuh-analysisd", - "wazuh-remoted", - "wazuh-db" - ] + "enum": ["wazuh-analysisd", "wazuh-remoted", "wazuh-db"] } } }, @@ -1367,12 +1342,10 @@ }, { "name": "/cluster/:node_id/info", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_info_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_info_node", "description": "Return basic information about a specified node such as version, compilation date, installation path", "summary": "Get node info", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1405,12 +1378,10 @@ }, { "name": "/cluster/:node_id/logs", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_log_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_log_node", "description": "Return the last 2000 wazuh log entries in the specified node", "summary": "Get node logs", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1529,12 +1500,10 @@ }, { "name": "/cluster/:node_id/logs/summary", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_log_summary_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_log_summary_node", "description": "Return a summary of the last 2000 wazuh log entries in the specified node", "summary": "Get node logs summary", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1567,12 +1536,10 @@ }, { "name": "/cluster/:node_id/stats", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_node", "description": "Return Server statistical information in node {node_id} for the current or specified date", "summary": "Get node stats", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1613,12 +1580,10 @@ }, { "name": "/cluster/:node_id/stats/analysisd", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_analysisd_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_analysisd_node", "description": "Return Server analysisd statistical information in node {node_id}", "summary": "Get node stats analysisd", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1651,12 +1616,10 @@ }, { "name": "/cluster/:node_id/stats/hourly", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_hourly_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_hourly_node", "description": "Return Server statistical information in node {node_id} per hour. Each number in the averages field represents the average of alerts per hour", "summary": "Get node stats hour", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1689,12 +1652,10 @@ }, { "name": "/cluster/:node_id/stats/remoted", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_remoted_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_remoted_node", "description": "Return Server remoted statistical information in node {node_id}", "summary": "Get node stats remoted", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1727,12 +1688,10 @@ }, { "name": "/cluster/:node_id/stats/weekly", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_weekly_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_stats_weekly_node", "description": "Return Server statistical information in node {node_id} per week. Each number in the averages field represents the average of alerts per hour for that specific day", "summary": "Get node stats week", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1765,12 +1724,10 @@ }, { "name": "/cluster/:node_id/status", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_status_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_status_node", "description": "Return the status of all Server daemons in node node_id", "summary": "Get node status", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -1803,12 +1760,10 @@ }, { "name": "/cluster/api/config", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_api_config", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_api_config", "description": "Return the API configuration of all nodes (or a list of them) in JSON format", "summary": "Get nodes API config", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "query": [ { "name": "nodes_list", @@ -1840,12 +1795,10 @@ }, { "name": "/cluster/configuration/validation", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_conf_validation", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_conf_validation", "description": "Return whether the Server configuration is correct or not in all cluster nodes or a list of them", "summary": "Check nodes config", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "query": [ { "name": "nodes_list", @@ -1877,12 +1830,10 @@ }, { "name": "/cluster/healthcheck", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_healthcheck", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_healthcheck", "description": "Return cluster healthcheck information for all nodes or a list of them. Such information includes last keep alive, last synchronization time and number of agents reporting on each node", "summary": "Get nodes healthcheck", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "query": [ { "name": "nodes_list", @@ -1914,12 +1865,10 @@ }, { "name": "/cluster/local/config", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_config", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_config", "description": "Return the current node cluster configuration", "summary": "Get local node config", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "query": [ { "name": "pretty", @@ -1941,12 +1890,10 @@ }, { "name": "/cluster/local/info", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_cluster_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_cluster_node", "description": "Return basic information about the cluster node receiving the request", "summary": "Get local node info", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "query": [ { "name": "pretty", @@ -1968,12 +1915,10 @@ }, { "name": "/cluster/nodes", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_cluster_nodes", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_cluster_nodes", "description": "Get information about all nodes in the cluster or a list of them", "summary": "Get nodes info", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "query": [ { "name": "distinct", @@ -2061,10 +2006,7 @@ "description": "Filter by node type", "schema": { "type": "string", - "enum": [ - "worker", - "master" - ] + "enum": ["worker", "master"] } }, { @@ -2079,12 +2021,10 @@ }, { "name": "/cluster/ruleset/synchronization", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_nodes_ruleset_sync_status", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_nodes_ruleset_sync_status", "description": "Return ruleset synchronization status for all nodes or a list of them. This synchronization only covers the user custom ruleset", "summary": "Get cluster nodes ruleset synchronization status", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "query": [ { "name": "nodes_list", @@ -2116,12 +2056,10 @@ }, { "name": "/cluster/status", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_status", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.get_status", "description": "Return information about the cluster status", "summary": "Get cluster status", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "query": [ { "name": "pretty", @@ -2143,12 +2081,10 @@ }, { "name": "/decoders", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.decoder_controller.get_decoders", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.decoder_controller.get_decoders", "description": "Return information about all decoders included in ossec.conf. This information include decoder's route, decoder's name, decoder's file among others", "summary": "List decoders", - "tags": [ - "Decoders" - ], + "tags": ["Decoders"], "query": [ { "name": "decoder_names", @@ -2256,11 +2192,7 @@ "description": "Filter by list status. Use commas to enter multiple statuses", "schema": { "type": "string", - "enum": [ - "enabled", - "disabled", - "all" - ], + "enum": ["enabled", "disabled", "all"], "minItems": 1 } }, @@ -2276,12 +2208,10 @@ }, { "name": "/decoders/files", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.decoder_controller.get_decoders_files", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.decoder_controller.get_decoders_files", "description": "Return information about all decoders files used in Server. This information include decoder's file, decoder's route and decoder's status among others", "summary": "Get files", - "tags": [ - "Decoders" - ], + "tags": ["Decoders"], "query": [ { "name": "distinct", @@ -2378,11 +2308,7 @@ "description": "Filter by list status. Use commas to enter multiple statuses", "schema": { "type": "string", - "enum": [ - "enabled", - "disabled", - "all" - ], + "enum": ["enabled", "disabled", "all"], "minItems": 1 } }, @@ -2398,12 +2324,10 @@ }, { "name": "/decoders/files/:filename", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.decoder_controller.get_file", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.decoder_controller.get_file", "description": "Get the content of a specified decoder file", "summary": "Get decoders file content", - "tags": [ - "Decoders" - ], + "tags": ["Decoders"], "args": [ { "name": ":filename", @@ -2452,12 +2376,10 @@ }, { "name": "/decoders/parents", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.decoder_controller.get_decoders_parents", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.decoder_controller.get_decoders_parents", "description": "Return information about all parent decoders. A parent decoder is a decoder used as base of other decoders", "summary": "Get parent decoders", - "tags": [ - "Decoders" - ], + "tags": ["Decoders"], "query": [ { "name": "limit", @@ -2527,12 +2449,10 @@ }, { "name": "/experimental/ciscat/results", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_cis_cat_results", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_cis_cat_results", "description": "Return CIS-CAT results for all agents or a list of them", "summary": "Get agents CIS-CAT results", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "agents_list", @@ -2684,12 +2604,10 @@ }, { "name": "/experimental/syscollector/hardware", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_hardware_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_hardware_info", "description": "Return all agents (or a list of them) hardware info. This information include cpu, ram, scan info among others of all agents", "summary": "Get agents hardware", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "agents_list", @@ -2823,12 +2741,10 @@ }, { "name": "/experimental/syscollector/hotfixes", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_hotfixes_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_hotfixes_info", "description": "Return all agents (or a list of them) hotfixes info", "summary": "Get agents hotfixes", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "agents_list", @@ -2918,12 +2834,10 @@ }, { "name": "/experimental/syscollector/netaddr", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_network_address_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_network_address_info", "description": "Return all agents (or a list of them) IPv4 and IPv6 addresses associated to their network interfaces. This information include used IP protocol, interface, and IP address among others", "summary": "Get agents netaddr", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "address", @@ -3038,12 +2952,10 @@ }, { "name": "/experimental/syscollector/netiface", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_network_interface_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_network_interface_info", "description": "Return all agents (or a list of them) network interfaces. This information includes rx, scan, tx info and some network information among other", "summary": "Get agents netiface", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "adapter", @@ -3239,12 +3151,10 @@ }, { "name": "/experimental/syscollector/netproto", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_network_protocol_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_network_protocol_info", "description": "Return all agents (or a list of them) routing configuration for each network interface. This information includes interface, type protocol information among other", "summary": "Get agents netproto", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "agents_list", @@ -3265,12 +3175,7 @@ "schema": { "type": "string", "description": "DHCP status", - "enum": [ - "enabled", - "disabled", - "unknown", - "BOOTP" - ] + "enum": ["enabled", "disabled", "unknown", "BOOTP"] } }, { @@ -3365,12 +3270,10 @@ }, { "name": "/experimental/syscollector/os", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_os_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_os_info", "description": "Return all agents (or a list of them) OS info. This information includes os information, architecture information among other", "summary": "Get agents OS", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "agents_list", @@ -3493,12 +3396,10 @@ }, { "name": "/experimental/syscollector/packages", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_packages_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_packages_info", "description": "Return all agents (or a list of them) packages info. This information includes name, section, size, and priority information of all packages among other", "summary": "Get agents packages", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "agents_list", @@ -3619,12 +3520,10 @@ }, { "name": "/experimental/syscollector/ports", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_ports_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_ports_info", "description": "Return all agents (or a list of them) ports info. This information includes local IP, Remote IP, protocol information among other", "summary": "Get agents ports", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "agents_list", @@ -3771,12 +3670,10 @@ }, { "name": "/experimental/syscollector/processes", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_processes_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.get_processes_info", "description": "Return all agents (or a list of them) processes info", "summary": "Get agents processes", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "agents_list", @@ -3971,12 +3868,10 @@ }, { "name": "/groups", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_list_group", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_list_group", "description": "Get information about all groups or a list of them. Returns a list containing basic information about each group such as number of agents belonging to the group and the checksums of the configuration and shared files", "summary": "Get groups", - "tags": [ - "Groups" - ], + "tags": ["Groups"], "query": [ { "name": "distinct", @@ -4094,12 +3989,10 @@ }, { "name": "/groups/:group_id/agents", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agents_in_group", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_agents_in_group", "description": "Return the list of agents that belong to the specified group", "summary": "Get agents in a group", - "tags": [ - "Groups" - ], + "tags": ["Groups"], "args": [ { "name": ":group_id", @@ -4191,12 +4084,7 @@ "type": "array", "items": { "type": "string", - "enum": [ - "active", - "pending", - "never_connected", - "disconnected" - ] + "enum": ["active", "pending", "never_connected", "disconnected"] }, "minItems": 1 } @@ -4213,12 +4101,10 @@ }, { "name": "/groups/:group_id/configuration", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_group_config", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_group_config", "description": "Return the group configuration defined in the `agent.conf` file", "summary": "Get group configuration", - "tags": [ - "Groups" - ], + "tags": ["Groups"], "args": [ { "name": ":group_id", @@ -4273,12 +4159,10 @@ }, { "name": "/groups/:group_id/files", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_group_files", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_group_files", "description": "Return the files placed under the group directory", "summary": "Get group files", - "tags": [ - "Groups" - ], + "tags": ["Groups"], "args": [ { "name": ":group_id", @@ -4396,12 +4280,10 @@ }, { "name": "/groups/:group_id/files/:file_name", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_group_file", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.get_group_file", "description": "Return the content of the specified group file", "summary": "Get a file in group", - "tags": [ - "Groups" - ], + "tags": ["Groups"], "args": [ { "name": ":file_name", @@ -4447,12 +4329,7 @@ "type": "array", "items": { "type": "string", - "enum": [ - "conf", - "rootkit_files", - "rootkit_trojans", - "rcl" - ] + "enum": ["conf", "rootkit_files", "rootkit_trojans", "rcl"] } } }, @@ -4468,12 +4345,10 @@ }, { "name": "/lists", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.get_lists", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.get_lists", "description": "Return the contents of all CDB lists. Optionally, the result can be filtered by several criteria. See available parameters for more details", "summary": "Get CDB lists info", - "tags": [ - "Lists" - ], + "tags": ["Lists"], "query": [ { "name": "distinct", @@ -4577,12 +4452,10 @@ }, { "name": "/lists/files", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.get_lists_files", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.get_lists_files", "description": "Return the path from all CDB lists. Use this method to know all the CDB lists and their location in the filesystem relative to Server installation folder", "summary": "Get CDB lists files", - "tags": [ - "Lists" - ], + "tags": ["Lists"], "query": [ { "name": "filename", @@ -4660,12 +4533,10 @@ }, { "name": "/lists/files/:filename", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.get_file", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.get_file", "description": "Return the content of a CDB list file. Only the filename can be specified. It will be searched recursively if not found", "summary": "Get CDB list file content", - "tags": [ - "Lists" - ], + "tags": ["Lists"], "args": [ { "name": ":filename", @@ -4706,12 +4577,10 @@ }, { "name": "/manager/api/config", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_api_config", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_api_config", "description": "Return the local API configuration in JSON format", "summary": "Get API config", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -4733,12 +4602,10 @@ }, { "name": "/manager/configuration", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_configuration", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_configuration", "description": "Return wazuh configuration used. The 'section' and 'field' parameters will be ignored if 'raw' parameter is provided.", "summary": "Get configuration", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "distinct", @@ -4825,12 +4692,10 @@ }, { "name": "/manager/configuration/:component/:configuration", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_manager_config_ondemand", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_manager_config_ondemand", "description": "Return the requested active configuration in JSON format", "summary": "Get active configuration", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "args": [ { "name": ":component", @@ -4858,7 +4723,7 @@ }, { "name": ":configuration", - "description": "

Selected agent's configuration to read. The configuration to read depends on the selected component.\nThe following table shows all available combinations of component and configuration values:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ComponentConfigurationTag
agentclient<client>
agentbuffer<client_buffer>
agentlabels<labels>
agentinternal<agent>, <monitord>, <remoted>
agentlessagentless<agentless>
analysisglobal<global>
analysisactive_response<active-response>
analysisalerts<alerts>
analysiscommand<command>
analysisrules<rule>
analysisdecoders<decoder>
analysisinternal<analysisd>
analysisrule_test<rule_test>
authauth<auth>
comactive-response<active-response>
comlogging<logging>
cominternal<execd>
comcluster<cluster>
csyslogcsyslog<csyslog_output>
integratorintegration<integration>
logcollectorlocalfile<localfile>
logcollectorsocket<socket>
logcollectorinternal<logcollector>
mailglobal<global><email...>
mailalerts<email_alerts>
mailinternal<maild>
monitorglobal<global>
monitorinternal<monitord>
monitorreports<reports>
requestglobal<global>
requestremote<remote>
requestinternal<remoted>
syschecksyscheck<syscheck>
syscheckrootcheck<rootcheck>
syscheckinternal<syscheck>, <rootcheck>
wazuh-dbinternal<wazuh_db>
wazuh-dbwdb<wdb>
wmoduleswmodules<wodle>
\n", + "description": "

Selected agent's configuration to read. The configuration to read depends on the selected component.\nThe following table shows all available combinations of component and configuration values:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ComponentConfigurationTag
agentclient<client>
agentbuffer<client_buffer>
agentlabels<labels>
agentinternal<agent>, <monitord>, <remoted>
agentanti_tampering<anti_tampering>
agentlessagentless<agentless>
analysisglobal<global>
analysisactive_response<active-response>
analysisalerts<alerts>
analysiscommand<command>
analysisrules<rule>
analysisdecoders<decoder>
analysisinternal<analysisd>
analysisrule_test<rule_test>
authauth<auth>
comactive-response<active-response>
comlogging<logging>
cominternal<execd>
comcluster<cluster>
csyslogcsyslog<csyslog_output>
integratorintegration<integration>
logcollectorlocalfile<localfile>
logcollectorsocket<socket>
logcollectorinternal<logcollector>
mailglobal<global><email...>
mailalerts<email_alerts>
mailinternal<maild>
monitorglobal<global>
monitorinternal<monitord>
monitorreports<reports>
requestglobal<global>
requestremote<remote>
requestinternal<remoted>
syschecksyscheck<syscheck>
syscheckrootcheck<rootcheck>
syscheckinternal<syscheck>, <rootcheck>
wazuh-dbinternal<wazuh_db>
wazuh-dbwdb<wdb>
wmoduleswmodules<wodle>
\n", "required": true, "schema": { "type": "string", @@ -4867,6 +4732,7 @@ "buffer", "labels", "internal", + "anti_tampering", "agentless", "global", "active_response", @@ -4914,12 +4780,10 @@ }, { "name": "/manager/configuration/validation", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_conf_validation", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_conf_validation", "description": "Return whether the Server configuration is correct", "summary": "Check config", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -4941,12 +4805,10 @@ }, { "name": "/manager/daemons/stats", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_daemon_stats", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_daemon_stats", "description": "Return Server statistical information from specified daemons", "summary": "Get Server daemon stats", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "daemons_list", @@ -4955,11 +4817,7 @@ "type": "array", "items": { "type": "string", - "enum": [ - "wazuh-analysisd", - "wazuh-remoted", - "wazuh-db" - ] + "enum": ["wazuh-analysisd", "wazuh-remoted", "wazuh-db"] } } }, @@ -4983,12 +4841,10 @@ }, { "name": "/manager/info", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_info", "description": "Return basic information such as version, compilation date, installation path", "summary": "Get information", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -5010,12 +4866,10 @@ }, { "name": "/manager/logs", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_log", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_log", "description": "Return the last 2000 wazuh log entries", "summary": "Get logs", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "distinct", @@ -5123,12 +4977,10 @@ }, { "name": "/manager/logs/summary", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_log_summary", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_log_summary", "description": "Return a summary of the last 2000 wazuh log entries", "summary": "Get logs summary", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -5150,12 +5002,10 @@ }, { "name": "/manager/stats", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_stats", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_stats", "description": "Return Server statistical information for the current or specified date", "summary": "Get stats", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "date", @@ -5185,12 +5035,10 @@ }, { "name": "/manager/stats/analysisd", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_stats_analysisd", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_stats_analysisd", "description": "Return Server analysisd statistical information", "summary": "Get stats analysisd", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -5212,12 +5060,10 @@ }, { "name": "/manager/stats/hourly", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_stats_hourly", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_stats_hourly", "description": "Return Server statistical information per hour. Each number in the averages field represents the average of alerts per hour", "summary": "Get stats hour", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -5239,12 +5085,10 @@ }, { "name": "/manager/stats/remoted", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_stats_remoted", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_stats_remoted", "description": "Return Server remoted statistical information", "summary": "Get stats remoted", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -5266,12 +5110,10 @@ }, { "name": "/manager/stats/weekly", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_stats_weekly", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_stats_weekly", "description": "Return Server statistical information per week. Each number in the averages field represents the average of alerts per hour for that specific day", "summary": "Get stats week", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -5293,12 +5135,10 @@ }, { "name": "/manager/status", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_status", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.get_status", "description": "Return the status of all Server daemons", "summary": "Get status", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -5320,12 +5160,10 @@ }, { "name": "/manager/version/check", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.check_available_version", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.check_available_version", "description": "Return if there is any available update", "summary": "Check available updates", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "force_query", @@ -5347,12 +5185,10 @@ }, { "name": "/mitre/groups", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_groups", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_groups", "description": "Return the groups from MITRE database", "summary": "Get MITRE groups", - "tags": [ - "MITRE" - ], + "tags": ["MITRE"], "query": [ { "name": "distinct", @@ -5448,12 +5284,10 @@ }, { "name": "/mitre/metadata", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_metadata", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_metadata", "description": "Return the metadata from MITRE database", "summary": "Get MITRE metadata", - "tags": [ - "MITRE" - ], + "tags": ["MITRE"], "query": [ { "name": "pretty", @@ -5475,12 +5309,10 @@ }, { "name": "/mitre/mitigations", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_mitigations", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_mitigations", "description": "Return the mitigations from MITRE database", "summary": "Get MITRE mitigations", - "tags": [ - "MITRE" - ], + "tags": ["MITRE"], "query": [ { "name": "distinct", @@ -5576,12 +5408,10 @@ }, { "name": "/mitre/references", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_references", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_references", "description": "Return the references from MITRE database", "summary": "Get MITRE references", - "tags": [ - "MITRE" - ], + "tags": ["MITRE"], "query": [ { "name": "limit", @@ -5669,12 +5499,10 @@ }, { "name": "/mitre/software", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_software", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_software", "description": "Return the software from MITRE database", "summary": "Get MITRE software", - "tags": [ - "MITRE" - ], + "tags": ["MITRE"], "query": [ { "name": "distinct", @@ -5770,12 +5598,10 @@ }, { "name": "/mitre/tactics", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_tactics", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_tactics", "description": "Return the tactics from MITRE database", "summary": "Get MITRE tactics", - "tags": [ - "MITRE" - ], + "tags": ["MITRE"], "query": [ { "name": "distinct", @@ -5871,12 +5697,10 @@ }, { "name": "/mitre/techniques", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_techniques", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.mitre_controller.get_techniques", "description": "Return the techniques from MITRE database", "summary": "Get MITRE techniques", - "tags": [ - "MITRE" - ], + "tags": ["MITRE"], "query": [ { "name": "distinct", @@ -5972,12 +5796,10 @@ }, { "name": "/overview/agents", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.overview_controller.get_overview_agents", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.overview_controller.get_overview_agents", "description": "Return a dictionary with a full agents overview", "summary": "Get agents overview", - "tags": [ - "Overview" - ], + "tags": ["Overview"], "query": [ { "name": "pretty", @@ -5999,12 +5821,10 @@ }, { "name": "/rootcheck/:agent_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.get_rootcheck_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.get_rootcheck_agent", "description": "Return the rootcheck database of an agent", "summary": "Get results", - "tags": [ - "Rootcheck" - ], + "tags": ["Rootcheck"], "args": [ { "name": ":agent_id", @@ -6126,12 +5946,10 @@ }, { "name": "/rootcheck/:agent_id/last_scan", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.get_last_scan_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.get_last_scan_agent", "description": "Return the timestamp of the last rootcheck scan of an agent", "summary": "Get last scan datetime", - "tags": [ - "Rootcheck" - ], + "tags": ["Rootcheck"], "args": [ { "name": ":agent_id", @@ -6166,12 +5984,10 @@ }, { "name": "/rules", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_rules", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_rules", "description": "Return a list containing information about each rule such as file where it's defined, description, rule group, status, etc", "summary": "List rules", - "tags": [ - "Rules" - ], + "tags": ["Rules"], "query": [ { "name": "distinct", @@ -6344,11 +6160,7 @@ "description": "Filter by list status. Use commas to enter multiple statuses", "schema": { "type": "string", - "enum": [ - "enabled", - "disabled", - "all" - ], + "enum": ["enabled", "disabled", "all"], "minItems": 1 } }, @@ -6372,12 +6184,10 @@ }, { "name": "/rules/files", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_rules_files", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_rules_files", "description": "Return a list containing all files used to define rules and their status", "summary": "Get files", - "tags": [ - "Rules" - ], + "tags": ["Rules"], "query": [ { "name": "distinct", @@ -6474,11 +6284,7 @@ "description": "Filter by list status. Use commas to enter multiple statuses", "schema": { "type": "string", - "enum": [ - "enabled", - "disabled", - "all" - ], + "enum": ["enabled", "disabled", "all"], "minItems": 1 } }, @@ -6494,12 +6300,10 @@ }, { "name": "/rules/files/:filename", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_file", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_file", "description": "Get the content of a specified rule in the ruleset", "summary": "Get rules file content", - "tags": [ - "Rules" - ], + "tags": ["Rules"], "args": [ { "name": ":filename", @@ -6548,12 +6352,10 @@ }, { "name": "/rules/groups", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_rules_groups", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_rules_groups", "description": "Return a list containing all rule groups names", "summary": "Get groups", - "tags": [ - "Rules" - ], + "tags": ["Rules"], "query": [ { "name": "limit", @@ -6612,12 +6414,10 @@ }, { "name": "/rules/requirement/:requirement", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_rules_requirement", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rule_controller.get_rules_requirement", "description": "Return all specified requirement names defined in the Server ruleset", "summary": "Get requirements", - "tags": [ - "Rules" - ], + "tags": ["Rules"], "args": [ { "name": ":requirement", @@ -6694,12 +6494,10 @@ }, { "name": "/sca/:agent_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.sca_controller.get_sca_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.sca_controller.get_sca_agent", "description": "Return the security SCA database of an agent", "summary": "Get results", - "tags": [ - "SCA" - ], + "tags": ["SCA"], "args": [ { "name": ":agent_id", @@ -6819,12 +6617,10 @@ }, { "name": "/sca/:agent_id/checks/:policy_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.sca_controller.get_sca_checks", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.sca_controller.get_sca_checks", "description": "Return the policy monitoring alerts for a given policy", "summary": "Get policy checks", - "tags": [ - "SCA" - ], + "tags": ["SCA"], "args": [ { "name": ":agent_id", @@ -7032,12 +6828,10 @@ }, { "name": "/security/actions", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.get_rbac_actions", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.get_rbac_actions", "description": "Get all RBAC actions, including the potential related resources and endpoints.", "summary": "List RBAC actions", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "endpoint", @@ -7058,12 +6852,10 @@ }, { "name": "/security/config", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.get_security_config", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.get_security_config", "description": "Return the security configuration in JSON format", "summary": "Get security config", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -7085,12 +6877,10 @@ }, { "name": "/security/policies", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.get_policies", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.get_policies", "description": "Get all policies in the system, including the administrator policy", "summary": "List policies", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "distinct", @@ -7187,12 +6977,10 @@ }, { "name": "/security/resources", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.get_rbac_resources", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.get_rbac_resources", "description": "This method should be called to get all current defined RBAC resources.", "summary": "List RBAC resources", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -7226,12 +7014,10 @@ }, { "name": "/security/roles", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.get_roles", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.get_roles", "description": "For a specific list, indicate the ids separated by commas. Example: ?role_ids=1,2,3", "summary": "List roles", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "distinct", @@ -7328,12 +7114,10 @@ }, { "name": "/security/rules", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.get_rules", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.get_rules", "description": "Get a list of security rules from the system or all of them. These rules must be mapped with roles to obtain certain access privileges. For a specific list, indicate the ids separated by commas. Example: ?rule_ids=1,2,3", "summary": "List security rules", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "distinct", @@ -7430,12 +7214,10 @@ }, { "name": "/security/user/authenticate", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.deprecated_login_user", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.deprecated_login_user", "description": "This method should be called to get an API token. This token will expire after auth_token_exp_timeout seconds (default: 900). This value can be changed using PUT /security/config", "summary": "Login", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "raw", @@ -7449,12 +7231,10 @@ }, { "name": "/security/users", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.get_users", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.get_users", "description": "Get the information of a specified user", "summary": "List users", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "distinct", @@ -7551,12 +7331,10 @@ }, { "name": "/security/users/me", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.get_user_me", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.get_user_me", "description": "Get the information of the current user", "summary": "Get current user info", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -7578,12 +7356,10 @@ }, { "name": "/security/users/me/policies", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.get_user_me_policies", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.get_user_me_policies", "description": "Get the processed policies information for the current user", "summary": "Get current user processed policies", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -7597,12 +7373,10 @@ }, { "name": "/syscheck/:agent_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.get_syscheck_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.get_syscheck_agent", "description": "Return FIM findings in the specified agent", "summary": "Get results", - "tags": [ - "Syscheck" - ], + "tags": ["Syscheck"], "args": [ { "name": ":agent_id", @@ -7622,10 +7396,7 @@ "description": "Filter by architecture", "schema": { "type": "string", - "enum": [ - "[x32]", - "[x64]" - ] + "enum": ["[x32]", "[x64]"] } }, { @@ -7752,11 +7523,7 @@ "description": "Filter by file type. Registry_key and registry_value types are only available in Windows agents", "schema": { "type": "string", - "enum": [ - "file", - "registry_key", - "registry_value" - ] + "enum": ["file", "registry_key", "registry_value"] } }, { @@ -7787,12 +7554,10 @@ }, { "name": "/syscheck/:agent_id/last_scan", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.get_last_scan_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.get_last_scan_agent", "description": "Return when the last syscheck scan started and ended. If the scan is still in progress the end date will be unknown", "summary": "Get last scan datetime", - "tags": [ - "Syscheck" - ], + "tags": ["Syscheck"], "args": [ { "name": ":agent_id", @@ -7827,12 +7592,10 @@ }, { "name": "/syscollector/:agent_id/hardware", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_hardware_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_hardware_info", "description": "Return the agent's hardware info. This information include cpu, ram, scan info among others", "summary": "Get agent hardware", - "tags": [ - "Syscollector" - ], + "tags": ["Syscollector"], "args": [ { "name": ":agent_id", @@ -7878,12 +7641,10 @@ }, { "name": "/syscollector/:agent_id/hotfixes", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_hotfix_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_hotfix_info", "description": "Return all hotfixes installed by Microsoft(R) in Windows(R) systems (KB... fixes)", "summary": "Get agent hotfixes", - "tags": [ - "Syscollector" - ], + "tags": ["Syscollector"], "args": [ { "name": ":agent_id", @@ -7988,12 +7749,10 @@ }, { "name": "/syscollector/:agent_id/netaddr", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_network_address_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_network_address_info", "description": "Return the agent's network address info. This information include used IP protocol, interface, IP address among others", "summary": "Get agent netaddr", - "tags": [ - "Syscollector" - ], + "tags": ["Syscollector"], "args": [ { "name": ":agent_id", @@ -8131,12 +7890,10 @@ }, { "name": "/syscollector/:agent_id/netiface", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_network_interface_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_network_interface_info", "description": "Return the agent's network interface info. This information include rx, scan, tx info and some network information among others", "summary": "Get agent netiface", - "tags": [ - "Syscollector" - ], + "tags": ["Syscollector"], "args": [ { "name": ":agent_id", @@ -8346,12 +8103,10 @@ }, { "name": "/syscollector/:agent_id/netproto", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_network_protocol_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_network_protocol_info", "description": "Return the agent's routing configuration for each network interface", "summary": "Get agent netproto", - "tags": [ - "Syscollector" - ], + "tags": ["Syscollector"], "args": [ { "name": ":agent_id", @@ -8372,12 +8127,7 @@ "schema": { "type": "string", "description": "DHCP status", - "enum": [ - "enabled", - "disabled", - "unknown", - "BOOTP" - ] + "enum": ["enabled", "disabled", "unknown", "BOOTP"] } }, { @@ -8487,12 +8237,10 @@ }, { "name": "/syscollector/:agent_id/os", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_os_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_os_info", "description": "Return the agent's OS info. This information include os information, architecture information among others of all agents", "summary": "Get agent OS", - "tags": [ - "Syscollector" - ], + "tags": ["Syscollector"], "args": [ { "name": ":agent_id", @@ -8538,12 +8286,10 @@ }, { "name": "/syscollector/:agent_id/packages", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_packages_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_packages_info", "description": "Return the agent's packages info. This information include name, section, size, priority information of all packages among others", "summary": "Get agent packages", - "tags": [ - "Syscollector" - ], + "tags": ["Syscollector"], "args": [ { "name": ":agent_id", @@ -8679,12 +8425,10 @@ }, { "name": "/syscollector/:agent_id/ports", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_ports_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_ports_info", "description": "Return the agent's ports info. This information include local IP, Remote IP, protocol information among others", "summary": "Get agent ports", - "tags": [ - "Syscollector" - ], + "tags": ["Syscollector"], "args": [ { "name": ":agent_id", @@ -8846,12 +8590,10 @@ }, { "name": "/syscollector/:agent_id/processes", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_processes_info", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscollector_controller.get_processes_info", "description": "Return the agent's processes info", "summary": "Get agent processes", - "tags": [ - "Syscollector" - ], + "tags": ["Syscollector"], "args": [ { "name": ":agent_id", @@ -9061,12 +8803,10 @@ }, { "name": "/tasks/status", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.task_controller.get_tasks_status", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.task_controller.get_tasks_status", "description": "Returns all available information about the specified tasks", "summary": "List tasks", - "tags": [ - "Tasks" - ], + "tags": ["Tasks"], "query": [ { "name": "agents_list", @@ -9205,12 +8945,10 @@ "endpoints": [ { "name": "/active-response", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.active_response_controller.run_command", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.active_response_controller.run_command", "description": "Run an Active Response command on all agents or a list of them", "summary": "Run command", - "tags": [ - "Active-response" - ], + "tags": ["Active-response"], "query": [ { "name": "agents_list", @@ -9268,20 +9006,16 @@ } } }, - "required": [ - "command" - ] + "required": ["command"] } ] }, { "name": "/agents/:agent_id/group/:group_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_agent_single_group", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_agent_single_group", "description": "Assign an agent to a specified group", "summary": "Assign agent to group", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":agent_id", @@ -9333,12 +9067,10 @@ }, { "name": "/agents/:agent_id/restart", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agent", "description": "Restart the specified agent", "summary": "Restart agent", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":agent_id", @@ -9373,12 +9105,10 @@ }, { "name": "/agents/group", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_multiple_agent_single_group", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_multiple_agent_single_group", "description": "Assign all agents or a list of them to the specified group", "summary": "Assign agents to group", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "agents_list", @@ -9430,12 +9160,10 @@ }, { "name": "/agents/group/:group_id/restart", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agents_by_group", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agents_by_group", "description": "Restart all agents which belong to a given group", "summary": "Restart agents in group", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":group_id", @@ -9469,12 +9197,10 @@ }, { "name": "/agents/node/:node_id/restart", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agents_by_node", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agents_by_node", "description": "Restart all agents which belong to a specific given node", "summary": "Restart agents in node", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":node_id", @@ -9507,12 +9233,10 @@ }, { "name": "/agents/reconnect", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.reconnect_agents", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.reconnect_agents", "description": "Force reconnect all agents or a list of them", "summary": "Force reconnect agents", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "agents_list", @@ -9547,12 +9271,10 @@ }, { "name": "/agents/restart", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agents", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agents", "description": "Restart all agents or a list of them", "summary": "Restart agents", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "agents_list", @@ -9587,12 +9309,10 @@ }, { "name": "/agents/upgrade", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_upgrade_agents", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_upgrade_agents", "description": "Upgrade agents using a WPK file from online repository. When upgrading more than 3000 agents at the same time, it's highly recommended to use the parameter `wait_for_complete` set to `true` to avoid a possible API timeout", "summary": "Upgrade agents", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "agents_list", @@ -9686,10 +9406,7 @@ "description": "Select package type to use. By default, the manager infers this.", "schema": { "type": "string", - "enum": [ - "rpm", - "deb" - ] + "enum": ["rpm", "deb"] } }, { @@ -9759,12 +9476,10 @@ }, { "name": "/agents/upgrade_custom", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_upgrade_custom_agents", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_upgrade_custom_agents", "description": "Upgrade the agents using a local WPK file. When upgrading more than 3000 agents at the same time, it's highly recommended to use the parameter `wait_for_complete` set to `true` to avoid a possible API timeout", "summary": "Upgrade agents custom", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "agents_list", @@ -9905,12 +9620,10 @@ }, { "name": "/cluster/:node_id/configuration", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.update_configuration", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.update_configuration", "description": "Replace wazuh configuration for the given node with the data contained in the API request", "summary": "Update node configuration", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "args": [ { "name": ":node_id", @@ -9943,12 +9656,10 @@ }, { "name": "/cluster/restart", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cluster_controller.put_restart", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cluster_controller.put_restart", "description": "Restart all nodes in the cluster or a list of them", "summary": "Restart nodes", - "tags": [ - "Cluster" - ], + "tags": ["Cluster"], "query": [ { "name": "nodes_list", @@ -9980,12 +9691,10 @@ }, { "name": "/decoders/files/:filename", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.decoder_controller.put_file", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.decoder_controller.put_file", "description": "Upload or replace a user decoder file content", "summary": "Update decoders file", - "tags": [ - "Decoders" - ], + "tags": ["Decoders"], "args": [ { "name": ":filename", @@ -10034,12 +9743,10 @@ }, { "name": "/groups/:group_id/configuration", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_group_config", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.put_group_config", "description": "Update an specified group's configuration. This API call expects a full valid XML file with the shared configuration tags/syntax", "summary": "Update group configuration", - "tags": [ - "Groups" - ], + "tags": ["Groups"], "args": [ { "name": ":group_id", @@ -10073,12 +9780,10 @@ }, { "name": "/lists/files/:filename", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.put_file", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.put_file", "description": "Replace or upload a CDB list file with the data contained in the API request", "summary": "Update CDB list file", - "tags": [ - "Lists" - ], + "tags": ["Lists"], "args": [ { "name": ":filename", @@ -10119,12 +9824,10 @@ }, { "name": "/logtest", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.logtest_controller.run_logtest_tool", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.logtest_controller.run_logtest_tool", "description": "Run logtest tool to check if a specified log raises any alert among other information", "summary": "Run logtest", - "tags": [ - "Logtest" - ], + "tags": ["Logtest"], "query": [ { "name": "pretty", @@ -10146,11 +9849,7 @@ "body": [ { "type": "object", - "required": [ - "event", - "log_format", - "location" - ], + "required": ["event", "log_format", "location"], "properties": { "token": { "type": "string", @@ -10174,12 +9873,10 @@ }, { "name": "/manager/configuration", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.update_configuration", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.update_configuration", "description": "Replace Server configuration with the data contained in the API request", "summary": "Update Server configuration", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -10201,12 +9898,10 @@ }, { "name": "/manager/restart", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.manager_controller.put_restart", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.manager_controller.put_restart", "description": "Restart the wazuh manager", "summary": "Restart manager", - "tags": [ - "Manager" - ], + "tags": ["Manager"], "query": [ { "name": "pretty", @@ -10228,12 +9923,10 @@ }, { "name": "/rootcheck", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.put_rootcheck", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.put_rootcheck", "description": "Run rootcheck scan in all agents or a list of them", "summary": "Run scan", - "tags": [ - "Rootcheck" - ], + "tags": ["Rootcheck"], "query": [ { "name": "agents_list", @@ -10268,12 +9961,10 @@ }, { "name": "/rules/files/:filename", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rule_controller.put_file", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rule_controller.put_file", "description": "Upload or replace a user ruleset file content", "summary": "Update rules file", - "tags": [ - "Rules" - ], + "tags": ["Rules"], "args": [ { "name": ":filename", @@ -10322,12 +10013,10 @@ }, { "name": "/security/config", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.put_security_config", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.put_security_config", "description": "Update the security configuration with the data contained in the API request", "summary": "Update security config", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -10361,10 +10050,7 @@ "rbac_mode": { "description": "RBAC mode (white/black)", "type": "string", - "enum": [ - "white", - "black" - ], + "enum": ["white", "black"], "example": "white" } } @@ -10373,12 +10059,10 @@ }, { "name": "/security/policies/:policy_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.update_policy", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.update_policy", "description": "Modify a policy, at least one property must be indicated", "summary": "Update policy", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":policy_id", @@ -10442,11 +10126,7 @@ "description": "Effect of the policy" } }, - "required": [ - "actions", - "resources", - "effect" - ] + "required": ["actions", "resources", "effect"] } } } @@ -10454,12 +10134,10 @@ }, { "name": "/security/roles/:role_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.update_role", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.update_role", "description": "Modify a role, cannot modify associated policies in this endpoint, at least one property must be indicated", "summary": "Update role", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":role_id", @@ -10506,12 +10184,10 @@ }, { "name": "/security/rules/:rule_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.update_rule", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.update_rule", "description": "Modify a security rule by specifying its ID", "summary": "Update security rule", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":rule_id", @@ -10562,21 +10238,17 @@ }, { "name": "/security/user/revoke", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.revoke_all_tokens", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.revoke_all_tokens", "description": "This method should be called to revoke all active JWT tokens", "summary": "Revoke JWT tokens", - "tags": [ - "Security" - ] + "tags": ["Security"] }, { "name": "/security/users/:user_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.update_user", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.update_user", "description": "Modify a user's password by specifying their ID", "summary": "Update users", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":user_id", @@ -10621,12 +10293,10 @@ }, { "name": "/security/users/:user_id/run_as", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.edit_run_as", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.edit_run_as", "description": "Modify a user's allow_run_as flag by specifying their ID", "summary": "Enable/Disable run_as", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":user_id", @@ -10668,12 +10338,10 @@ }, { "name": "/syscheck", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.put_syscheck", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.put_syscheck", "description": "Run FIM scan in all agents", "summary": "Run scan", - "tags": [ - "Syscheck" - ], + "tags": ["Syscheck"], "query": [ { "name": "agents_list", @@ -10713,12 +10381,10 @@ "endpoints": [ { "name": "/agents", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.add_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.add_agent", "description": "Add a new agent", "summary": "Add agent", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "pretty", @@ -10752,20 +10418,16 @@ "format": "alphanumeric_symbols" } }, - "required": [ - "name" - ] + "required": ["name"] } ] }, { "name": "/agents/insert", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.insert_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.insert_agent", "description": "Add an agent specifying its name, ID and IP. If an agent with the same name, the same ID or the same IP already exists, replace it using the `force` parameter", "summary": "Add agent full", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "pretty", @@ -10845,20 +10507,16 @@ } } }, - "required": [ - "name" - ] + "required": ["name"] } ] }, { "name": "/agents/insert/quick", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.post_new_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.post_new_agent", "description": "Add a new agent with name `agent_name`. This agent will use `any` as IP", "summary": "Add agent quick", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "agent_name", @@ -10890,12 +10548,10 @@ }, { "name": "/events", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.event_controller.forward_event", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.event_controller.forward_event", "description": "Send security events to analysisd.\n\nThe endpoint is limited to receiving a max of 30 requests per minute and a max bulk size of 100 events per request.", "summary": "Ingest events", - "tags": [ - "Events" - ], + "tags": ["Events"], "query": [ { "name": "pretty", @@ -10926,20 +10582,16 @@ } } }, - "required": [ - "events" - ] + "required": ["events"] } ] }, { "name": "/groups", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.post_group", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.post_group", "description": "Create a new group", "summary": "Create a group", - "tags": [ - "Groups" - ], + "tags": ["Groups"], "query": [ { "name": "pretty", @@ -10969,9 +10621,7 @@ "maxLength": 128 } }, - "required": [ - "group_id" - ], + "required": ["group_id"], "example": { "group_id": "NewGroup_1" } @@ -10980,12 +10630,10 @@ }, { "name": "/security/policies", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.add_policy", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.add_policy", "description": "Add a new policy, all fields need to be specified", "summary": "Add policy", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -11007,10 +10655,7 @@ "body": [ { "type": "object", - "required": [ - "name", - "policy" - ], + "required": ["name", "policy"], "properties": { "name": { "description": "Policy name", @@ -11041,11 +10686,7 @@ "description": "Effect of the policy" } }, - "required": [ - "actions", - "resources", - "effect" - ] + "required": ["actions", "resources", "effect"] } } } @@ -11053,12 +10694,10 @@ }, { "name": "/security/roles", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.add_role", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.add_role", "description": "Add a new role, all fields need to be specified", "summary": "Add role", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -11080,9 +10719,7 @@ "body": [ { "type": "object", - "required": [ - "name" - ], + "required": ["name"], "properties": { "name": { "type": "string", @@ -11096,12 +10733,10 @@ }, { "name": "/security/roles/:role_id/policies", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.set_role_policy", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.set_role_policy", "description": "Create a specified relation role-policy, one role may have multiples policies", "summary": "Add policies to role", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":role_id", @@ -11157,12 +10792,10 @@ }, { "name": "/security/roles/:role_id/rules", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.set_role_rule", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.set_role_rule", "description": "Create a specific role-rule relation. One role may have multiple security rules", "summary": "Add security rules to role", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":role_id", @@ -11209,12 +10842,10 @@ }, { "name": "/security/rules", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.add_rule", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.add_rule", "description": "Add a new security rule", "summary": "Add security rule", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -11236,10 +10867,7 @@ "body": [ { "type": "object", - "required": [ - "name", - "rule" - ], + "required": ["name", "rule"], "properties": { "name": { "type": "string", @@ -11257,12 +10885,10 @@ }, { "name": "/security/user/authenticate", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.login_user", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.login_user", "description": "This method should be called to get an API token. This token will expire after auth_token_exp_timeout seconds (default: 900). This value can be changed using PUT /security/config", "summary": "Login", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "raw", @@ -11276,12 +10902,10 @@ }, { "name": "/security/user/authenticate/run_as", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.run_as_login", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.run_as_login", "description": "This method should be called to get an API token using an authorization context body. This token will expire after auth_token_exp_timeout seconds (default: 900). This value can be changed using PUT /security/config", "summary": "Login auth_context", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "raw", @@ -11295,12 +10919,10 @@ }, { "name": "/security/users", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.create_user", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.create_user", "description": "Add a new API user to the system", "summary": "Add user", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -11334,21 +10956,16 @@ "format": "password" } }, - "required": [ - "username", - "password" - ] + "required": ["username", "password"] } ] }, { "name": "/security/users/:user_id/roles", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.set_user_role", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.set_user_role", "description": "Create a specified relation role-policy, one user may have multiples roles", "summary": "Add roles to user", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":user_id", @@ -11409,12 +11026,10 @@ "endpoints": [ { "name": "/agents", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_agents", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_agents", "description": "Delete all agents or a list of them based on optional criteria", "summary": "Delete agents", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "agents_list", @@ -11574,12 +11189,10 @@ }, { "name": "/agents/:agent_id/group", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_single_agent_multiple_groups", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_single_agent_multiple_groups", "description": "Remove the agent from all groups or a list of them. The agent will automatically revert to the default group if it is removed from all its assigned groups", "summary": "Remove agent from groups", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":agent_id", @@ -11626,12 +11239,10 @@ }, { "name": "/agents/:agent_id/group/:group_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_single_agent_single_group", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_single_agent_single_group", "description": "Remove an agent from a specified group. If the agent belongs to several groups, only the specified group will be deleted.", "summary": "Remove agent from group", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "args": [ { "name": ":agent_id", @@ -11676,12 +11287,10 @@ }, { "name": "/agents/group", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_multiple_agent_single_group", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_multiple_agent_single_group", "description": "Remove all agents assignment or a list of them from the specified group", "summary": "Remove agents from group", - "tags": [ - "Agents" - ], + "tags": ["Agents"], "query": [ { "name": "agents_list", @@ -11727,12 +11336,10 @@ }, { "name": "/decoders/files/:filename", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.decoder_controller.delete_file", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.decoder_controller.delete_file", "description": "Delete a specified decoder file", "summary": "Delete decoders file", - "tags": [ - "Decoders" - ], + "tags": ["Decoders"], "args": [ { "name": ":filename", @@ -11773,12 +11380,10 @@ }, { "name": "/experimental/rootcheck", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.clear_rootcheck_database", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.clear_rootcheck_database", "description": "Clear rootcheck database for all agents or a list of them", "summary": "Clear rootcheck results", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "agents_list", @@ -11814,12 +11419,10 @@ }, { "name": "/experimental/syscheck", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.experimental_controller.clear_syscheck_database", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.experimental_controller.clear_syscheck_database", "description": "Clear the syscheck database for all agents or a list of them", "summary": "Clear agents FIM results", - "tags": [ - "Experimental" - ], + "tags": ["Experimental"], "query": [ { "name": "agents_list", @@ -11855,12 +11458,10 @@ }, { "name": "/groups", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_groups", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.agent_controller.delete_groups", "description": "Delete all groups or a list of them", "summary": "Delete groups", - "tags": [ - "Groups" - ], + "tags": ["Groups"], "query": [ { "name": "groups_list", @@ -11896,12 +11497,10 @@ }, { "name": "/lists/files/:filename", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.delete_file", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.cdb_list_controller.delete_file", "description": "Delete a specified CDB list file. Only the filename can be specified. It will be searched recursively if not found", "summary": "Delete CDB list file", - "tags": [ - "Lists" - ], + "tags": ["Lists"], "args": [ { "name": ":filename", @@ -11934,12 +11533,10 @@ }, { "name": "/logtest/sessions/:token", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.logtest_controller.end_logtest_session", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.logtest_controller.end_logtest_session", "description": "Delete the saved logtest session corresponding to {token}", "summary": "End session", - "tags": [ - "Logtest" - ], + "tags": ["Logtest"], "args": [ { "name": ":token", @@ -11972,12 +11569,10 @@ }, { "name": "/rootcheck/:agent_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.delete_rootcheck", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rootcheck_controller.delete_rootcheck", "description": "Clear an agent's rootcheck database", "summary": "Clear results", - "tags": [ - "Rootcheck" - ], + "tags": ["Rootcheck"], "args": [ { "name": ":agent_id", @@ -12012,12 +11607,10 @@ }, { "name": "/rules/files/:filename", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.rule_controller.delete_file", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.rule_controller.delete_file", "description": "Delete a specified rule file", "summary": "Delete rules file", - "tags": [ - "Rules" - ], + "tags": ["Rules"], "args": [ { "name": ":filename", @@ -12058,12 +11651,10 @@ }, { "name": "/security/config", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.delete_security_config", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.delete_security_config", "description": "Replaces the security configuration with the original one", "summary": "Restore default security config", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -12085,12 +11676,10 @@ }, { "name": "/security/policies", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_policies", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_policies", "description": "Delete a list of policies or all policies in the system, roles linked to policies are not going to be removed", "summary": "Delete policies", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "policy_ids", @@ -12125,12 +11714,10 @@ }, { "name": "/security/roles", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_roles", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_roles", "description": "Policies linked to roles are not going to be removed", "summary": "Delete roles", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -12165,12 +11752,10 @@ }, { "name": "/security/roles/:role_id/policies", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_role_policy", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_role_policy", "description": "Delete a specified relation role-policy", "summary": "Remove policies from role", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":role_id", @@ -12217,12 +11802,10 @@ }, { "name": "/security/roles/:role_id/rules", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_role_rule", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_role_rule", "description": "Delete a specific role-rule relation", "summary": "Remove security rules from role", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":role_id", @@ -12269,12 +11852,10 @@ }, { "name": "/security/rules", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_rules", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_rules", "description": "Delete a list of security rules or all security rules in the system, roles linked to rules are not going to be deleted", "summary": "Delete security rules", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -12309,21 +11890,17 @@ }, { "name": "/security/user/authenticate", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.logout_user", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.logout_user", "description": "This method should be called to invalidate all the current user's tokens", "summary": "Logout current user", - "tags": [ - "Security" - ] + "tags": ["Security"] }, { "name": "/security/users", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.delete_users", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.delete_users", "description": "Delete a list of users by specifying their IDs", "summary": "Delete users", - "tags": [ - "Security" - ], + "tags": ["Security"], "query": [ { "name": "pretty", @@ -12358,12 +11935,10 @@ }, { "name": "/security/users/:user_id/roles", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_user_role", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.security_controller.remove_user_role", "description": "Delete a specified relation user-roles", "summary": "Remove roles from user", - "tags": [ - "Security" - ], + "tags": ["Security"], "args": [ { "name": ":user_id", @@ -12410,12 +11985,10 @@ }, { "name": "/syscheck/:agent_id", - "documentation": "https://documentation.wazuh.com/4.9/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.delete_syscheck_agent", + "documentation": "https://documentation.wazuh.com/4.10/user-manual/api/reference.html#operation/api.controllers.syscheck_controller.delete_syscheck_agent", "description": "Clear file integrity monitoring scan results for a specified agent. Only available for agents < 3.12.0, it doesn't apply for more recent ones", "summary": "Clear results", - "tags": [ - "Syscheck" - ], + "tags": ["Syscheck"], "args": [ { "name": ":agent_id", @@ -12450,4 +12023,4 @@ } ] } -] \ No newline at end of file +] diff --git a/plugins/main/common/api-info/security-actions.json b/plugins/main/common/api-info/security-actions.json index 4b7878e228..d766d2a62d 100644 --- a/plugins/main/common/api-info/security-actions.json +++ b/plugins/main/common/api-info/security-actions.json @@ -1,57 +1,30 @@ { "active-response:command": { "description": "Execute active response commands in the agents", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "active-response:command" - ], - "resources": [ - "agent:id:001", - "agent:group:atlantic" - ], + "actions": ["active-response:command"], + "resources": ["agent:id:001", "agent:group:atlantic"], "effect": "allow" }, - "related_endpoints": [ - "PUT /active-response" - ] + "related_endpoints": ["PUT /active-response"] }, "agent:delete": { "description": "Delete agents", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "agent:delete" - ], - "resources": [ - "agent:id:010", - "agent:group:pacific" - ], + "actions": ["agent:delete"], + "resources": ["agent:id:010", "agent:group:pacific"], "effect": "allow" }, - "related_endpoints": [ - "DELETE /agents" - ] + "related_endpoints": ["DELETE /agents"] }, "agent:read": { "description": "Access agents information (id, name, group, last keep alive, etc)", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "agent:read" - ], - "resources": [ - "agent:id:*" - ], + "actions": ["agent:read"], + "resources": ["agent:id:*"], "effect": "allow" }, "related_endpoints": [ @@ -72,16 +45,10 @@ }, "agent:create": { "description": "Create new agents", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "agent:create" - ], - "resources": [ - "*:*:*" - ], + "actions": ["agent:create"], + "resources": ["*:*:*"], "effect": "allow" }, "related_endpoints": [ @@ -92,18 +59,10 @@ }, "agent:modify_group": { "description": "Change the group of agents", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "agent:modify_group" - ], - "resources": [ - "agent:id:004", - "agent:group:us-east" - ], + "actions": ["agent:modify_group"], + "resources": ["agent:id:004", "agent:group:us-east"], "effect": "allow" }, "related_endpoints": [ @@ -116,16 +75,10 @@ }, "group:modify_assignments": { "description": "Change the agents assigned to the group", - "resources": [ - "group:id" - ], + "resources": ["group:id"], "example": { - "actions": [ - "group:modify_assignments" - ], - "resources": [ - "group:id:*" - ], + "actions": ["group:modify_assignments"], + "resources": ["group:id:*"], "effect": "allow" }, "related_endpoints": [ @@ -138,18 +91,10 @@ }, "agent:restart": { "description": "Restart agents", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "agent:restart" - ], - "resources": [ - "agent:id:050", - "agent:id:049" - ], + "actions": ["agent:restart"], + "resources": ["agent:id:050", "agent:id:049"], "effect": "deny" }, "related_endpoints": [ @@ -161,18 +106,10 @@ }, "agent:upgrade": { "description": "Upgrade the version of the agents", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "agent:upgrade" - ], - "resources": [ - "agent:id:001", - "agent:group:mediterranean" - ], + "actions": ["agent:upgrade"], + "resources": ["agent:id:001", "agent:group:mediterranean"], "effect": "allow" }, "related_endpoints": [ @@ -181,19 +118,22 @@ "GET /agents/upgrade_result" ] }, + "agent:uninstall": { + "description": "Check user's permission to uninstall agents", + "resources": ["*:*"], + "example": { + "actions": ["agent:uninstall"], + "resources": ["*:*:*"], + "effect": "allow" + }, + "related_endpoints": ["GET /agents/uninstall"] + }, "cluster:read": { "description": "Read Wazuh's cluster nodes configuration", - "resources": [ - "node:id" - ], + "resources": ["node:id"], "example": { - "actions": [ - "cluster:read" - ], - "resources": [ - "node:id:worker1", - "node:id:worker3" - ], + "actions": ["cluster:read"], + "resources": ["node:id:worker1", "node:id:worker3"], "effect": "deny" }, "related_endpoints": [ @@ -221,54 +161,30 @@ }, "agent:reconnect": { "description": "Force reconnect agents", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "agent:reconnect" - ], - "resources": [ - "agent:id:050", - "agent:id:049" - ], + "actions": ["agent:reconnect"], + "resources": ["agent:id:050", "agent:id:049"], "effect": "deny" }, - "related_endpoints": [ - "PUT /agents/reconnect" - ] + "related_endpoints": ["PUT /agents/reconnect"] }, "group:delete": { "description": "Delete agent groups", - "resources": [ - "group:id" - ], + "resources": ["group:id"], "example": { - "actions": [ - "group:delete" - ], - "resources": [ - "group:id:*" - ], + "actions": ["group:delete"], + "resources": ["group:id:*"], "effect": "allow" }, - "related_endpoints": [ - "DELETE /groups" - ] + "related_endpoints": ["DELETE /groups"] }, "group:read": { "description": "Access agent groups information (id, name, agents, etc)", - "resources": [ - "group:id" - ], + "resources": ["group:id"], "example": { - "actions": [ - "group:create" - ], - "resources": [ - "group:id:*" - ], + "actions": ["group:create"], + "resources": ["group:id:*"], "effect": "allow" }, "related_endpoints": [ @@ -282,55 +198,30 @@ }, "group:create": { "description": "Create new agent groups", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "group:create" - ], - "resources": [ - "*:*:*" - ], + "actions": ["group:create"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "POST /groups" - ] + "related_endpoints": ["POST /groups"] }, "group:update_config": { "description": "Change the configuration of agent groups", - "resources": [ - "group:id" - ], + "resources": ["group:id"], "example": { - "actions": [ - "group:update_config" - ], - "resources": [ - "group:id:*" - ], + "actions": ["group:update_config"], + "resources": ["group:id:*"], "effect": "deny" }, - "related_endpoints": [ - "PUT /groups/{group_id}/configuration" - ] + "related_endpoints": ["PUT /groups/{group_id}/configuration"] }, "ciscat:read": { "description": "Access CIS-CAT results for agents", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "ciscat:read" - ], - "resources": [ - "agent:id:001", - "agent:id:003", - "agent:group:default" - ], + "actions": ["ciscat:read"], + "resources": ["agent:id:001", "agent:id:003", "agent:group:default"], "effect": "deny" }, "related_endpoints": [ @@ -340,89 +231,50 @@ }, "cluster:status": { "description": "Check Wazuh's cluster general status", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "cluster:status" - ], - "resources": [ - "*:*:*" - ], + "actions": ["cluster:status"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "GET /cluster/status" - ] + "related_endpoints": ["GET /cluster/status"] }, "cluster:read_api_config": { "description": "Check Wazuh's cluster nodes API configuration", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "cluster:read_api_config" - ], - "resources": [ - "node:id:worker1", - "node:id:worker3" - ], + "actions": ["cluster:read_api_config"], + "resources": ["node:id:worker1", "node:id:worker3"], "effect": "allow" }, - "related_endpoints": [ - "GET /cluster/api/config" - ] + "related_endpoints": ["GET /cluster/api/config"] }, "cluster:update_config": { "description": "Change the Wazuh's cluster node configuration", - "resources": [ - "node:id" - ], + "resources": ["node:id"], "example": { - "actions": [ - "cluster:update_config" - ], - "resources": [ - "node:id:worker1" - ], + "actions": ["cluster:update_config"], + "resources": ["node:id:worker1"], "effect": "allow" }, - "related_endpoints": [ - "PUT /cluster/{node_id}/configuration" - ] + "related_endpoints": ["PUT /cluster/{node_id}/configuration"] }, "cluster:restart": { "description": "Restart Wazuh's cluster nodes", - "resources": [ - "node:id" - ], + "resources": ["node:id"], "example": { - "actions": [ - "cluster:restart" - ], - "resources": [ - "node:id:worker1" - ], + "actions": ["cluster:restart"], + "resources": ["node:id:worker1"], "effect": "allow" }, - "related_endpoints": [ - "PUT /cluster/restart" - ] + "related_endpoints": ["PUT /cluster/restart"] }, "lists:read": { "description": "Read CDB lists files", - "resources": [ - "list:file" - ], + "resources": ["list:file"], "example": { - "actions": [ - "lists:read" - ], - "resources": [ - "list:file:audit-keys" - ], + "actions": ["lists:read"], + "resources": ["list:file:audit-keys"], "effect": "deny" }, "related_endpoints": [ @@ -433,34 +285,20 @@ }, "lists:update": { "description": "Update or upload CDB lists files", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "lists:update" - ], - "resources": [ - "*:*:*" - ], + "actions": ["lists:update"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "PUT /lists/files/{filename}" - ] + "related_endpoints": ["PUT /lists/files/{filename}"] }, "lists:delete": { "description": "Delete CDB lists files", - "resources": [ - "list:file" - ], + "resources": ["list:file"], "example": { - "actions": [ - "lists:delete" - ], - "resources": [ - "list:file:audit-keys" - ], + "actions": ["lists:delete"], + "resources": ["list:file:audit-keys"], "effect": "deny" }, "related_endpoints": [ @@ -470,35 +308,20 @@ }, "logtest:run": { "description": "Run logtest tool or end a logtest session", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "logtest:run" - ], - "resources": [ - "*:*:*" - ], + "actions": ["logtest:run"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "PUT /logtest", - "DELETE /logtest/sessions/{token}" - ] + "related_endpoints": ["PUT /logtest", "DELETE /logtest/sessions/{token}"] }, "manager:read": { "description": "Read Wazuh manager configuration", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "manager:read" - ], - "resources": [ - "*:*:*" - ], + "actions": ["manager:read"], + "resources": ["*:*:*"], "effect": "allow" }, "related_endpoints": [ @@ -520,70 +343,40 @@ }, "manager:update_config": { "description": "Update current Wazuh manager configuration", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "manager:update_config" - ], - "resources": [ - "*:*:*" - ], + "actions": ["manager:update_config"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "PUT /manager/configuration" - ] + "related_endpoints": ["PUT /manager/configuration"] }, "manager:read_api_config": { "description": "Read Wazuh manager API configuration", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "manager:read_api_config" - ], - "resources": [ - "*:*:*" - ], + "actions": ["manager:read_api_config"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "GET /manager/api/config" - ] + "related_endpoints": ["GET /manager/api/config"] }, "manager:restart": { "description": "Restart Wazuh managers", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "manager:restart" - ], - "resources": [ - "*:*:*" - ], + "actions": ["manager:restart"], + "resources": ["*:*:*"], "effect": "deny" }, - "related_endpoints": [ - "PUT /manager/restart" - ] + "related_endpoints": ["PUT /manager/restart"] }, "mitre:read": { "description": "Access information from MITRE database", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "mitre:read" - ], - "resources": [ - "*:*:*" - ], + "actions": ["mitre:read"], + "resources": ["*:*:*"], "effect": "allow" }, "related_endpoints": [ @@ -598,36 +391,20 @@ }, "rootcheck:run": { "description": "Run agents rootcheck scan", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "rootcheck:run" - ], - "resources": [ - "agent:id:*" - ], + "actions": ["rootcheck:run"], + "resources": ["agent:id:*"], "effect": "allow" }, - "related_endpoints": [ - "PUT /rootcheck" - ] + "related_endpoints": ["PUT /rootcheck"] }, "rootcheck:read": { "description": "Access information from agents rootcheck database", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "rootcheck:read" - ], - "resources": [ - "agent:id:011" - ], + "actions": ["rootcheck:read"], + "resources": ["agent:id:011"], "effect": "allow" }, "related_endpoints": [ @@ -637,17 +414,10 @@ }, "rootcheck:clear": { "description": "Clear the agents rootcheck database", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "rootcheck:clear" - ], - "resources": [ - "agent:id:*" - ], + "actions": ["rootcheck:clear"], + "resources": ["agent:id:*"], "effect": "deny" }, "related_endpoints": [ @@ -657,16 +427,10 @@ }, "rules:read": { "description": "Read rules files", - "resources": [ - "rule:file" - ], + "resources": ["rule:file"], "example": { - "actions": [ - "rules:read" - ], - "resources": [ - "rule:file:0610-win-ms_logs_rules.xml" - ], + "actions": ["rules:read"], + "resources": ["rule:file:0610-win-ms_logs_rules.xml"], "effect": "allow" }, "related_endpoints": [ @@ -679,34 +443,20 @@ }, "rules:update": { "description": "Update or upload custom rule files", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "rules:update" - ], - "resources": [ - "*:*:*" - ], + "actions": ["rules:update"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "PUT /rules/files/{filename}" - ] + "related_endpoints": ["PUT /rules/files/{filename}"] }, "rules:delete": { "description": "Delete custom rule files", - "resources": [ - "rule:file" - ], + "resources": ["rule:file"], "example": { - "actions": [ - "rules:delete" - ], - "resources": [ - "rule:file:0610-win-ms_logs_rules.xml" - ], + "actions": ["rules:delete"], + "resources": ["rule:file:0610-win-ms_logs_rules.xml"], "effect": "allow" }, "related_endpoints": [ @@ -716,17 +466,10 @@ }, "sca:read": { "description": "Access agents security configuration assessment", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "sca:read" - ], - "resources": [ - "agent:id:*" - ], + "actions": ["sca:read"], + "resources": ["agent:id:*"], "effect": "allow" }, "related_endpoints": [ @@ -736,37 +479,20 @@ }, "syscheck:run": { "description": "Run agents syscheck scan", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "syscheck:run" - ], - "resources": [ - "agent:id:*" - ], + "actions": ["syscheck:run"], + "resources": ["agent:id:*"], "effect": "allow" }, - "related_endpoints": [ - "PUT /syscheck" - ] + "related_endpoints": ["PUT /syscheck"] }, "syscheck:read": { "description": "Access information from agents syscheck database", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "syscheck:read" - ], - "resources": [ - "agent:id:011", - "agent:group:us-west" - ], + "actions": ["syscheck:read"], + "resources": ["agent:id:011", "agent:group:us-west"], "effect": "allow" }, "related_endpoints": [ @@ -776,17 +502,10 @@ }, "syscheck:clear": { "description": "Clear the agents syscheck database", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "syscheck:clear" - ], - "resources": [ - "agent:id:*" - ], + "actions": ["syscheck:clear"], + "resources": ["agent:id:*"], "effect": "deny" }, "related_endpoints": [ @@ -796,16 +515,10 @@ }, "decoders:read": { "description": "Read decoders files", - "resources": [ - "decoder:file" - ], + "resources": ["decoder:file"], "example": { - "actions": [ - "decoders:read" - ], - "resources": [ - "decoder:file:*" - ], + "actions": ["decoders:read"], + "resources": ["decoder:file:*"], "effect": "allow" }, "related_endpoints": [ @@ -817,34 +530,20 @@ }, "decoders:update": { "description": "Update or upload custom decoder files", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "decoders:update" - ], - "resources": [ - "*:*:*" - ], + "actions": ["decoders:update"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "PUT /decoders/files/{filename}" - ] + "related_endpoints": ["PUT /decoders/files/{filename}"] }, "decoders:delete": { "description": "Delete custom decoder files", - "resources": [ - "decoder:file" - ], + "resources": ["decoder:file"], "example": { - "actions": [ - "decoders:delete" - ], - "resources": [ - "decoder:file:local_decoder.xml" - ], + "actions": ["decoders:delete"], + "resources": ["decoder:file:local_decoder.xml"], "effect": "allow" }, "related_endpoints": [ @@ -854,17 +553,10 @@ }, "syscollector:read": { "description": "Access agents syscollector information", - "resources": [ - "agent:id", - "agent:group" - ], + "resources": ["agent:id", "agent:group"], "example": { - "actions": [ - "syscollector:read" - ], - "resources": [ - "agent:id:*" - ], + "actions": ["syscollector:read"], + "resources": ["agent:id:*"], "effect": "allow" }, "related_endpoints": [ @@ -890,40 +582,20 @@ }, "security:edit_run_as": { "description": "Change the value of the allow_run_as flag for a user", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "security:edit_run_as" - ], - "resources": [ - "*:*:*" - ], + "actions": ["security:edit_run_as"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "PUT /security/users/{user_id}/run_as" - ] + "related_endpoints": ["PUT /security/users/{user_id}/run_as"] }, "security:read": { "description": "Access information about system security resources", - "resources": [ - "policy:id", - "role:id", - "user:id", - "rule:id" - ], + "resources": ["policy:id", "role:id", "user:id", "rule:id"], "example": { - "actions": [ - "security:read" - ], - "resources": [ - "policy:id:*", - "role:id:2", - "user:id:5", - "rule:id:3" - ], + "actions": ["security:read"], + "resources": ["policy:id:*", "role:id:2", "user:id:5", "rule:id:3"], "effect": "allow" }, "related_endpoints": [ @@ -935,40 +607,20 @@ }, "security:create_user": { "description": "Create new system users", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "security:create_user" - ], - "resources": [ - "*:*:*" - ], + "actions": ["security:create_user"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "POST /security/users" - ] + "related_endpoints": ["POST /security/users"] }, "security:delete": { "description": "Delete system security resources", - "resources": [ - "policy:id", - "role:id", - "user:id", - "rule:id" - ], + "resources": ["policy:id", "role:id", "user:id", "rule:id"], "example": { - "actions": [ - "security:update" - ], - "resources": [ - "policy:id:*", - "role:id:3", - "user:id:4", - "rule:id:2" - ], + "actions": ["security:update"], + "resources": ["policy:id:*", "role:id:3", "user:id:4", "rule:id:2"], "effect": "deny" }, "related_endpoints": [ @@ -983,22 +635,10 @@ }, "security:update": { "description": "Update the information of system security resources", - "resources": [ - "policy:id", - "role:id", - "user:id", - "rule:id" - ], + "resources": ["policy:id", "role:id", "user:id", "rule:id"], "example": { - "actions": [ - "security:update" - ], - "resources": [ - "policy:id:*", - "role:id:4", - "user:id:3", - "rule:id:4" - ], + "actions": ["security:update"], + "resources": ["policy:id:*", "role:id:4", "user:id:3", "rule:id:4"], "effect": "deny" }, "related_endpoints": [ @@ -1013,16 +653,10 @@ }, "security:create": { "description": "Create new system security resources", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "security:create" - ], - "resources": [ - "*:*:*" - ], + "actions": ["security:create"], + "resources": ["*:*:*"], "effect": "deny" }, "related_endpoints": [ @@ -1033,75 +667,42 @@ }, "security:read_config": { "description": "Read current system security configuration", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "security:read_config" - ], - "resources": [ - "*:*:*" - ], + "actions": ["security:read_config"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "GET /security/config" - ] + "related_endpoints": ["GET /security/config"] }, "security:update_config": { "description": "Update current system security configuration", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "security:update_config" - ], - "resources": [ - "*:*:*" - ], + "actions": ["security:update_config"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "PUT /security/config", - "DELETE /security/config" - ] + "related_endpoints": ["PUT /security/config", "DELETE /security/config"] }, "task:status": { "description": "Access task's status information", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "task:status" - ], - "resources": [ - "*:*:*" - ], + "actions": ["task:status"], + "resources": ["*:*:*"], "effect": "deny" }, - "related_endpoints": [ - "GET /tasks/status" - ] + "related_endpoints": ["GET /tasks/status"] }, "event:ingest": { "description": "Ingest events", - "resources": [ - "*:*" - ], + "resources": ["*:*"], "example": { - "actions": [ - "event:ingest" - ], - "resources": [ - "*:*:*" - ], + "actions": ["event:ingest"], + "resources": ["*:*:*"], "effect": "allow" }, - "related_endpoints": [ - "POST /events" - ] + "related_endpoints": ["POST /events"] } -} \ No newline at end of file +} diff --git a/plugins/main/opensearch_dashboards.json b/plugins/main/opensearch_dashboards.json index c29b99cef9..fbc491a254 100644 --- a/plugins/main/opensearch_dashboards.json +++ b/plugins/main/opensearch_dashboards.json @@ -1,6 +1,6 @@ { "id": "wazuh", - "version": "4.10.0-00", + "version": "4.10.0-01", "opensearchDashboardsVersion": "opensearchDashboards", "configPath": ["wazuh"], "requiredPlugins": [ diff --git a/plugins/main/package.json b/plugins/main/package.json index 5da02226c4..e8a7216885 100644 --- a/plugins/main/package.json +++ b/plugins/main/package.json @@ -1,7 +1,7 @@ { "name": "wazuh", "version": "4.10.0", - "revision": "00", + "revision": "01", "pluginPlatform": { "version": "2.16.0" }, diff --git a/plugins/wazuh-check-updates/opensearch_dashboards.json b/plugins/wazuh-check-updates/opensearch_dashboards.json index 11e9db5fd1..90f2a93909 100644 --- a/plugins/wazuh-check-updates/opensearch_dashboards.json +++ b/plugins/wazuh-check-updates/opensearch_dashboards.json @@ -1,6 +1,6 @@ { "id": "wazuhCheckUpdates", - "version": "4.10.0-00", + "version": "4.10.0-01", "opensearchDashboardsVersion": "opensearchDashboards", "server": true, "ui": true, diff --git a/plugins/wazuh-check-updates/package.json b/plugins/wazuh-check-updates/package.json index d94dc944d9..9725d153e4 100644 --- a/plugins/wazuh-check-updates/package.json +++ b/plugins/wazuh-check-updates/package.json @@ -1,7 +1,7 @@ { "name": "wazuh-check-updates", "version": "4.10.0", - "revision": "00", + "revision": "01", "pluginPlatform": { "version": "2.16.0" }, diff --git a/plugins/wazuh-core/opensearch_dashboards.json b/plugins/wazuh-core/opensearch_dashboards.json index d8a08863d3..cd9d8e5fef 100644 --- a/plugins/wazuh-core/opensearch_dashboards.json +++ b/plugins/wazuh-core/opensearch_dashboards.json @@ -1,6 +1,6 @@ { "id": "wazuhCore", - "version": "4.10.0-00", + "version": "4.10.0-01", "opensearchDashboardsVersion": "opensearchDashboards", "server": true, "ui": true, diff --git a/plugins/wazuh-core/package.json b/plugins/wazuh-core/package.json index e9ce82e9c2..897ff7150a 100644 --- a/plugins/wazuh-core/package.json +++ b/plugins/wazuh-core/package.json @@ -1,7 +1,7 @@ { "name": "wazuh-core", "version": "4.10.0", - "revision": "00", + "revision": "01", "pluginPlatform": { "version": "2.16.0" },