-
Notifications
You must be signed in to change notification settings - Fork 173
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
[Register Agent] Wrong macos installation command - 4.6.0 #5886
Labels
Comments
Machi3mfl
changed the title
[Register Agent] Wrong macos installation command
[Register Agent] Wrong macos installation command - 4.6.0
Sep 12, 2023
6 tasks
Tostti
added a commit
that referenced
this issue
Sep 13, 2023
### Description Fix the macOS installation command Closes #5886 ## Evidence ## Intel (intel64) ![Captura de pantalla 2023-09-12 a la(s) 13 57 12](https://github.com/wazuh/wazuh-kibana-app/assets/6089438/fbdef941-d0c8-4d61-a1ec-922877132329) ![Captura de pantalla 2023-09-12 a la(s) 13 57 21](https://github.com/wazuh/wazuh-kibana-app/assets/6089438/d4c695d0-8ea2-4fc6-b6b2-7e0759aba6fa) ```bash curl -so wazuh-agent.pkg https://packages.wazuh.com/4.x/macos/wazuh-agent-4.6.0-1.intel64.pkg && echo "WAZUH_MANAGER='0.0.0.0' && WAZUH_AGENT_NAME='agent-name'" > /tmp/wazuh_envs && sudo installer -pkg ./wazuh-agent.pkg -target / ``` ### Command output <img width="722" alt="Captura de pantalla 2023-09-12 a la(s) 13 50 56" src="https://github.com/wazuh/wazuh-kibana-app/assets/6089438/9f8153be-dda7-4a6e-a016-949f61a0b53e"> ### ossec.conf with parameters specified <img width="521" alt="Captura de pantalla 2023-09-12 a la(s) 13 50 35" src="https://github.com/wazuh/wazuh-kibana-app/assets/6089438/3c7ac29a-ad67-4407-962f-cf1d03967efd"> ## Apple silicon (arm64) ![Captura de pantalla 2023-09-12 a la(s) 13 57 52](https://github.com/wazuh/wazuh-kibana-app/assets/6089438/767aedd3-9611-4462-b5e7-a25390f3f057) ![Captura de pantalla 2023-09-12 a la(s) 13 58 11](https://github.com/wazuh/wazuh-kibana-app/assets/6089438/3fe3d61d-6511-41a5-be80-dcdb24713bd3) ```bash curl -so wazuh-agent.pkg https://packages.wazuh.com/4.x/macos/wazuh-agent-4.6.0-1.arm64.pkg && echo "WAZUH_MANAGER='0.0.0.0' && WAZUH_AGENT_NAME='agent-name'" > /tmp/wazuh_envs && sudo installer -pkg ./wazuh-agent.pkg -target / ``` ### Command output <img width="682" alt="image" src="https://github.com/wazuh/wazuh-kibana-app/assets/6089438/e9572921-cf1b-4151-ba42-fa8e321b67d3"> ### ossec.conf with parameters specified <img width="533" alt="image" src="https://github.com/wazuh/wazuh-kibana-app/assets/6089438/eb0d4a5a-8495-4056-bc88-a101b6eab447"> ### Test 1. Go to Agents section 2. Click Deploy new agent button 3. Select macOS operting system and complete the form 4. Check the installation and start commands ### Check List - [x] All tests pass - [x] `yarn test:jest` - [x] New functionality includes testing. - [x] New functionality has been documented. - [x] Update [CHANGELOG.md](./../CHANGELOG.md) - [x] Commits are signed per the DCO using --signoff
Fix merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Fix the installation command line in the register new agent page.
Steps:
Deploy new agent
buttonCurrent solution
Expected
Related research/tests:
launchctl
as deployment variables tool wazuh#17195 (comment)The text was updated successfully, but these errors were encountered: