Skip to content
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

Release 4.9.0 - Release Candidate Alpha 3 - Python unit tests #24895

Closed
2 tasks done
RamosFe opened this issue Jul 23, 2024 · 4 comments
Closed
2 tasks done

Release 4.9.0 - Release Candidate Alpha 3 - Python unit tests #24895

RamosFe opened this issue Jul 23, 2024 · 4 comments

Comments

@RamosFe
Copy link
Member

RamosFe commented Jul 23, 2024

The following issue aims to run all python unit tests for the current release candidate, report the results, and open new issues for any encountered errors.

Python unit tests information

Main release candidate issue #24714
Version 4.9.0
Release candidate # Alpha 3
Tag v4.9.0-alpha3
Previous python unit tests issue #24651

Test report procedure

All individual test checks must be marked as:

Pass The test ran successfully.
Xfail The test was expected to fail and it failed. It must be properly justified and reported in an issue.
Skip The test was not run. It must be properly justified and reported in an issue.
Fail The test failed. A new issue must be opened to evaluate and address the problem.

All test results must have one the following statuses:

🟢 All checks passed.
🔴 There is at least one failed check.
🟡 There is at least one expected fail or skipped test and no failures.

Any failing test must be properly addressed with a new issue, detailing the error and the possible cause. It must be included in the Fixes section of the current release candidate main issue.

Any expected fail or skipped test must have an issue justifying the reason. All auditors must validate the justification for an expected fail or skipped test.

An extended report of the test results must be attached as a zip or txt. This report can be used by the auditors to dig deeper into any possible failures and details.

As for the coverage results, they must be added split by modules. Test files must not be included in the coverage report.

All test coverage results must have one of the following statuses:

🟩 >= 75%
🟨 >= 50%
🟧 >= 25%
🟥 < 25%

Conclusions

Status Test Failure type Notes
🟢 API unit tests -
🟢 Framework unit tests -
🟢 Integrations unit tests -
🟡 Wodles unit tests Import error #24641, #24061

All tests have passed and the fails have been reported or justified. I therefore conclude that this issue is finished and OK for this release candidate.

Coverage Status
Overall python unit tests coverage 93% 🟢

Auditors validation

The definition of done for this one is the validation of the conclusions and the test results from all auditors.

All checks from below must be accepted in order to close this issue.

@RamosFe
Copy link
Member Author

RamosFe commented Jul 23, 2024

Test Report

Report: artifacts.zip

Test Results

API 🟢


Test name Pass XPass Skip XFail Fail Issues Ref. Status
controllers/test/test_active_response_controller.py 1 0 0 0 0 🟢
controllers/test/test_agent_controller.py 43 0 0 0 0 🟢
controllers/test/test_cdb_list_controller.py 6 0 0 0 0 🟢
controllers/test/test_ciscat_controller.py 1 0 0 0 0 🟢
controllers/test/test_cluster_controller.py 24 0 0 0 0 🟢
controllers/test/test_controller_util.py 2 0 0 0 0 🟢
controllers/test/test_decoder_controller.py 7 0 0 0 0 🟢
controllers/test/test_default_controller.py 1 0 0 0 0 🟢
controllers/test/test_event_controller.py 1 0 0 0 0 🟢
controllers/test/test_experimental_controller.py 15 0 0 0 0 🟢
controllers/test/test_manager_controller.py 21 0 0 0 0 🟢
controllers/test/test_mitre_controller.py 7 0 0 0 0 🟢
controllers/test/test_overview_controller.py 1 0 0 0 0 🟢
controllers/test/test_rootcheck_controller.py 4 0 0 0 0 🟢
controllers/test/test_rule_controller.py 8 0 0 0 0 🟢
controllers/test/test_sca_controller.py 2 0 0 0 0 🟢
controllers/test/test_security_controller.py 51 0 0 0 0 🟢
controllers/test/test_syscheck_controller.py 4 0 0 0 0 🟢
controllers/test/test_syscollector_controller.py 9 0 0 0 0 🟢
controllers/test/test_task_controller.py 1 0 0 0 0 🟢
models/test/test_model.py 30 0 0 0 0 🟢
test/test_alogging.py 15 0 0 0 0 🟢
test/test_authentication.py 11 0 0 0 0 🟢
test/test_configuration.py 48 0 0 0 0 🟢
test/test_encoder.py 3 0 0 0 0 🟢
test/test_error_handler.py 28 0 0 0 0 🟢
test/test_middlewares.py 34 0 0 0 0 🟢
test/test_signals.py 9 0 0 0 0 🟢
test/test_uri_parser.py 10 0 0 0 0 🟢
test/test_util.py 41 0 0 0 0 🟢
test/test_validator.py 176 0 0 0 0 🟢

Framework 🟢


Test name Pass XPass Skip XFail Fail Issues Ref. Status
scripts/tests/test_agent_groups.py 14 0 0 0 0 🟢
scripts/tests/test_agent_upgrade.py 16 0 0 0 0 🟢
scripts/tests/test_cluster_control.py 6 0 0 0 0 🟢
scripts/tests/test_rbac_control.py 9 0 0 0 0 🟢
scripts/tests/test_wazuh_clusterd.py 8 0 0 0 0 🟢
scripts/tests/test_wazuh_logtest.py 22 0 0 0 0 🟢
wazuh/core/cluster/dapi/tests/test_dapi.py 32 0 0 0 0 🟢
wazuh/core/cluster/hap_helper/tests/test_hap_helper.py 55 0 0 0 0 🟢
wazuh/core/cluster/hap_helper/tests/test_proxy.py 104 0 0 0 0 🟢
wazuh/core/cluster/hap_helper/tests/test_wazuh.py 10 0 0 0 0 🟢
wazuh/core/cluster/tests/test_client.py 16 0 0 0 0 🟢
wazuh/core/cluster/tests/test_cluster.py 37 0 0 0 0 🟢
wazuh/core/cluster/tests/test_common.py 87 0 0 0 0 🟢
wazuh/core/cluster/tests/test_control.py 6 0 0 0 0 🟢
wazuh/core/cluster/tests/test_local_client.py 14 0 0 0 0 🟢
wazuh/core/cluster/tests/test_local_server.py 24 0 0 0 0 🟢
wazuh/core/cluster/tests/test_master.py 48 0 0 0 0 🟢
wazuh/core/cluster/tests/test_server.py 29 0 0 0 0 🟢
wazuh/core/cluster/tests/test_utils.py 29 0 0 0 0 🟢
wazuh/core/cluster/tests/test_worker.py 34 0 0 0 0 🟢
wazuh/core/tests/test_active_response.py 20 0 0 0 0 🟢
wazuh/core/tests/test_agent.py 149 0 0 0 0 🟢
wazuh/core/tests/test_cdb_list.py 38 0 0 0 0 🟢
wazuh/core/tests/test_common.py 9 0 0 0 0 🟢
wazuh/core/tests/test_configuration.py 91 0 0 0 0 🟢
wazuh/core/tests/test_decoder.py 16 0 0 0 0 🟢
wazuh/core/tests/test_exception.py 10 0 0 0 0 🟢
wazuh/core/tests/test_input_validator.py 3 0 0 0 0 🟢
wazuh/core/tests/test_logtest.py 3 0 0 0 0 🟢
wazuh/core/tests/test_manager.py 31 0 0 0 0 🟢
wazuh/core/tests/test_mitre.py 13 0 0 0 0 🟢
wazuh/core/tests/test_pyDaemonModule.py 5 0 0 0 0 🟢
wazuh/core/tests/test_results.py 40 0 0 0 0 🟢
wazuh/core/tests/test_rootcheck.py 13 0 0 0 0 🟢
wazuh/core/tests/test_rule.py 23 0 0 0 0 🟢
wazuh/core/tests/test_sca.py 29 0 0 0 0 🟢
wazuh/core/tests/test_security.py 13 0 0 0 0 🟢
wazuh/core/tests/test_stats.py 40 0 0 0 0 🟢
wazuh/core/tests/test_syscheck.py 7 0 0 0 0 🟢
wazuh/core/tests/test_syscollector.py 3 0 0 0 0 🟢
wazuh/core/tests/test_task.py 8 0 0 0 0 🟢
wazuh/core/tests/test_utils.py 294 0 0 0 0 🟢
wazuh/core/tests/test_wazuh_queue.py 23 0 0 0 0 🟢
wazuh/core/tests/test_wazuh_socket.py 38 0 0 0 0 🟢
wazuh/core/tests/test_wdb.py 31 0 0 0 0 🟢
wazuh/core/tests/test_wlogging.py 12 0 0 0 0 🟢
wazuh/rbac/tests/test_auth_context.py 2 0 0 0 0 🟢
wazuh/rbac/tests/test_decorators.py 109 0 0 0 0 🟢
wazuh/rbac/tests/test_default_configuration.py 55 0 0 0 0 🟢
wazuh/rbac/tests/test_orm.py 62 0 0 0 0 🟢
wazuh/rbac/tests/test_preprocessor.py 11 0 0 0 0 🟢
wazuh/tests/test_active_response.py 12 0 0 0 0 🟢
wazuh/tests/test_agent.py 129 0 0 0 0 🟢
wazuh/tests/test_cdb_list.py 53 0 0 0 0 🟢
wazuh/tests/test_ciscat.py 33 0 0 0 0 🟢
wazuh/tests/test_cluster.py 10 0 0 0 0 🟢
wazuh/tests/test_decoder.py 58 0 0 0 0 🟢
wazuh/tests/test_event.py 4 0 0 0 0 🟢
wazuh/tests/test_logtest.py 6 0 0 0 0 🟢
wazuh/tests/test_manager.py 36 0 0 0 0 🟢
wazuh/tests/test_mitre.py 7 0 0 0 0 🟢
wazuh/tests/test_rootcheck.py 50 0 0 0 0 🟢
wazuh/tests/test_rule.py 74 0 0 0 0 🟢
wazuh/tests/test_sca.py 11 0 0 0 0 🟢
wazuh/tests/test_security.py 71 0 0 0 0 🟢
wazuh/tests/test_stats.py 15 0 0 0 0 🟢
wazuh/tests/test_syscheck.py 25 0 0 0 0 🟢
wazuh/tests/test_syscollector.py 12 0 0 0 0 🟢
wazuh/tests/test_task.py 28 0 0 0 0 🟢

Integrations 🟢


Test name Pass XPass Skip XFail Fail Issues Ref. Status
tests/test_maltiverse.py 62 0 0 0 0 🟢
tests/test_pagerduty.py 10 0 0 0 0 🟢
tests/test_shuffle.py 18 0 0 0 0 🟢
tests/test_slack.py 10 0 0 0 0 🟢
tests/test_virustotal.py 22 0 0 0 0 🟢

Wodles 🟡

The wodles unit tests failed because of #24641 and #24061.

Logs
============================= test session starts ==============================
platform linux -- Python 3.10.13, pytest-7.3.1, pluggy-1.5.0 -- /usr/local/bin/python
cachedir: .pytest_cache
metadata: {'Python': '3.10.13', 'Platform': 'Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.36', 'Packages': {'pytest': '7.3.1', 'pluggy': '1.5.0'}, 'Plugins': {'metadata': '3.1.1', 'anyio': '4.1.0', 'html': '2.1.1', 'tavern': '1.23.5', 'trio': '0.8.0', 'asyncio': '0.18.1'}, 'AWS_REGION': 'us-east-1'}
rootdir: /tmp/build/wazuh/wodles
configfile: pytest.ini
plugins: metadata-3.1.1, anyio-4.1.0, html-2.1.1, tavern-1.23.5, trio-0.8.0, asyncio-0.18.1
asyncio: mode=auto
collecting ... collected 862 items / 1 error

==================================== ERRORS ====================================
_________ ERROR collecting azure/tests/azure_services/test_storage.py __________
ImportError while importing test module '/tmp/build/wazuh/wodles/azure/tests/azure_services/test_storage.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
azure/tests/azure_services/test_storage.py:24: in <module>
    from azure_services.storage import get_blobs, start_storage
azure/azure_services/storage.py:16: in <module>
    from azure.storage.blob import BlockBlobService
E   ImportError: cannot import name 'BlockBlobService' from 'azure.storage.blob' (/home/test_user/.local/lib/python3.10/site-packages/azure/storage/blob/__init__.py)
- generated html file: file:///efs/test_unit/Test_unit/B58328/B58328_pytest_wodles.html -
=========================== short test summary info ============================
ERROR azure/tests/azure_services/test_storage.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 2.29s ===============================

I had to revert the azure-storage-blob version change from the commit 331e315 for the Wodles tests to pass.

Test name Pass XPass Skip XFail Fail Issues Ref. Status
aws/tests/test_aws_bucket.py 209 0 0 0 0 🟢
aws/tests/test_aws_s3.py 20 0 0 0 0 🟢
aws/tests/test_aws_service.py 4 0 0 0 0 🟢
aws/tests/test_cloudtrail.py 2 0 0 0 0 🟢
aws/tests/test_cloudwatchlogs.py 53 0 0 0 0 🟢
aws/tests/test_config.py 78 0 0 0 0 🟢
aws/tests/test_guardduty.py 17 0 0 0 0 🟢
aws/tests/test_inspector.py 6 0 0 0 0 🟢
aws/tests/test_load_balancers.py 12 0 0 0 0 🟢
aws/tests/test_s3_log_handler.py 4 0 0 0 0 🟢
aws/tests/test_server_access.py 33 0 0 0 0 🟢
aws/tests/test_sqs_queue.py 7 0 0 0 0 🟢
aws/tests/test_tools.py 31 0 0 0 0 🟢
aws/tests/test_umbrella.py 6 0 0 0 0 🟢
aws/tests/test_vpcflow.py 27 0 0 0 0 🟢
aws/tests/test_waf.py 7 0 0 0 0 🟢
aws/tests/test_wazuh_integration.py 102 0 0 0 0 🟢
azure/tests/test_azure_utils.py 51 0 0 0 0 🟢
azure/tests/azure_services/test_analytics.py 18 0 0 0 0 🟢
azure/tests/azure_services/test_graph.py 12 0 0 0 0 🟢
azure/tests/azure_services/test_storage.py 27 0 0 0 0 🟢
azure/tests/db/test_db_utils.py 9 0 0 0 0 🟢
azure/tests/db/test_orm.py 31 0 0 0 0 🟢
listener/tests/test_docker_listener.py 19 0 0 0 0 🟢
gcloud/tests/test_bucket.py 33 0 0 0 0 🟢
gcloud/tests/test_gcloud.py 9 0 0 0 0 🟢
gcloud/tests/test_integration.py 8 0 0 0 0 🟢
gcloud/tests/test_subscriber.py 14 0 0 0 0 🟢
gcloud/tests/test_tools.py 8 0 0 0 0 🟢

@RamosFe
Copy link
Member Author

RamosFe commented Jul 23, 2024

Coverage

I had to revert the azure-storage-blob version change from the commit 331e315 for the Wodles tests to pass.

FRAMEWORK

Name Stmts Miss Cover Status
framework/init.py 0 0 100% 🟩
framework/scripts/init.py 0 0 100% 🟩
framework/scripts/agent_groups.py 172 16 91% 🟩
framework/scripts/agent_upgrade.py 115 9 92% 🟩
framework/scripts/cluster_control.py 133 1 99% 🟩
framework/scripts/rbac_control.py 64 10 84% 🟩
framework/scripts/wazuh_clusterd.py 127 14 89% 🟩
framework/setup.py 3 3 0% 🟥
framework/wazuh/init.py 50 13 74% 🟨
framework/wazuh/main.py 2 2 0% 🟥
framework/wazuh/active_response.py 25 0 100% 🟩
framework/wazuh/agent.py 513 7 99% 🟩
framework/wazuh/cdb_list.py 77 2 97% 🟩
framework/wazuh/ciscat.py 27 0 100% 🟩
framework/wazuh/cluster.py 64 0 100% 🟩
framework/wazuh/core/InputValidator.py 19 0 100% 🟩
framework/wazuh/core/init.py 0 0 100% 🟩
framework/wazuh/core/active_response.py 70 3 96% 🟩
framework/wazuh/core/agent.py 505 30 94% 🟩
framework/wazuh/core/cdb_list.py 106 2 98% 🟩
framework/wazuh/core/cluster/init.py 5 0 100% 🟩
framework/wazuh/core/cluster/client.py 165 10 94% 🟩
framework/wazuh/core/cluster/cluster.py 297 3 99% 🟩
framework/wazuh/core/cluster/common.py 693 15 98% 🟩
framework/wazuh/core/cluster/control.py 63 0 100% 🟩
framework/wazuh/core/cluster/dapi/init.py 0 0 100% 🟩
framework/wazuh/core/cluster/dapi/dapi.py 387 30 92% 🟩
framework/wazuh/core/cluster/hap_helper/init.py 0 0 100% 🟩
framework/wazuh/core/cluster/hap_helper/hap_helper.py 251 5 98% 🟩
framework/wazuh/core/cluster/hap_helper/proxy.py 241 2 99% 🟩
framework/wazuh/core/cluster/hap_helper/tests/init.py 0 0 100% 🟩
framework/wazuh/core/cluster/hap_helper/wazuh.py 58 2 97% 🟩
framework/wazuh/core/cluster/local_client.py 115 6 95% 🟩
framework/wazuh/core/cluster/local_server.py 151 1 99% 🟩
framework/wazuh/core/cluster/master.py 420 5 99% 🟩
framework/wazuh/core/cluster/server.py 203 4 98% 🟩
framework/wazuh/core/cluster/tests/init.py 0 0 100% 🟩
framework/wazuh/core/cluster/utils.py 220 3 99% 🟩
framework/wazuh/core/cluster/worker.py 334 12 96% 🟩
framework/wazuh/core/common.py 127 2 98% 🟩
framework/wazuh/core/configuration.py 513 11 98% 🟩
framework/wazuh/core/decoder.py 52 0 100% 🟩
framework/wazuh/core/exception.py 119 3 97% 🟩
framework/wazuh/core/manager.py 152 10 93% 🟩
framework/wazuh/core/mitre.py 257 13 95% 🟩
framework/wazuh/core/pyDaemonModule.py 64 17 73% 🟨
framework/wazuh/core/results.py 335 24 93% 🟩
framework/wazuh/core/rootcheck.py 61 0 100% 🟩
framework/wazuh/core/rule.py 133 0 100% 🟩
framework/wazuh/core/sca.py 78 2 97% 🟩
framework/wazuh/core/security.py 70 18 74% 🟨
framework/wazuh/core/stats.py 182 6 97% 🟩
framework/wazuh/core/syscheck.py 28 0 100% 🟩
framework/wazuh/core/syscollector.py 38 0 100% 🟩
framework/wazuh/core/task.py 37 0 100% 🟩
framework/wazuh/core/tests/init.py 0 0 100% 🟩
framework/wazuh/core/utils.py 1047 56 95% 🟩
framework/wazuh/core/wazuh_queue.py 82 2 98% 🟩
framework/wazuh/core/wazuh_socket.py 167 46 72% 🟨
framework/wazuh/core/wdb.py 210 9 96% 🟩
framework/wazuh/core/wlogging.py 98 3 97% 🟩
framework/wazuh/decoder.py 160 6 96% 🟩
framework/wazuh/event.py 18 0 100% 🟩
framework/wazuh/manager.py 142 17 88% 🟩
framework/wazuh/mitre.py 53 0 100% 🟩
framework/wazuh/rbac/init.py 0 0 100% 🟩
framework/wazuh/rbac/auth_context.py 197 37 81% 🟩
framework/wazuh/rbac/decorators.py 232 63 73% 🟨
framework/wazuh/rbac/orm.py 1295 319 75% 🟩
framework/wazuh/rbac/preprocessor.py 73 22 70% 🟨
framework/wazuh/rbac/tests/init.py 0 0 100% 🟩
framework/wazuh/rbac/tests/utils.py 36 0 100% 🟩
framework/wazuh/rbac/utils.py 23 10 57% 🟨
framework/wazuh/rootcheck.py 64 3 95% 🟩
framework/wazuh/rule.py 176 6 97% 🟩
framework/wazuh/sca.py 63 3 95% 🟩
framework/wazuh/security.py 552 203 63% 🟨
framework/wazuh/stats.py 119 7 94% 🟩
framework/wazuh/syscheck.py 94 4 96% 🟩
framework/wazuh/syscollector.py 35 8 77% 🟩
framework/wazuh/task.py 19 0 100% 🟩
framework/wazuh/tests/util.py 42 2 95% 🟩
TOTAL 12918 1142 91% 🟩

