Skip to content

Add wazuh api - #500

Open
jose-caballero wants to merge 5 commits into
mainfrom
add_wazuh_api
Open

Add wazuh api#500
jose-caballero wants to merge 5 commits into
mainfrom
add_wazuh_api

Conversation

@jose-caballero

Copy link
Copy Markdown
Contributor

Description:

Special Notes:


Submitter:

Have you (where applicable):

  • Added unit tests?
  • Checked the latest commit runs on Dev?
  • Updated the example config file(s) and README?

Reviewer

Does this PR:

  • Place non-StackStorm code into the lib directory?
  • Have unit tests for the action/sensor and lib layers?
  • Have clear and obvious action parameter names and descriptions?

Write the minimal code to be able to create an API for Wazuh:
* dataclass to handle credentials
* logger setup
Write the first functionality for the API: query Wazuh for the list of
OpenStack Servers running a given version of the Operating System.
@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.80488% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 98.85%. Comparing base (b340826) to head (b98bdbb).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
lib/apis/wazuh_api/structs/wazuh_account.py 75.75% 8 Missing ⚠️
lib/apis/wazuh_api/wazuh_query_agents.py 95.23% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #500      +/-   ##
==========================================
- Coverage   99.18%   98.85%   -0.34%     
==========================================
  Files         112      115       +3     
  Lines        2715     2797      +82     
  Branches      336      340       +4     
==========================================
+ Hits         2693     2765      +72     
- Misses         19       29      +10     
  Partials        3        3              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@anish-mudaraddi anish-mudaraddi mentioned this pull request Aug 12, 2026
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants