diff --git a/rpms/SPECS/wazuh-manager.spec b/rpms/SPECS/wazuh-manager.spec index b51a2cddbf..6a55064853 100644 --- a/rpms/SPECS/wazuh-manager.spec +++ b/rpms/SPECS/wazuh-manager.spec @@ -625,7 +625,7 @@ rm -fr %{buildroot} %dir %attr(770, root, wazuh) %{_localstatedir}/api/configuration/security %dir %attr(770, root, wazuh) %{_localstatedir}/api/configuration/ssl %dir %attr(750, root, wazuh) %{_localstatedir}/api/scripts -%attr(640, root, wazuh) %{_localstatedir}/api/scripts/wazuh-apid.py +%attr(640, root, wazuh) %{_localstatedir}/api/scripts/*.py %dir %attr(750, root, wazuh) %{_localstatedir}/backup %dir %attr(750, wazuh, wazuh) %{_localstatedir}/backup/db %dir %attr(750, wazuh, wazuh) %{_localstatedir}/backup/agents diff --git a/tests/unattended/install/test_unattended.py b/tests/unattended/install/test_unattended.py index 80e9c4e3e5..54094a8180 100644 --- a/tests/unattended/install/test_unattended.py +++ b/tests/unattended/install/test_unattended.py @@ -171,7 +171,7 @@ def test_check_wazuh_manager_modulesd(): @pytest.mark.wazuh def test_check_wazuh_manager_apid(): - assert check_call("ps -xa | grep wazuh-apid | grep -v grep", shell=True) != "" + assert check_call("ps -xa | grep wazuh_apid | grep -v grep", shell=True) != "" @pytest.mark.wazuh_cluster def test_check_wazuh_manager_clusterd():