From 3e367a367dae80ba79afae04412da54ed1bc1b26 Mon Sep 17 00:00:00 2001 From: Federico Gustavo Galland <99492720+f-galland@users.noreply.github.com> Date: Mon, 15 Jan 2024 14:48:27 -0300 Subject: [PATCH 1/3] Remove unneeded symbolic links from assembled packages (#121) --- distribution/packages/src/deb/debmake_install.sh | 4 ---- distribution/packages/src/rpm/wazuh-indexer.rpm.spec | 10 ++-------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/distribution/packages/src/deb/debmake_install.sh b/distribution/packages/src/deb/debmake_install.sh index 4b10a36e001c4..021a31e260d15 100644 --- a/distribution/packages/src/deb/debmake_install.sh +++ b/distribution/packages/src/deb/debmake_install.sh @@ -36,10 +36,6 @@ if [ -d "${buildroot}${product_dir}"/plugins/opensearch-security ]; then chmod -c 0755 "${buildroot}${product_dir}"/plugins/opensearch-security/tools/* fi -# Symlinks (do not symlink config dir as security demo installer has dependency, if no presense it will switch to rpm/deb mode) -ln -s ${data_dir} "${buildroot}${product_dir}/data" -ln -s ${log_dir} "${buildroot}${product_dir}/logs" - # Change Permissions chmod -Rf a+rX,u+w,g-w,o-w "${buildroot}"/* diff --git a/distribution/packages/src/rpm/wazuh-indexer.rpm.spec b/distribution/packages/src/rpm/wazuh-indexer.rpm.spec index c1f196577212a..28be42bbb9fc4 100644 --- a/distribution/packages/src/rpm/wazuh-indexer.rpm.spec +++ b/distribution/packages/src/rpm/wazuh-indexer.rpm.spec @@ -72,9 +72,7 @@ fi mkdir -p %{buildroot}%{config_dir}/opensearch-observability mkdir -p %{buildroot}%{config_dir}/opensearch-reports-scheduler mkdir -p %{buildroot}%{product_dir}/performance-analyzer-rca -# Symlinks (do not symlink config dir as security demo installer has dependency, if no presense it will switch to rpm/deb mode) -ln -s %{data_dir} %{buildroot}%{product_dir}/data -ln -s %{log_dir} %{buildroot}%{product_dir}/logs + # Pre-populate PA configs if not present if [ ! -f %{buildroot}%{data_dir}/rca_enabled.conf ]; then echo 'true' > %{buildroot}%{data_dir}/rca_enabled.conf @@ -204,10 +202,6 @@ exit 0 %{pid_dir} %dir %{data_dir} -# Symlinks -%{product_dir}/data -%{product_dir}/logs - # Wazuh additional files %attr(440, %{name}, %{name}) %{product_dir}/VERSION %attr(750, %{name}, %{name}) %{product_dir}/bin/indexer-security-init.sh @@ -271,4 +265,4 @@ exit 0 - More info: https://documentation.wazuh.com/current/release-notes/release-4-3-1.html * Thu May 05 2022 support - 4.3.0 - More info: https://documentation.wazuh.com/current/release-notes/release-4-3-0.html -- Initial package \ No newline at end of file +- Initial package From c1c5359e654264f93e3209d8f6f157a8cb62db50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Tue, 16 Jan 2024 20:05:39 +0100 Subject: [PATCH 2/3] Update issue templates (#127) --- .github/ISSUE_TEMPLATE/bug_template.md | 2 +- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_template.md b/.github/ISSUE_TEMPLATE/bug_template.md index be3ae51b237ee..68b901cf8888e 100644 --- a/.github/ISSUE_TEMPLATE/bug_template.md +++ b/.github/ISSUE_TEMPLATE/bug_template.md @@ -2,7 +2,7 @@ name: πŸ› Bug report about: Create a report to help us improve title: "[BUG]" -labels: 'bug, untriaged' +labels: ["type/bug", "level/task"] assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 53b3614a34342..156e627041b39 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -2,7 +2,7 @@ name: πŸŽ† Feature request about: Suggest an idea for this project title: '' -labels: 'enhancement, untriaged' +labels: ["type/enhancement", "level/task"] assignees: '' --- From 8b4546ef40db7430b8b9b6296daf8f740f18d8a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Tue, 16 Jan 2024 20:05:58 +0100 Subject: [PATCH 3/3] Update CODEOWNERS (#126) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álex Ruiz --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 122d2cde47ad0..fbc238be3520e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @AlexRuiz7 @gdiazlo +* @wazuh/indexer