Skip to content

Commit

Permalink
Remove ossec references (#6926)
Browse files Browse the repository at this point in the history
* Removed ossec references

* Resolve some ask

* Resolve test

* Added Changelog

---------

Co-authored-by: Federico Rodriguez <[email protected]>
  • Loading branch information
JuanGarriuz and asteriscos authored Aug 27, 2024
1 parent f466e22 commit 0c78a4b
Show file tree
Hide file tree
Showing 17 changed files with 1,717 additions and 799 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ All notable changes to the Wazuh app project will be documented in this file.

- Support for Wazuh 5.0.0

### Removed

- Removed `ossec` references in repository [#6926](https://github.com/wazuh/wazuh-dashboard-plugins/pull/6926)

## Wazuh v4.10.0 - OpenSearch Dashboards 2.13.0 - Revision 00

### Added
Expand Down
4 changes: 2 additions & 2 deletions plugins/main/common/api-info/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -2055,7 +2055,7 @@
{
"name": "/decoders",
"documentation": "https://documentation.wazuh.com/4.9/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",
"description": "Return information about all decoders included in wazuh_server.conf. This information include decoder's route, decoder's name, decoder's file among others",
"summary": "List decoders",
"tags": ["Decoders"],
"query": [
Expand Down Expand Up @@ -9469,7 +9469,7 @@
},
{
"name": "file_path",
"description": "Full path to the WPK file. The file must be on a folder on the Server's installation directory (by default, <code>/var/ossec</code>)",
"description": "Full path to the WPK file. The file must be on a folder on the Server's installation directory (by default, <code>/var/wazuh_server</code>)",
"required": true,
"schema": {
"type": "string",
Expand Down
3 changes: 1 addition & 2 deletions plugins/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"description": "Wazuh dashboard",
"keywords": [
"opensearch_dashboards",
"wazuh",
"ossec"
"wazuh"
],
"node_build": "10.23.1",
"author": "Wazuh, Inc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ describe('getMacOsInstallCommand', () => {
describe('getMacosStartCommand', () => {
it('returns the correct start command for macOS', () => {
const startCommand = getMacosStartCommand({});
expect(startCommand).toEqual('sudo /Library/Ossec/bin/wazuh-control start');
expect(startCommand).toEqual(
'sudo /Library/wazuh_agent/bin/wazuh-control start',
);
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,5 @@ export const getMacOsInstallCommand = (
export const getMacosStartCommand = (
_props: tOSEntryProps<tOptionalParameters>,
) => {
return `sudo /Library/Ossec/bin/wazuh-control start`;
return `sudo /Library/wazuh_agent/bin/wazuh-control start`;
};
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ export default compose(
})),
`wazuh-${
this.state.selectedNode ? `${this.state.selectedNode}-` : ''
}ossec-log`,
}server-log`,
);
} catch (error) {
const options = {
Expand Down
4 changes: 2 additions & 2 deletions plugins/main/server/lib/api-request-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -1807,7 +1807,7 @@
{
"name": "/decoders",
"documentation": "https://documentation.wazuh.com/current/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",
"description": "Return information about all decoders included in wazuh_server.conf. This information include decoder's route, decoder's name, decoder's file among others",
"summary": "List decoders",
"tags": ["Decoders"],
"query": [
Expand Down Expand Up @@ -8915,7 +8915,7 @@
},
{
"name": "file_path",
"description": "Full path to the WPK file. The file must be on a folder on the Wazuh's installation directory (by default, <code>/var/ossec</code>)",
"description": "Full path to the WPK file. The file must be on a folder on the Wazuh's installation directory (by default, <code>/var/wazuh_server</code>)",
"required": true,
"schema": {
"type": "string",
Expand Down
Loading

0 comments on commit 0c78a4b

Please sign in to comment.