API

Name Stmts Miss Cover Status
api/init.py 0 0 100% 🟩
api/alogging.py 71 22 69% 🟨
api/api_exception.py 27 0 100% 🟩
api/authentication.py 111 7 94% 🟩
api/configuration.py 94 4 96% 🟩
api/constants.py 14 0 100% 🟩
api/controllers/init.py 0 0 100% 🟩
api/controllers/active_response_controller.py 16 0 100% 🟩
api/controllers/agent_controller.py 248 6 98% 🟩
api/controllers/cdb_list_controller.py 40 0 100% 🟩
api/controllers/ciscat_controller.py 14 0 100% 🟩
api/controllers/cluster_controller.py 162 0 100% 🟩
api/controllers/decoder_controller.py 46 0 100% 🟩
api/controllers/default_controller.py 16 0 100% 🟩
api/controllers/event_controller.py 16 0 100% 🟩
api/controllers/experimental_controller.py 110 0 100% 🟩
api/controllers/manager_controller.py 121 0 100% 🟩
api/controllers/mitre_controller.py 42 0 100% 🟩
api/controllers/overview_controller.py 13 0 100% 🟩
api/controllers/rootcheck_controller.py 28 0 100% 🟩
api/controllers/rule_controller.py 51 0 100% 🟩
api/controllers/sca_controller.py 21 0 100% 🟩
api/controllers/security_controller.py 247 9 96% 🟩
api/controllers/syscheck_controller.py 32 0 100% 🟩
api/controllers/syscollector_controller.py 66 0 100% 🟩
api/controllers/task_controller.py 14 0 100% 🟩
api/controllers/test/utils.py 8 0 100% 🟩
api/controllers/util.py 7 0 100% 🟩
api/encoder.py 24 1 96% 🟩
api/error_handler.py 51 3 94% 🟩
api/middlewares.py 134 14 90% 🟩
api/models/init.py 3 0 100% 🟩
api/models/active_response_model.py 29 0 100% 🟩
api/models/agent_added_model.py 72 0 100% 🟩
api/models/agent_group_added_model.py 15 0 100% 🟩
api/models/agent_inserted_model.py 50 0 100% 🟩
api/models/base_model_.py 105 0 100% 🟩
api/models/basic_info_model.py 59 0 100% 🟩
api/models/configuration_model.py 20 0 100% 🟩
api/models/event_ingest_model.py 17 0 100% 🟩
api/models/security_model.py 72 0 100% 🟩
api/models/security_token_response_model.py 19 0 100% 🟩
api/signals.py 57 0 100% 🟩
api/uri_parser.py 6 0 100% 🟩
api/util.py 140 7 95% 🟩
api/validator.py 163 14 91% 🟩
TOTAL 2671 87 97% 🟩

WODLES

Name Stmts Miss Cover Status
wodles/init.py 0 0 100% 🟩
wodles/aws/init.py 0 0 100% 🟩
wodles/aws/aws_s3.py 98 16 84% 🟩
wodles/aws/aws_tools.py 148 17 89% 🟩
wodles/aws/buckets_s3/init.py 10 0 100% 🟩
wodles/aws/buckets_s3/aws_bucket.py 428 16 96% 🟩
wodles/aws/buckets_s3/cloudtrail.py 26 3 88% 🟩
wodles/aws/buckets_s3/config.py 93 7 92% 🟩
wodles/aws/buckets_s3/guardduty.py 64 1 98% 🟩
wodles/aws/buckets_s3/load_balancers.py 69 0 100% 🟩
wodles/aws/buckets_s3/server_access.py 137 12 91% 🟩
wodles/aws/buckets_s3/umbrella.py 26 0 100% 🟩
wodles/aws/buckets_s3/vpcflow.py 107 15 86% 🟩
wodles/aws/buckets_s3/waf.py 41 0 100% 🟩
wodles/aws/services/init.py 4 0 100% 🟩
wodles/aws/services/aws_service.py 45 0 100% 🟩
wodles/aws/services/cloudwatchlogs.py 191 7 96% 🟩
wodles/aws/services/inspector.py 56 6 89% 🟩
wodles/aws/subscribers/init.py 4 0 100% 🟩
wodles/aws/subscribers/s3_log_handler.py 151 12 92% 🟩
wodles/aws/subscribers/sqs_message_processor.py 35 1 97% 🟩
wodles/aws/subscribers/sqs_queue.py 60 7 88% 🟩
wodles/aws/tests/init.py 0 0 100% 🟩
wodles/aws/tests/aws_utils.py 115 0 100% 🟩
wodles/aws/wazuh_integration.py 248 22 91% 🟩
wodles/azure/azure_services/init.py 0 0 100% 🟩
wodles/azure/azure_services/analytics.py 101 0 100% 🟩
wodles/azure/azure_services/graph.py 95 0 100% 🟩
wodles/azure/azure_services/storage.py 127 2 98% 🟩
wodles/azure/azure_utils.py 137 1 99% 🟩
wodles/azure/db/init.py 0 0 100% 🟩
wodles/azure/db/orm.py 143 0 100% 🟩
wodles/azure/db/utils.py 42 0 100% 🟩
wodles/azure/tests/init.py 0 0 100% 🟩
wodles/azure/tests/azure_services/init.py 0 0 100% 🟩
wodles/azure/tests/db/init.py 0 0 100% 🟩
wodles/docker-listener/DockerListener.py 93 6 94% 🟩
wodles/gcloud/buckets/access_logs.py 16 0 100% 🟩
wodles/gcloud/buckets/bucket.py 128 2 98% 🟩
wodles/gcloud/exceptions.py 23 0 100% 🟩
wodles/gcloud/gcloud.py 72 1 99% 🟩
wodles/gcloud/integration.py 38 2 95% 🟩
wodles/gcloud/pubsub/subscriber.py 60 2 97% 🟩
wodles/gcloud/tools.py 41 0 100% 🟩
wodles/utils.py 58 27 53% 🟨
TOTAL 3330 185 94% 🟩

INTEGRATIONS

Name Stmts Miss Cover Status
integrations/maltiverse.py 197 15 92% 🟩
integrations/pagerduty.py 102 21 79% 🟩
integrations/shuffle.py 103 7 93% 🟩
integrations/slack.py 110 30 73% 🟨
integrations/tests/init.py 0 0 100% 🟩
integrations/virustotal.py 163 43 74% 🟨
TOTAL 675 116 83% 🟩

OVERALL COVERAGE PERCENTAGE: 93%

@fdalmaup
Copy link
Member

As correctly mentioned, the errors related to the Azure module have been fixed in #24061 and will be part of the beta 1 stage.

LGTM

@wazuhci wazuhci moved this from In progress to Pending final review in Release 4.9.0 Jul 23, 2024
@rauldpm
Copy link
Member

rauldpm commented Jul 23, 2024

LGTM

@rauldpm rauldpm closed this as completed Jul 23, 2024
@wazuhci wazuhci moved this from Pending final review to Done in Release 4.9.0 Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants