Commit Graph

7 Commits

Author SHA1 Message Date
Gui-Gos
9045574071 fix: Prevent indexer-init logs from appearing twice in health check
Some checks failed
Test / test (push) Has been cancelled
Add special handling in log display loop to exclude indexer-init
when matching indexer container. Without this fix, grep matches
both wazuh-indexer and wazuh-indexer-init when service=indexer,
causing indexer-init logs to display twice.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-04 18:56:03 +01:00
Gui-Gos
cfb4f7e6d0 fix: Resolve shellcheck SC2155 warnings in health check script
Some checks failed
Test / test (push) Has been cancelled
Separate variable declaration and assignment to avoid masking return values.
This follows shellcheck best practices for error handling.

Changes:
- Separate declaration/assignment for container_name (line 59-60)
- Separate declaration/assignment for status (line 67-69)
- Separate declaration/assignment for health (line 68-70)
- Separate declaration/assignment for exit_code (line 86-87)

All 4 SC2155 warnings are now resolved.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-04 13:19:45 +01:00
Gui-Gos
65b9ce6651 Remove confusing bug mentions from success messages
Some checks failed
Test / test (push) Has been cancelled
- Changed 'Bug #3 fixed' to 'persistent via symlink' when config is OK
- Changed 'pthread_create fix present' to 'Configured (prevents pthread_create errors)'
- Only mention bugs/fixes in error/warning states, not in success states
- Makes the output clearer and less confusing for users

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-04 12:54:38 +01:00
Gui-Gos
1eefc857e1 Improve health check output colors and accuracy
Some checks failed
Test / test (push) Has been cancelled
- Change SSL verification to GREEN when configured via env vars (it's correct)
- Show '0 FAILED' in GREEN when there are no failures (success state)
- Fix GB calculation rounding (use %.0f instead of int to round properly)
- Add ≈ symbol before GB value for clarity (8,1G ≈ 8 GB instead of incorrect 6 GB)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-04 12:51:57 +01:00
Gui-Gos
e7752c1b12 Standardize disk usage to 7 GB across all documentation
Some checks failed
Test / test (push) Has been cancelled
Renovate / renovate (push) Has been cancelled
Changed all disk size references from ~7-8GB, 7,4G, and ~5GB to consistent 7 GB format for professional appearance.

Updated files:
- description.md (2 occurrences)
- wazuh-health-check.sh (4 occurrences)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-02 17:42:52 +01:00
Gui-Gos
72387c5538 Fix documentation and health check inconsistencies
Some checks failed
Test / test (push) Has been cancelled
- Update health check SSL verification message to be informative instead of warning
- Health check now accepts both 'full' and 'certificate' SSL modes
- Fix description.md to match actual implementation (no dashboard watchdog)
- Correct init-manager.sh and init-dashboard.sh documentation examples
- Replace obsolete dashboard migration section with actual manager persistence logic

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-02 16:01:20 +01:00
Gui-Gos
46122d5a7f Initial commit - Runtipi Appstore with Wazuh 4.14.1
Some checks failed
Test / test (push) Has been cancelled
- Added Wazuh 4.14.1 SIEM/XDR application for Runtipi
- Simplified init scripts following official Wazuh Docker patterns
- Complete documentation in French (description.md)
- Health check diagnostic script (wazuh-health-check.sh)
- SSL/TLS certificates auto-generation
- Whoami test application included

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-02 12:26:29 +01:00