Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review Indexer repository for legacy modules #303

Closed
2 tasks done
AlexRuiz7 opened this issue Jul 11, 2024 · 4 comments · Fixed by #385
Closed
2 tasks done

Review Indexer repository for legacy modules #303

AlexRuiz7 opened this issue Jul 11, 2024 · 4 comments · Fixed by #385
Assignees
Labels
level/task Task issue phase/mvp Minimum Viable Product type/enhancement Enhancement issue

Comments

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Jul 11, 2024

Description

As part of the Legacy Removal epic, we need to ensure there are no references for legacy stuff.

Tasks

In this repository:

  • Check for references to OSSEC
  • Check for references to removed daemons (see Legacy Removal)
@f-galland
Copy link
Member

f-galland commented Jul 17, 2024

We are still relying on the old ossec path only in our integrations' compose files and pipeline files:

$ grep -Ril ossec | grep -Ev '.jar$|.jmod$|.zip$|^.gradle|.tar.gz$'
integrations/splunk/logstash/pipeline/manager-to-splunk.conf
integrations/elastic/logstash/pipeline/manager-to-elastic.conf
integrations/docker/compose.manager-elastic.yml
integrations/docker/compose.manager-splunk.yml
integrations/docker/compose.manager-opensearch.yml
integrations/opensearch/logstash/pipeline/manager-to-opensearch.conf
integrations/tools/events-generator/wazuh-alerts/alerts.json
integrations/tools/events-generator/run.py

However, we cannot remove these until the manager itself stops using these directories.

@f-galland
Copy link
Member

No references to the legacy modules whatsoever:

fede@tyner:~/src/wazuh-indexer (303-remove-legacy-references)
$ grep -REl 'wazuh-agentd|wazuh-agentlessd|wazuh-analysisd|wazuh-apid|wazuh-authd|wazuh-clusterd|wazuh-csyslogd|wazuh-db|wazuh-dbd|wazuh-execd|wazuh-integratord|wazuh-logcollector|wazuh-maild|wazuh-modulesd|wazuh-remoted|wazuh-reportd|wazuh-syscheckd'
fede@tyner:~/src/wazuh-indexer (303-remove-legacy-references)

@vikman90 vikman90 added the phase/mvp Minimum Viable Product label Aug 7, 2024
@AlexRuiz7
Copy link
Member Author

AlexRuiz7 commented Aug 21, 2024

Blocked until we know the new path for the alerts.json file in 5.0.0.

The references to ossec come from the path of this file in our development environments for the third-party integrations.

/var/ossec/logs/alerts/alerts.json

@AlexRuiz7
Copy link
Member Author

Integrations with the Manager will no longer exist for 5.0.0.

We can safely remove these environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue phase/mvp Minimum Viable Product type/enhancement Enhancement issue
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants