Wazuh - The Open Source Security Platform. Unified XDR and SIEM protection for endpoints and cloud workloads.
This report presents the forensic synthetic code analysis of wazuh/wazuh, a C++ project with 16,708 GitHub stars. SynthScan v2.0 examined 1,666,719 lines of code across 5617 source files, recording 5257 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 5.2 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 5257 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tools/manager_benchmark/cleanup_agents.sh | 3 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tools/manager_benchmark/cleanup_agents.sh | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/run_matrix.sh | 3 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/run_matrix.sh | 25 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/result_summary.py | 68 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/result_summary.py | 70 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/result_summary.py | 170 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/result_summary.py | 172 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/result_summary.py | 240 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/result_summary.py | 242 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/run_benchmark.sh | 3 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/run_benchmark.sh | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/scrape_metrics.sh | 3 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/scrape_metrics.sh | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/indexer_control.sh | 2 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/indexer_control.sh | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/prepare_manager.sh | 3 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/manager_benchmark/prepare_manager.sh | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/devContainer/reinstall-cmake.sh | 2 | #------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/devContainer/reinstall-cmake.sh | 5 | #------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | framework/wazuh/rbac/tests/test_decorators.py | 194 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | framework/wazuh/rbac/tests/test_decorators.py | 196 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | framework/wazuh/rbac/tests/test_decorators.py | 310 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | framework/wazuh/rbac/tests/test_decorators.py | 312 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ork/wazuh/core/cluster/tests/test_cluster_name_sync.py | 16 | # ============================= | COMMENT |
| MEDIUM | …ork/wazuh/core/cluster/tests/test_cluster_name_sync.py | 18 | # ============================= | COMMENT |
| MEDIUM | …ork/wazuh/core/cluster/tests/test_cluster_name_sync.py | 31 | # ============================= | COMMENT |
| MEDIUM | …ork/wazuh/core/cluster/tests/test_cluster_name_sync.py | 33 | # ============================= | COMMENT |
| MEDIUM⚡ | …ork/wazuh/core/cluster/tests/test_cluster_name_sync.py | 68 | # ============================================================ | COMMENT |
| MEDIUM⚡ | …ork/wazuh/core/cluster/tests/test_cluster_name_sync.py | 70 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 11 | # ============================= | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 13 | # ============================= | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 44 | # ============================= | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 46 | # ============================= | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 88 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 90 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 176 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 178 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 257 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 259 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 412 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 414 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 470 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 472 | # ============================================================ | COMMENT |
| MEDIUM⚡ | framework/wazuh/core/tests/test_engine_http.py | 195 | # ── VdHTTPClient ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | framework/wazuh/core/indexer/indexer.py | 29 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | framework/wazuh/core/indexer/indexer.py | 31 | # ============================================================================ | COMMENT |
| MEDIUM | framework/wazuh/core/indexer/indexer.py | 133 | # ============================================================================ | COMMENT |
| MEDIUM | framework/wazuh/core/indexer/indexer.py | 135 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 581 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 583 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 669 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 671 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 837 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 839 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 906 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 908 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1013 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1015 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1169 | # --------------------------------------------------------------------------- | COMMENT |
| 769 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/mitre/mitredb.py | 570 | def parse_json_ext_references(data_object): | CODE |
| LOW⚡ | framework/scripts/rbac_control.py | 24 | async def restore_default_passwords(script_args): | CODE |
| LOW | framework/scripts/tests/test_agent_upgrade.py | 33 | def test_get_script_arguments(mock_ArgumentParser): | CODE |
| LOW | framework/scripts/tests/test_agent_upgrade.py | 168 | async def test_main_internal_error_ko(capfd): | CODE |
| LOW | framework/scripts/tests/test_wazuh_manager_clusterd.py | 245 | def test_get_script_arguments(argument_parser_mock): | CODE |
| LOW | framework/scripts/tests/test_rbac_control.py | 41 | async def test_restore_default_passwords(forward_mock: AsyncMock, safe_load_mock, print_mock, user_input, db_setup): | CODE |
| LOW | framework/scripts/tests/test_rbac_control.py | 66 | async def test_restore_default_passwords_exceptions(safe_load_mock, getpass_mock, print_mock): | CODE |
| LOW | framework/scripts/tests/test_rbac_control.py | 104 | async def test_reset_rbac_database_exceptions(input_mock, print_mock): | CODE |
| LOW | framework/scripts/tests/test_rbac_control.py | 114 | def test_get_script_arguments(exit_mock): | CODE |
| LOW | framework/scripts/tests/test_agent_groups.py | 77 | async def test_show_agents_with_group(print_mock): | CODE |
| LOW | framework/scripts/tests/test_agent_groups.py | 334 | def test_get_script_arguments(argument_parser_mock, invalid_option_mock): | CODE |
| LOW | framework/scripts/tests/test_cluster_control.py | 286 | def add_mutually_exclusive_group(self): | CODE |
| LOW | framework/wazuh/security.py | 1192 | def revoke_current_user_tokens() -> WazuhResult: | CODE |
| LOW | framework/wazuh/agent.py | 130 | def get_agents_summary_status(agent_list: list[str] = None) -> WazuhResult: | CODE |
| LOW | framework/wazuh/agent.py | 1420 | def check_uninstall_permission() -> WazuhResult: | CODE |
| LOW | framework/wazuh/rbac/orm.py | 1816 | def get_all_policies_from_role(self, role_id: int) -> Union[list, bool]: | CODE |
| LOW | framework/wazuh/rbac/orm.py | 1842 | def get_all_roles_from_policy(self, policy_id: int) -> Union[list, bool]: | CODE |
| LOW | framework/wazuh/rbac/orm.py | 2456 | def _set_permissions_and_ownership(database: str): | CODE |
| LOW | framework/wazuh/rbac/decorators.py | 77 | def _combination_defined_rbac(needed_resources: list, user_resources: str) -> bool: | CODE |
| LOW | framework/wazuh/rbac/decorators.py | 279 | def _get_required_permissions(actions: list = None, resources: list = None, **kwargs: dict) -> tuple: | CODE |
| LOW | framework/wazuh/rbac/decorators.py | 573 | def _mask_all_sensitive_fields(text: str, mask_text: str = "***") -> str: | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_orm.py | 502 | def test_get_all_roles_from_user(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_orm.py | 512 | def test_get_all_policy_from_role(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_orm.py | 522 | def test_get_all_role_from_policy(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_orm.py | 532 | def test_remove_role_from_user(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_orm.py | 542 | def test_remove_policy_from_role(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_orm.py | 689 | def test_databasemanager_rollback(fresh_in_memory_db): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_orm.py | 696 | def test_databasemanager_set_database_version(fresh_in_memory_db): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_orm.py | 706 | def test_check_database_integrity(chmod_mock, chown_mock, remove_mock, safe_move_mock, fresh_in_memory_db): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 100 | def test_token_valid_after_revoke_same_second_ms(db_setup): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 133 | def test_delete_all_expired_rules(db_setup): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 262 | def test_delete_all_security_rules(db_setup): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 453 | def test_add_role_policy_level(db_setup): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 553 | def test_remove_role_from_policy(db_setup): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 564 | def test_databasemanager___init__(fresh_in_memory_db): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 572 | def test_databasemanager_connect(sessionmaker_mock, create_engine_mock, fresh_in_memory_db): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 587 | def test_databasemanager_close_sessions(sessionmaker_mock, create_engine_mock, fresh_in_memory_db): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 600 | def test_databasemanager_create_database(create_db_mock, fresh_in_memory_db): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 613 | def test_databasemanager_get_database_version(fresh_in_memory_db): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 619 | def test_databasemanager_insert_default_resources(fresh_in_memory_db): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 663 | def test_databasemanager_get_table(fresh_in_memory_db): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 752 | def test_check_database_integrity_exceptions(remove_mock, close_sessions_mock, exception, fresh_in_memory_db): | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 827 | def test_check_database_integrity_missing_default_policy(chmod_mock, chown_mock, remove_mock, safe_move_mock, fresh_in_m | CODE |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 870 | def test_check_database_integrity_modified_default_policy(chmod_mock, chown_mock, remove_mock, safe_move_mock, fresh_in_ | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_decorators.py | 198 | def test_has_update_permissions_no_perms(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_decorators.py | 204 | def test_has_update_permissions_with_manager_update_config(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_decorators.py | 210 | def test_has_update_permissions_with_cluster_update_config(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_decorators.py | 216 | def test_has_update_permissions_read_only_role(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_decorators.py | 222 | def test_has_update_permissions_empty_action_dict(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_decorators.py | 228 | def test_has_update_permissions_non_dict_action_value(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_decorators.py | 234 | def test_has_update_permissions_none_rbac(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_decorators.py | 240 | def test_has_update_permissions_deny_manager_update_config(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_decorators.py | 246 | def test_has_update_permissions_deny_cluster_update_config(db_setup): | CODE |
| LOW⚡ | framework/wazuh/rbac/tests/test_decorators.py | 252 | def test_has_update_permissions_mixed_deny_allow_allows(db_setup): | CODE |
| LOW | framework/wazuh/rbac/tests/test_decorators.py | 113 | def test_expose_resourcesless(db_setup, decorator_params, rbac, allowed, mode): | CODE |
| LOW | framework/wazuh/rbac/tests/test_decorators.py | 158 | def test_mask_sensitive_config_without_permissions(db_setup): | CODE |
| LOW | framework/wazuh/rbac/tests/test_decorators.py | 170 | def test_mask_sensitive_config_with_permissions(db_setup): | CODE |
| LOW | framework/wazuh/rbac/tests/test_decorators.py | 181 | def test_mask_sensitive_config_on_affected_items_result(db_setup): | CODE |
| LOW | framework/wazuh/rbac/tests/test_decorators.py | 264 | def test_has_update_permissions_all_deny(db_setup): | CODE |
| LOW | framework/wazuh/rbac/tests/test_decorators.py | 276 | def test_mask_sensitive_config_raw_xml_with_deny_rule(db_setup): | CODE |
| 1467 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/purge_wazuh.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/manager_benchmark/cleanup_agents.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/manager_benchmark/run_matrix.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/manager_benchmark/run_matrix.sh | 21 | # afterward. The matrix's own scenarios use non-overlapping first_id ranges, so one | COMMENT |
| LOW | tools/manager_benchmark/run_benchmark.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/manager_benchmark/run_benchmark.sh | 21 | # must pass it explicitly. There is no node knob: a session declares no cluster node. | COMMENT |
| LOW | tools/manager_benchmark/scrape_metrics.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/manager_benchmark/indexer_control.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/manager_benchmark/prepare_manager.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …manager_benchmark/tool_simulator/internal/wire/cmac.go | 1 | // Package wire speaks the bytes the manager expects: authd enrollment, the | COMMENT |
| LOW | …er_benchmark/tool_simulator/internal/runner/session.go | 21 | // | COMMENT |
| LOW | …nager_benchmark/tool_simulator/internal/runner/scan.go | 1 | package runner | COMMENT |
| LOW | …ager_benchmark/tool_simulator/internal/runner/agent.go | 21 | client *wire.Client | COMMENT |
| LOW | …ger_benchmark/tool_simulator/internal/scanvd/scanvd.go | 1 | // Package scanvd sends the on-demand Vulnerability Detection re-scan request an | COMMENT |
| LOW | …_benchmark/tool_simulator/internal/source/documents.go | 21 | COMMENT | |
| LOW | …er_benchmark/tool_simulator/internal/scenario/types.go | 221 | // operators "eq", "gte" and "lte". More than one operator forms a conjunction | COMMENT |
| LOW | …ager_benchmark/tool_simulator/internal/engine/batch.go | 1 | // Package engine frames log events into the H/E batch remoted forwards to the | COMMENT |
| LOW | tools/testing/enrollment-simulator/src/simulator.cpp | 1 | #include "simulator.h" | COMMENT |
| LOW | tools/testing/enrollment-simulator/src/simulator.h | 1 | #pragma once | COMMENT |
| LOW | ruleset/sca/amazon/cis_amazon_linux_2023.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/amazon/cis_amazon_linux_2023.yml | 3481 | - "Hide Artifacts" | COMMENT |
| LOW | ruleset/sca/amazon/cis_amazon_linux_2023.yml | 3501 | # 3.2 Network Parameters (Host Only). | COMMENT |
| LOW | ruleset/sca/amazon/cis_amazon_linux_2023.yml | 5961 | COMMENT | |
| LOW | ruleset/sca/amazon/cis_amazon_linux_2023.yml | 8681 | condition: all | COMMENT |
| LOW | ruleset/sca/amazon/cis_amazon_linux_1.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/amazon/cis_amazon_linux_2.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/amazon/cis_amazon_linux_2.yml | 7881 | # 6.2.13 Ensure users' home directories permissions are 750 or more restrictive. (Automated) - Not Implemented | COMMENT |
| LOW | ruleset/sca/debian/cis_debian8.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/debian/cis_debian9.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/debian/cis_debian13.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/debian/cis_debian13.yml | 9881 | COMMENT | |
| LOW | ruleset/sca/debian/cis_debian12.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/debian/cis_debian12.yml | 9881 | # 7.2.4 Ensure shadow group is empty. (Automated) - Not Implemented | COMMENT |
| LOW | ruleset/sca/debian/cis_debian10.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/debian/cis_debian10.yml | 3921 | - "Masquerading" | COMMENT |
| LOW | ruleset/sca/debian/cis_debian11.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/debian/cis_debian11.yml | 2321 | COMMENT | |
| LOW | ruleset/sca/debian/cis_debian11.yml | 3541 | ############################################################ | COMMENT |
| LOW | ruleset/sca/debian/cis_debian11.yml | 3561 | # 3.3.6 Ensure bogus ICMP responses are ignored (Automated) - Not Implemented | COMMENT |
| LOW | ruleset/sca/debian/cis_debian11.yml | 9621 | COMMENT | |
| LOW | ruleset/sca/debian/cis_debian7.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/rocky/cis_rocky_linux_8.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/rocky/cis_rocky_linux_8.yml | 3901 | COMMENT | |
| LOW | ruleset/sca/rocky/cis_rocky_linux_8.yml | 5421 | - "Clear Windows Event Logs" | COMMENT |
| LOW | ruleset/sca/rocky/cis_rocky_linux_9.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/rocky/cis_rocky_linux_9.yml | 3481 | - "not c:lsmod -> r:tipc" | COMMENT |
| LOW | ruleset/sca/rocky/cis_rocky_linux_9.yml | 4181 | - c:auditctl -l -> r:-w /etc/sudoers\.d -p wa -k scope|-w /etc/sudoers\.d -p wa key=scope | COMMENT |
| LOW | ruleset/sca/rocky/cis_rocky_linux_9.yml | 5241 | rules: | COMMENT |
| LOW | ruleset/sca/rocky/cis_rocky_linux_10.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/rocky/cis_rocky_linux_10.yml | 3481 | - "not c:lsmod -> r:tipc" | COMMENT |
| LOW | ruleset/sca/rocky/cis_rocky_linux_10.yml | 4181 | - c:auditctl -l -> r:-w /etc/sudoers\.d -p wa -k scope|-w /etc/sudoers\.d -p wa key=scope | COMMENT |
| LOW | ruleset/sca/rocky/cis_rocky_linux_10.yml | 5241 | rules: | COMMENT |
| LOW | ruleset/sca/ol/9/cis_oracle_linux_9.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/ol/9/cis_oracle_linux_9.yml | 3381 | ############################################### | COMMENT |
| LOW | ruleset/sca/ol/9/cis_oracle_linux_9.yml | 3401 | # 3.3.4 Ensure suspicious packets are logged. (Automated) - Not Implemented | COMMENT |
| LOW | ruleset/sca/ol/10/cis_oracle_linux_10.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/ol/10/cis_oracle_linux_10.yml | 3381 | ############################################### | COMMENT |
| LOW | ruleset/sca/ol/10/cis_oracle_linux_10.yml | 3401 | # 3.3.4 Ensure suspicious packets are logged. (Automated) - Not Implemented | COMMENT |
| LOW | ruleset/sca/centos/9/cis_centos9_linux.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/centos/9/cis_centos9_linux.yml | 3981 | - "Masquerading" | COMMENT |
| 985 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | framework/scripts/agent_groups.py | 0 | get script arguments. returns ------- argparse.namespace arguments passed to the script. | STRING |
| HIGH | framework/scripts/agent_upgrade.py | 0 | get script arguments. returns ------- argparse.namespace arguments passed to the script. | STRING |
| HIGH | framework/scripts/wazuh_manager_clusterd.py | 0 | get script arguments. returns ------- argparse.namespace arguments passed to the script. | STRING |
| HIGH | framework/wazuh/core/cluster/local_server.py | 0 | get basic information about the node. returns ------- dict basic node information. | STRING |
| HIGH | framework/wazuh/core/cluster/common.py | 0 | get basic information about the node. returns ------- dict basic node information. | STRING |
| HIGH | framework/wazuh/core/cluster/master.py | 0 | get basic information about the node. returns ------- dict basic node information. | STRING |
| HIGH | tests/integration/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_syscollector/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …ation/test_syscollector/test_configuration/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_remoted/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …ed/test_agent_communication/test_request_agent_info.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …munication/test_multi_agent_protocols_communication.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …agent_communication/test_agents_switching_protocols.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …remoted/test_agent_communication/test_agent_version.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …_communication/test_invalid_protocols_communication.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …st_agent_communication/test_protocols_communication.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …ed/test_agent_communication/test_multi_agent_status.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …/test_agent_communication/test_agent_pending_status.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …/test_agent_communication/test_shared_configuration.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …remoted/test_configurations/test_queue_size_too_big.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …ed/test_configurations/test_invalid_connection_port.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …est_remoted/test_configurations/test_valid_local_ip.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …ed/test_configurations/test_rids_valid_closing_time.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …t_remoted/test_configurations/test_valid_queue_size.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …remoted/test_configurations/test_invalid_connection.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …t_remoted/test_configurations/test_valid_connection.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …est_configurations/test_invalid_connection_protocol.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …t_remoted/test_configurations/test_invalid_local_ip.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …/test_configurations/test_rids_invalid_closing_time.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_remoted/test_rids/test_rids.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_remoted/test_rids/test_config.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …egration/test_remoted/test_manager/test_manager_ack.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …integration/test_remoted/test_multi_groups/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …moted/test_multi_groups/test_merged_mg_file_content.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …emoted/test_socket_communication/test_ping_pong_msg.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_sca/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_sca/test_basic/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_sca/test_basic/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_logcollector/utils.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …ation/test_logcollector/test_configuration/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …ts/integration/test_logcollector/test_read/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_authd/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …tegration/test_authd/test_api_registration/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …tegration/test_authd/test_api_registration/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …s/integration/test_authd/test_use_password/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …s/integration/test_authd/test_use_password/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_authd/test_ssl/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_authd/test_ssl/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_authd/test_cluster/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …/integration/test_authd/test_use_source_ip/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …/integration/test_authd/test_use_source_ip/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …egration/test_authd/test_remote_enrollment/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_authd/test_common/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_authd/test_common/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …/integration/test_authd/test_force_options/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …ntegration/test_authd/test_drop_privileges/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_wazuh_db/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_wazuh_db/test_groups/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | tests/integration/test_wazuh_db/test_groups/__init__.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| HIGH | …s/integration/test_wazuh_db/test_databases/conftest.py | 0 | copyright (c) 2015, wazuh inc. created by wazuh, inc. <info@wazuh.com>. this program is free software; you can redistrib | STRING |
| 123 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/manager_benchmark/scrape_metrics.sh | 48 | except Exception: | CODE |
| LOW | tools/agent-upgrade/wpkpack.py | 100 | except Exception as error: | CODE |
| MEDIUM⚡ | tools/debug/csv-stat.py | 66 | print(f'Error: File {args.file} not found.') | CODE |
| LOW⚡ | tools/debug/csv-stat.py | 68 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/debug/csv-stat.py | 69 | print(f'Error: {e}') | CODE |
| LOW | framework/scripts/agent_groups.py | 20 | except Exception as e: | CODE |
| MEDIUM | framework/scripts/agent_groups.py | 21 | print("Error importing 'Wazuh' package.\n\n{0}\n".format(e)) | CODE |
| MEDIUM | framework/scripts/agent_groups.py | 382 | print("Error {0}: {1}".format(e.code, e.message)) | STRING |
| LOW | framework/scripts/agent_groups.py | 385 | except Exception as e: | STRING |
| LOW | framework/scripts/agent_upgrade.py | 36 | except Exception as e: | CODE |
| MEDIUM | framework/scripts/agent_upgrade.py | 37 | print("Error importing 'Wazuh' package.\n\n{0}\n".format(e)) | CODE |
| MEDIUM | framework/scripts/agent_upgrade.py | 111 | print("Error: custom WPK files are delivered from '{0}'. Move the file there and pass " | CODE |
| MEDIUM | framework/scripts/agent_upgrade.py | 116 | print("Error: WPK file not found: '{0}'. Place the file in '{1}' before launching the " | CODE |
| MEDIUM⚡ | framework/scripts/agent_upgrade.py | 177 | print(f"Error {wazuh_err.code}: {wazuh_err.message}") | CODE |
| MEDIUM⚡ | framework/scripts/agent_upgrade.py | 181 | print(f"Error {getattr(e, 'ext', {}).get('code', e.status)}: {str(e.detail)}") | CODE |
| LOW⚡ | framework/scripts/agent_upgrade.py | 184 | except Exception as unexpected_err: | CODE |
| MEDIUM | framework/scripts/agent_upgrade.py | 147 | def main(): | CODE |
| LOW | framework/scripts/cluster_control.py | 286 | except Exception as e: | STRING |
| LOW⚡ | framework/scripts/rbac_control.py | 14 | except Exception as e: | CODE |
| MEDIUM⚡ | framework/scripts/rbac_control.py | 15 | print("Error importing 'Wazuh' package.\n\n{0}\n".format(e)) | CODE |
| MEDIUM | framework/scripts/rbac_control.py | 102 | print(f"Error {e.code}: {e.message}") | CODE |
| LOW | framework/scripts/rbac_control.py | 103 | except Exception as e: | CODE |
| LOW | framework/scripts/wazuh_manager_clusterd.py | 206 | except Exception as e: | CODE |
| LOW | framework/scripts/wazuh_manager_clusterd.py | 212 | except Exception as e: | CODE |
| LOW | framework/scripts/wazuh_manager_clusterd.py | 247 | except Exception as e: | CODE |
| LOW | framework/scripts/wazuh_manager_clusterd.py | 269 | except Exception: | CODE |
| LOW | framework/wazuh/__init__.py | 31 | except Exception: | CODE |
| LOW | framework/wazuh/__init__.py | 81 | except Exception: | CODE |
| LOW | framework/wazuh/agent.py | 804 | except Exception as e: | CODE |
| LOW | framework/wazuh/agent.py | 864 | except Exception as e: | CODE |
| LOW | framework/wazuh/rbac/orm.py | 2521 | except Exception as e: | CODE |
| LOW | framework/wazuh/rbac/decorators.py | 474 | except Exception: | CODE |
| LOW | framework/wazuh/rbac/decorators.py | 703 | except Exception: | CODE |
| LOW⚡ | framework/wazuh/core/configuration.py | 878 | except Exception as e: | CODE |
| LOW⚡ | framework/wazuh/core/configuration.py | 886 | except Exception as e: | CODE |
| LOW⚡ | framework/wazuh/core/configuration.py | 890 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 445 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 494 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 540 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 624 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 854 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 1007 | except Exception as unhandled_exc: | CODE |
| LOW | framework/wazuh/core/configuration.py | 1035 | except Exception as unhandled_exc: | CODE |
| LOW | framework/wazuh/core/configuration.py | 1086 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/wdb.py | 433 | except Exception as e: | CODE |
| MEDIUM | framework/wazuh/core/wdb.py | 342 | def send_request_to_wdb(query_lower, step, off, response): | CODE |
| LOW | framework/wazuh/core/wazuh_socket.py | 38 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/wazuh_socket.py | 53 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/wazuh_socket.py | 61 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/wazuh_socket.py | 123 | except Exception as e: | CODE |
| MEDIUM | framework/wazuh/core/wazuh_socket.py | 29 | def _connect(self): | CODE |
| MEDIUM | framework/wazuh/core/wazuh_socket.py | 56 | def receive(self, header_format="<I", header_size=4): | CODE |
| LOW | framework/wazuh/core/agent_tasks.py | 78 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/agent_tasks.py | 145 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/utils.py | 866 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/utils.py | 1804 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/pyDaemonModule.py | 128 | except Exception as exc: | CODE |
| LOW | framework/wazuh/core/stats.py | 38 | except Exception: | CODE |
| LOW | framework/wazuh/core/agent.py | 817 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/agent.py | 885 | except Exception: | CODE |
| 331 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/manager_benchmark/result_summary.py | 110 | CODE | |
| LOW | tools/mitre/mitredb.py | 509 | CODE | |
| LOW | tools/mitre/mitredb.py | 585 | CODE | |
| LOW | tools/mitre/mitredb.py | 613 | CODE | |
| LOW | tools/debug/wdb-query.py | 94 | CODE | |
| LOW | framework/scripts/agent_groups.py | 336 | CODE | |
| LOW | framework/scripts/agent_upgrade.py | 147 | CODE | |
| LOW | framework/scripts/cluster_control.py | 247 | CODE | |
| LOW | framework/scripts/tests/test_wazuh_manager_clusterd.py | 38 | CODE | |
| LOW | framework/scripts/tests/test_wazuh_manager_clusterd.py | 154 | CODE | |
| LOW | framework/scripts/tests/test_wazuh_manager_clusterd.py | 276 | CODE | |
| LOW | framework/wazuh/security.py | 26 | CODE | |
| LOW | framework/wazuh/security.py | 258 | CODE | |
| LOW | framework/wazuh/security.py | 361 | CODE | |
| LOW | framework/wazuh/security.py | 427 | CODE | |
| LOW | framework/wazuh/security.py | 533 | CODE | |
| LOW | framework/wazuh/security.py | 603 | CODE | |
| LOW | framework/wazuh/security.py | 744 | CODE | |
| LOW | framework/wazuh/security.py | 781 | CODE | |
| LOW | framework/wazuh/security.py | 848 | CODE | |
| LOW | framework/wazuh/security.py | 908 | CODE | |
| LOW | framework/wazuh/security.py | 959 | CODE | |
| LOW | framework/wazuh/security.py | 1009 | CODE | |
| LOW | framework/wazuh/security.py | 1063 | CODE | |
| LOW | framework/wazuh/security.py | 1139 | CODE | |
| LOW | framework/wazuh/security.py | 1270 | CODE | |
| LOW | framework/wazuh/stats.py | 16 | CODE | |
| LOW | framework/wazuh/agent.py | 199 | CODE | |
| LOW | framework/wazuh/agent.py | 292 | CODE | |
| LOW | framework/wazuh/agent.py | 528 | CODE | |
| LOW | framework/wazuh/agent.py | 641 | CODE | |
| LOW | framework/wazuh/agent.py | 873 | CODE | |
| LOW | framework/wazuh/agent.py | 1173 | CODE | |
| LOW | framework/wazuh/rbac/orm.py | 1153 | CODE | |
| LOW | framework/wazuh/rbac/orm.py | 1331 | CODE | |
| LOW | framework/wazuh/rbac/orm.py | 1438 | CODE | |
| LOW | framework/wazuh/rbac/orm.py | 1525 | CODE | |
| LOW | framework/wazuh/rbac/orm.py | 1577 | CODE | |
| LOW | framework/wazuh/rbac/orm.py | 1722 | CODE | |
| LOW | framework/wazuh/rbac/orm.py | 1863 | CODE | |
| LOW | framework/wazuh/rbac/orm.py | 2065 | CODE | |
| LOW | framework/wazuh/rbac/orm.py | 2162 | CODE | |
| LOW | framework/wazuh/rbac/orm.py | 2204 | CODE | |
| LOW | framework/wazuh/rbac/preprocessor.py | 19 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 53 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 124 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 240 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 299 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 348 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 385 | CODE | |
| LOW | framework/wazuh/rbac/decorators.py | 23 | CODE | |
| LOW | framework/wazuh/rbac/decorators.py | 77 | CODE | |
| LOW | framework/wazuh/rbac/decorators.py | 223 | CODE | |
| LOW | framework/wazuh/rbac/decorators.py | 279 | CODE | |
| LOW | framework/wazuh/rbac/decorators.py | 425 | CODE | |
| LOW | framework/wazuh/rbac/decorators.py | 629 | CODE | |
| LOW | framework/wazuh/rbac/decorators.py | 447 | CODE | |
| LOW | framework/wazuh/rbac/decorators.py | 449 | CODE | |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 28 | CODE | |
| LOW | framework/wazuh/rbac/tests/test_orm.py | 336 | CODE | |
| 268 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/manager_benchmark/make_report_tables.py | 14 | CODE | |
| LOW | tools/manager_benchmark/make_report_tables.py | 14 | CODE | |
| LOW | tools/manager_benchmark/result_summary.py | 22 | CODE | |
| LOW | framework/scripts/agent_upgrade.py | 13 | CODE | |
| LOW | framework/scripts/wazuh_manager_clusterd.py | 9 | CODE | |
| LOW | framework/wazuh/__init__.py | 10 | CODE | |
| LOW | framework/wazuh/__init__.py | 10 | CODE | |
| LOW | framework/wazuh/agent.py | 9 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 8 | CODE | |
| LOW | framework/wazuh/core/wdb.py | 12 | CODE | |
| LOW | framework/wazuh/core/results.py | 5 | CODE | |
| LOW | framework/wazuh/core/utils.py | 21 | CODE | |
| LOW | framework/wazuh/core/utils.py | 29 | CODE | |
| LOW | framework/wazuh/core/agent.py | 25 | CODE | |
| LOW | framework/wazuh/core/cluster/local_server.py | 10 | CODE | |
| LOW | framework/wazuh/core/cluster/local_server.py | 14 | CODE | |
| LOW | framework/wazuh/core/cluster/cluster.py | 19 | CODE | |
| LOW | framework/wazuh/core/cluster/cluster.py | 19 | CODE | |
| LOW | framework/wazuh/core/cluster/cluster.py | 19 | CODE | |
| LOW | framework/wazuh/core/cluster/tests/test_local_client.py | 15 | CODE | |
| LOW | framework/wazuh/core/cluster/tests/test_local_server.py | 24 | CODE | |
| LOW | framework/wazuh/core/cluster/tests/test_server.py | 18 | CODE | |
| LOW | framework/wazuh/core/cluster/tests/test_cluster.py | 14 | CODE | |
| LOW | framework/wazuh/core/tests/test_mitre.py | 14 | CODE | |
| LOW | framework/wazuh/core/tests/test_agent.py | 16 | CODE | |
| LOW | framework/wazuh/core/tests/test_configuration.py | 10 | CODE | |
| LOW | framework/wazuh/core/tests/test_pyDaemonModule.py | 8 | CODE | |
| LOW | framework/wazuh/core/tests/test_agent_tasks.py | 7 | CODE | |
| LOW | framework/wazuh/core/tests/test_agent_tasks.py | 9 | CODE | |
| LOW | framework/wazuh/core/tests/test_manager.py | 14 | CODE | |
| LOW | framework/wazuh/core/indexer/disconnected_agents.py | 1 | CODE | |
| LOW | framework/wazuh/core/indexer/tests/test_indexer.py | 5 | CODE | |
| LOW | …rk/wazuh/core/indexer/tests/test_credential_manager.py | 7 | CODE | |
| LOW | framework/wazuh/tests/test_agent.py | 16 | CODE | |
| LOW | framework/wazuh/tests/test_manager.py | 23 | CODE | |
| LOW | tests/integration/test_syscollector/conftest.py | 21 | CODE | |
| LOW | tests/integration/test_syscollector/conftest.py | 23 | CODE | |
| LOW | tests/integration/test_syscollector/conftest.py | 23 | CODE | |
| LOW | tests/integration/test_syscollector/conftest.py | 23 | CODE | |
| LOW | tests/integration/test_syscollector/conftest.py | 23 | CODE | |
| LOW | …/test_configuration/test_syscollector_configuration.py | 45 | CODE | |
| LOW | …agent_communication/test_agents_switching_protocols.py | 11 | CODE | |
| LOW | …remoted/test_configurations/test_queue_size_too_big.py | 10 | CODE | |
| LOW | …ed/test_configurations/test_invalid_connection_port.py | 10 | CODE | |
| LOW | …est_remoted/test_configurations/test_valid_local_ip.py | 21 | CODE | |
| LOW | …ed/test_configurations/test_rids_valid_closing_time.py | 10 | CODE | |
| LOW | …ed/test_configurations/test_rids_valid_closing_time.py | 12 | CODE | |
| LOW | …ed/test_configurations/test_rids_valid_closing_time.py | 19 | CODE | |
| LOW | …ed/test_configurations/test_rids_valid_closing_time.py | 22 | CODE | |
| LOW | …ed/test_configurations/test_rids_valid_closing_time.py | 23 | CODE | |
| LOW | …t_remoted/test_configurations/test_valid_queue_size.py | 10 | CODE | |
| LOW | …t_remoted/test_configurations/test_valid_queue_size.py | 12 | CODE | |
| LOW | …t_remoted/test_configurations/test_valid_queue_size.py | 19 | CODE | |
| LOW | …t_remoted/test_configurations/test_valid_connection.py | 10 | CODE | |
| LOW | …est_configurations/test_invalid_connection_protocol.py | 10 | CODE | |
| LOW | …t_remoted/test_configurations/test_invalid_local_ip.py | 10 | CODE | |
| LOW | …t_remoted/test_configurations/test_invalid_local_ip.py | 20 | CODE | |
| LOW | …/test_configurations/test_rids_invalid_closing_time.py | 10 | CODE | |
| LOW | …/test_configurations/test_rids_invalid_closing_time.py | 20 | CODE | |
| LOW | …/test_configurations/test_rids_invalid_closing_time.py | 22 | CODE | |
| 220 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/build.py | 18 | Process the command line arguments and executes the corresponding argument's utility. Args: - None | STRING |
| HIGH | src/ci/build_tools.py | 34 | Execute the command 'make clean' in the operating system. Args: - None Returns: - None | STRING |
| HIGH | src/ci/build_tools.py | 63 | Delete the contents of the external folder. Args: - None Returns: - None Raises: | STRING |
| HIGH | src/ci/build_tools.py | 91 | Delete a specific folder inside some module. Args: - moduleName(str): Main folder name. - addi | STRING |
| HIGH | src/ci/build_tools.py | 134 | Execute the command 'make clean-internals' in the operating system. Args: - None Returns: | STRING |
| HIGH | src/ci/build_tools.py | 163 | Execute the command 'make clean-windows' in the operating system. Args: - None Returns: - | STRING |
| HIGH | src/ci/build_tools.py | 192 | Clean the files generated in some module when it is built. Args: - moduleName(str): Library name to be | STRING |
| HIGH | src/ci/build_tools.py | 224 | Configure cmake command with specific configuration based on the parameters passed to the function. Args: | STRING |
| HIGH | src/ci/build_tools.py | 280 | Get a map with configured folders to be deleted. Args: - None Returns: - DELETE_FOLDER_DI | STRING |
| HIGH | src/ci/build_tools.py | 296 | Use make command in order to download dependencies and after that build them. Args: - targetName(s | STRING |
| HIGH | src/ci/build_tools.py | 335 | Build a library. Args: - moduleName(str): Library to be built. Returns: - None Raise | STRING |
| HIGH | src/ci/build_tools.py | 369 | Build project with flags. Args: - targetName(str): Build type to be built < | STRING |
| HIGH | src/ci/utils.py | 51 | Get current path. Args: - None Returns: - path(str): Current path. Raises: - | STRING |
| HIGH | src/ci/utils.py | 67 | Delete logs generates for a module. Args: - moduleName(str): Library to be cleaned. Returns: | STRING |
| HIGH | src/ci/utils.py | 107 | Find a file in some path. Args: - name(str): File to find. - path(str): Base path to find a fi | STRING |
| HIGH | src/ci/utils.py | 132 | Find a folder in some path. Args: - name(str): Folder to find. - path(str): Base path to find | STRING |
| HIGH | src/ci/utils.py | 158 | Return folders to be analyzed with AStyle coding style analysis tool. Args: - moduleName(str): Library | STRING |
| HIGH | src/ci/utils.py | 195 | Get directory path for a module. Args: - moduleName(str): Library to get the path of. Returns: | STRING |
| HIGH | src/ci/utils.py | 214 | Get directory path build for a module. Args: moduleName(str): Library to get the path of. Returns | STRING |
| HIGH | src/ci/utils.py | 233 | Get valid module list. Args: - None Returns: - MODULE_LIST(array): A list with valid modu | STRING |
| HIGH | src/ci/utils.py | 249 | Get valid module list. Args: - None Returns: - MODULE_LIST_STR(str): A list with valid mo | STRING |
| HIGH | src/ci/utils.py | 265 | Display a red message with the errors. Args: - msg(str): Message to show. Returns: - None | STRING |
| HIGH | src/ci/utils.py | 281 | Display a formatted green message. Args: - msg(str): Message to show. - module(str): Library u | STRING |
| HIGH | src/ci/utils.py | 302 | Display a message formatted from the HEADER_DIR map. Args: - moduleName(str): Library using in the mes | STRING |
| HIGH | src/ci/utils.py | 320 | Display a yellow message with some information. Args: - msg(str): Message to show. Returns: | STRING |
| HIGH | src/ci/utils.py | 336 | Display a message formatted from the HEADER_DIR map. Args: - moduleName(str): Library using in the mes | STRING |
| HIGH | src/ci/utils.py | 354 | Read a JSON path and convert to map. Args: - jsonFilePath(str): JSON path. Returns: - jso | STRING |
| HIGH | src/ci/utils.py | 378 | Get root path. Args: - None Returns: - path(str): Root path. Raises: - None | STRING |
| HIGH | src/ci/utils.py | 394 | Get possible build targets. Args: - None Returns: - TARGET_LIST(array): Target list | STRING |
| HIGH | src/ci/run_check.py | 21 | Check the coverage for a library being analyzed. Args: - output(str): Message to be shown in the stdou | STRING |
| HIGH | src/ci/run_check.py | 64 | Execute Address Sanitizer dynamic analysis tool using the test tool defined for a library. Args: - | STRING |
| HIGH | src/ci/run_check.py | 110 | Execute AStyle coding style analysis for the library code failing when one or more files need to be modified. | STRING |
| HIGH | src/ci/run_check.py | 162 | Execute AStyle coding style analysis tool for the library code formatting all needed files. Args: | STRING |
| HIGH | src/ci/run_check.py | 195 | Execute code coverage for a library unit tests. Args: - moduleName: Library to be analyzed using gcov | STRING |
| HIGH | src/ci/run_check.py | 313 | Execute cppcheck static analysis in the library code. Args: - moduleName: Library to be analyzed using | STRING |
| HIGH | src/ci/run_check.py | 419 | Execute scan-build for a defined target. Args: - targetName: Target to be analyzed using scan-build an | STRING |
| HIGH | src/ci/run_check.py | 473 | Execute test tool for a module with a configuration passed by parameters. Args: - moduleName(str): Lib | STRING |
| HIGH | src/ci/run_check.py | 522 | Execute test tool for a module with a configuration passed by parameters for Windows OS. Args: - m | STRING |
| HIGH | src/ci/run_check.py | 663 | Execute library tests using CTest with labels. Args: - moduleName: Library representing the tests to b | STRING |
| HIGH | src/ci/run_check.py | 730 | Results are taken in JSON format after running the test tool and validated using pytest. Args: - m | STRING |
| HIGH | src/ci/run_check.py | 771 | Execute all tests with valgrind tool in order to check memory leaks in the library code. Args: - m | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 20 | Find smokeTests inside the root path and return the complete path. Args: - moduleName(str): Library to | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 40 | Configure and format logging message. Args: - getModuleName(fixture): Return current module. Retu | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 75 | Search inside test tool output folder so it returns the root path and the child folders. Args: - s | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 97 | From directory name and their paths it creates a map in order to have all information in only structure. | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 122 | From directory name and their paths it creates a map in order to have all information in only structure. A | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 149 | Read file transaction input files and return an array with these information in JSON format. Args: | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 176 | Read registry key transaction input files and return an array with these information in JSON format. Args: | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 203 | Read registry value transaction input files and return an array with these information in JSON format. Arg | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 229 | Read registry value transaction input files and return an array with these information in JSON format. Arg | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 261 | Check result of action executed. Args: - result(map): A map with parsed result JSON. - configL | STRING |
| HIGH | src/ci/tests/syscheckd/test_check_module.py | 283 | Check result of transaction executed compared than input information. Args: - result(map): A map with | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/get_git_refs.sh | 148 | # Check if HEAD points to a branch | COMMENT |
| LOW | ruleset/sca/amazon/cis_amazon_linux_2023.yml | 42 | remediation: "Run the following script to disable squashfs: #!/usr/bin/env bash { l_mname=\"squashfs\" # set module | CODE |
| LOW | ruleset/sca/amazon/cis_amazon_linux_2023.yml | 79 | remediation: "Run the following script to disable the udf filesystem: #!/usr/bin/env bash { l_mname=\"udf\" # set mo | CODE |
| LOW | ruleset/sca/debian/cis_debian10.yml | 35 | remediation: "Run the following script to disable the cramfs module: If the module is available in the running kerne | CODE |
| LOW | ruleset/sca/debian/cis_debian10.yml | 76 | remediation: "Run the following script to disable the squashfs module: If the module is available in the running ker | CODE |
| LOW | ruleset/sca/debian/cis_debian10.yml | 112 | remediation: "Run the following script to disable the udf module: If the module is available in the running kernel: | CODE |
| LOW | ruleset/sca/debian/cis_debian10.yml | 1443 | remediation: "Run the following script to disable the cramfs module: If the module is available in the running kerne | CODE |
| LOW | ruleset/sca/debian/cis_debian10.yml | 2339 | remediation: "Run the following script to verify that the banner message is enabled and set: #!/usr/bin/env bash { l | CODE |
| LOW | ruleset/sca/debian/cis_debian10.yml | 2485 | remediation: "Run the following script to disable automatic mounting of media for all GNOME users: #!/usr/bin/env ba | CODE |
| LOW | ruleset/sca/rocky/cis_rocky_linux_9.yml | 38 | remediation: "Run the following script to disable squashfs: #!/usr/bin/env bash { l_mname=\"squashfs\" # set module | CODE |
| LOW | ruleset/sca/rocky/cis_rocky_linux_9.yml | 75 | remediation: "Run the following script to disable the udf filesystem: #!/usr/bin/env bash { l_mname=\"udf\" # set mo | CODE |
| LOW | ruleset/sca/rocky/cis_rocky_linux_9.yml | 1391 | remediation: "Run the following script to disable usb-storage: #!/usr/bin/env bash { l_mname=\"usb-storage\" # set m | CODE |
| LOW | ruleset/sca/rocky/cis_rocky_linux_9.yml | 2407 | remediation: "Run the following script to verify that the banner message is enabled and set: #!/usr/bin/env bash { l | CODE |
| LOW | ruleset/sca/rocky/cis_rocky_linux_9.yml | 3432 | remediation: "Run the following script to disable tipc: #!/usr/bin/env bash { l_mname=\"tipc\" # set module name # C | CODE |
| LOW | ruleset/sca/rocky/cis_rocky_linux_10.yml | 38 | remediation: "Run the following script to disable squashfs: #!/usr/bin/env bash { l_mname=\"squashfs\" # set module | CODE |
| LOW | ruleset/sca/rocky/cis_rocky_linux_10.yml | 75 | remediation: "Run the following script to disable the udf filesystem: #!/usr/bin/env bash { l_mname=\"udf\" # set mo | CODE |
| LOW | ruleset/sca/rocky/cis_rocky_linux_10.yml | 1391 | remediation: "Run the following script to disable usb-storage: #!/usr/bin/env bash { l_mname=\"usb-storage\" # set m | CODE |
| LOW | ruleset/sca/rocky/cis_rocky_linux_10.yml | 2407 | remediation: "Run the following script to verify that the banner message is enabled and set: #!/usr/bin/env bash { l | CODE |
| LOW | ruleset/sca/rocky/cis_rocky_linux_10.yml | 3432 | remediation: "Run the following script to disable tipc: #!/usr/bin/env bash { l_mname=\"tipc\" # set module name # C | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_10.yml | 39 | remediation: "Run the following script to disable squashfs: #!/usr/bin/env bash { l_mname=\"squashfs\" # set module | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_10.yml | 77 | remediation: "Run the following script to disable the udf filesystem: #!/usr/bin/env bash { l_mname=\"udf\" # set mo | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_10.yml | 1393 | remediation: "Run the following script to disable usb-storage: #!/usr/bin/env bash { l_mname=\"usb-storage\" # set m | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_10.yml | 2502 | remediation: "Run the following script to verify that the banner message is enabled and set: #!/usr/bin/env bash { l | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_10.yml | 2651 | remediation: "Run the following script to disable automatic mounting of media for all GNOME users: #!/usr/bin/env ba | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_10.yml | 3665 | remediation: "Run the following script to disable tipc: #!/usr/bin/env bash { l_mname=\"tipc\" # set module name # C | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_9.yml | 39 | remediation: "Run the following script to disable squashfs: #!/usr/bin/env bash { l_mname=\"squashfs\" # set module | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_9.yml | 77 | remediation: "Run the following script to disable the udf filesystem: #!/usr/bin/env bash { l_mname=\"udf\" # set mo | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_9.yml | 1393 | remediation: "Run the following script to disable usb-storage: #!/usr/bin/env bash { l_mname=\"usb-storage\" # set m | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_9.yml | 2502 | remediation: "Run the following script to verify that the banner message is enabled and set: #!/usr/bin/env bash { l | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_9.yml | 2651 | remediation: "Run the following script to disable automatic mounting of media for all GNOME users: #!/usr/bin/env ba | CODE |
| LOW | ruleset/sca/almalinux/cis_alma_linux_9.yml | 3665 | remediation: "Run the following script to disable tipc: #!/usr/bin/env bash { l_mname=\"tipc\" # set module name # C | CODE |
| LOW | framework/scripts/tests/test_cluster_control.py | 304 | # Check if cluster is disabled and first condition | COMMENT |
| LOW | framework/wazuh/agent.py | 893 | # Check if group exists | COMMENT |
| LOW | framework/wazuh/agent.py | 948 | # Check if the group exists | COMMENT |
| LOW | framework/wazuh/agent.py | 1005 | # Check if agent and group exist | COMMENT |
| LOW | framework/wazuh/agent.py | 1045 | # Check if agent exists | COMMENT |
| LOW | framework/wazuh/agent.py | 1103 | # Check if group exists | COMMENT |
| LOW | framework/wazuh/manager.py | 482 | # Check if the configuration is valid | COMMENT |
| LOW | framework/wazuh/rbac/orm.py | 2478 | # Check if an upgrade is required | COMMENT |
| LOW | framework/wazuh/core/configuration.py | 336 | # Check if we have read the same filters before (we will need to merge them) | COMMENT |
| LOW | framework/wazuh/core/configuration.py | 923 | # Check if the group exists | COMMENT |
| LOW | framework/wazuh/core/configuration.py | 982 | # Check if the component is correct | COMMENT |
| LOW | framework/wazuh/core/results.py | 407 | # Check if error is already added | COMMENT |
| LOW | framework/wazuh/core/utils.py | 237 | # Check if every element in sort['fields'] is in allowed_sort_fields | COMMENT |
| LOW | framework/wazuh/core/utils.py | 1796 | # Check if configuration changes are allowed | COMMENT |
| LOW | framework/wazuh/core/agent.py | 1120 | # Check if the group already belongs to the agent | COMMENT |
| LOW | framework/wazuh/core/agent.py | 1242 | # Check if agent exists and the group exists | COMMENT |
| LOW | framework/wazuh/core/manager.py | 176 | # Check if configuration file exists | COMMENT |
| LOW | framework/wazuh/core/cluster/common.py | 502 | # Check if a new message was received. | COMMENT |
| LOW | framework/wazuh/core/cluster/master.py | 511 | # Check if an integrity_check has already been performed | COMMENT |
| LOW | framework/wazuh/core/cluster/cluster.py | 153 | # Check if recursive flag is set or root is actually the initial lookup directory. | COMMENT |
| LOW | framework/wazuh/tests/test_agent.py | 883 | # Check if the number of affected items matches the number of times `add_group_to_agent` was called | COMMENT |
| LOW | tests/integration/test_logcollector/conftest.py | 103 | # Write the file status | COMMENT |
| LOW | …tegration/test_authd/test_api_registration/conftest.py | 44 | # Check if specific values were set or set the defaults | COMMENT |
| LOW | …est_wazuh_db/test_groups/test_sync_agent_groups_get.py | 100 | # Check if it requires any special configuration | COMMENT |
| LOW | …est_wazuh_db/test_groups/test_sync_agent_groups_get.py | 105 | # Check if it requires the global hash. | COMMENT |
| LOW | …st_ambiguous_confs/test_whodata_works_over_realtime.py | 167 | # Write the file | COMMENT |
| LOW | …_redirection/test_windows_system_folder_redirection.py | 149 | # Write the file | COMMENT |
| LOW | tests/integration/test_api/conftest.py | 71 | # Check if specific values were set or set the defaults | COMMENT |
| LOW | …ion/test_api/test_statistics/test_statistics_format.py | 126 | # Check if the API statistics response data meets the expected schema. Raise an exception if not. | COMMENT |
| 109 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/mitre/mitredb.py | 758 | # Create a database connection | COMMENT |
| MEDIUM | ruleset/sca/debian/cis_debian10.yml | 148 | remediation: "For specific configuration requirements of the /tmp mount for your environment, modify /etc/fstab or t | CODE |
| MEDIUM | ruleset/sca/sles/16/cis_sles16_linux.yml | 149 | remediation: "Create or update an entry for /tmp in either /etc/fstab OR in a systemd tmp.mount file: If /etc/fstab | CODE |
| MEDIUM | ruleset/sca/sles/15/cis_sles15_linux.yml | 149 | remediation: "Create or update an entry for /tmp in either /etc/fstab OR in a systemd tmp.mount file: If /etc/fstab | CODE |
| MEDIUM | ruleset/sca/ubuntu/cis_ubuntu20-04.yml | 43 | remediation: "For specific configuration requirements of the /tmp mount for your environment, modify /etc/fstab or t | CODE |
| MEDIUM | framework/wazuh/manager.py | 485 | # Create a backup of the current configuration before attempting to replace it | COMMENT |
| MEDIUM | framework/wazuh/rbac/orm.py | 1603 | # Create a role-policy relationship if both exist | COMMENT |
| MEDIUM | framework/wazuh/rbac/orm.py | 1765 | # Create a role-policy relationship if both exist | COMMENT |
| MEDIUM | framework/wazuh/rbac/orm.py | 1946 | # Create a rule-role relationship if both exist | COMMENT |
| MEDIUM | framework/wazuh/rbac/orm.py | 2108 | # Create the relationships | COMMENT |
| MEDIUM | framework/wazuh/core/cluster/master.py | 324 | # Create an event to wait for the response. | COMMENT |
| MEDIUM | framework/wazuh/core/cluster/master.py | 847 | # Create a child process to run the task. | COMMENT |
| MEDIUM | tests/integration/conftest.py | 732 | # Create the SocketControllers | COMMENT |
| MEDIUM | …ntegration/test_wazuh_db/test_backup/test_db_backup.py | 159 | # Create the database backups and assert they have been created correctly | COMMENT |
| MEDIUM⚡ | …asic_usage/test_orphan_promote_after_config_removal.py | 192 | # Create the realtime-tracked file. inotify queues an "added" event; | COMMENT |
| MEDIUM | …es/test_invalid_characters/test_non_utf8_characters.py | 168 | # Create the file with the invalid byte sequence as part of the file name | COMMENT |
| MEDIUM | …m/test_files/test_report_changes/test_large_changes.py | 188 | # Create the file and and capture the event. | COMMENT |
| MEDIUM | …es/test_report_changes/test_report_changes_and_diff.py | 180 | # Create the file and and capture the event. | COMMENT |
| MEDIUM | …_files/test_report_changes/test_report_deleted_diff.py | 170 | # Create the file and and capture the event. | COMMENT |
| MEDIUM | packages/macos/package_files/preinstall.sh | 172 | # Creating the group | COMMENT |
| MEDIUM | packages/macos/package_files/preinstall.sh | 187 | # Creating the user | COMMENT |
| MEDIUM | packages/externals/external_sources.sh | 3 | # This file is sourced by packages/externals/build_external.sh inside the package | COMMENT |
| MEDIUM | api/test/integration/conftest.py | 327 | """This function is responsible for setting up the Docker environment necessary for every test. | STRING |
| MEDIUM | wodles/gcloud/tests/test_subscriber.py | 124 | # Create a large list of fake messages | COMMENT |
| MEDIUM | wodles/azure/tests/db/test_orm.py | 60 | # Create the tables | COMMENT |
| MEDIUM | wodles/aws/subscribers/s3_log_handler.py | 147 | # Define the regex pattern for invalid CSV header characters | COMMENT |
| MEDIUM | src/init/darwin-addusers.sh | 72 | # Creating the groups. | COMMENT |
| MEDIUM | src/init/darwin-addusers.sh | 82 | # Creating the users. | COMMENT |
| MEDIUM⚡ | …ared_modules/indexer_connector/qa/test_efficacy_log.py | 485 | # Create the index and try to insert a document with old mapping, this should fail and the element queue in the pers | COMMENT |
| MEDIUM⚡ | …ared_modules/indexer_connector/qa/test_efficacy_log.py | 589 | # Create the index and try to insert a document with old mapping, this should fail and the element queue in the pers | COMMENT |
| MEDIUM | …ty_scanner/testtool/versionMatcher/version_verifier.sh | 103 | # Define the callback function based on the Linux distribution | COMMENT |
| MEDIUM | src/engine/tools/devContainer/e2e/init.sh | 324 | # Create the output directory if it doesn't exist (This never happens on devContainer context) | COMMENT |
| MEDIUM | …s/engine-suite/src/engine_private/cmds/ns/import_ns.py | 28 | # Create the api request | COMMENT |
| MEDIUM | …ools/engine-suite/src/engine_private/cmds/cm/delete.py | 16 | # Create the api request | COMMENT |
| MEDIUM | …/tools/engine-suite/src/engine_private/cmds/cm/list.py | 15 | # Create the api request | COMMENT |
| MEDIUM⚡ | …gine-suite/src/engine_private/cmds/cm/policy_upsert.py | 29 | # Create the api request | COMMENT |
| MEDIUM | …gine-suite/src/engine_private/cmds/cm/policy_delete.py | 15 | # Create the api request | COMMENT |
| MEDIUM | …e/tools/engine-suite/src/engine_private/cmds/cm/get.py | 16 | # Create the api request | COMMENT |
| MEDIUM⚡ | …ools/engine-suite/src/engine_private/cmds/cm/upsert.py | 30 | # Create the api request | COMMENT |
| MEDIUM | …ine-suite/src/engine_public/cmds/cm/policy_validate.py | 26 | # Create the api request | COMMENT |
| MEDIUM⚡ | …tools/engine-suite/src/engine_public/cmds/cm/upsert.py | 30 | # Create the api request | COMMENT |
| MEDIUM | …ls/engine-suite/src/engine_test/cmds/session_reload.py | 21 | # Create the request | COMMENT |
| MEDIUM | …tools/engine-suite/src/engine_test/cmds/session_get.py | 20 | # Create the request | COMMENT |
| MEDIUM | …ngine-suite/src/engine_test/cmds/session_delete_all.py | 19 | # Create the request | COMMENT |
| MEDIUM | …ngine-suite/src/engine_test/cmds/session_delete_all.py | 32 | # Create the list of sessions to delete | COMMENT |
| MEDIUM | …ls/engine-suite/src/engine_test/cmds/session_delete.py | 21 | # Create the request | COMMENT |
| MEDIUM | …ools/engine-suite/src/engine_test/cmds/session_list.py | 19 | # Create the request | COMMENT |
| MEDIUM | …tools/engine-suite/src/engine_test/cmds/session_add.py | 22 | # Create the request | COMMENT |
| MEDIUM | …tools/engine-suite/src/engine_test/conf/integration.py | 110 | # Create a new instance with the extracted values | COMMENT |
| MEDIUM⚡ | …ne/tools/engine-suite/src/engine_router/cmds/update.py | 21 | # Create the request | COMMENT |
| MEDIUM | …ne/tools/engine-suite/src/engine_router/cmds/delete.py | 18 | # Create the request | COMMENT |
| MEDIUM | …ne/tools/engine-suite/src/engine_router/cmds/ingest.py | 18 | # Create the request | COMMENT |
| MEDIUM | …gine/tools/engine-suite/src/engine_router/cmds/list.py | 18 | # Create the request | COMMENT |
| MEDIUM | …ngine/tools/engine-suite/src/engine_router/cmds/add.py | 21 | # Create the request | COMMENT |
| MEDIUM | …ne/tools/engine-suite/src/engine_router/cmds/reload.py | 20 | # Create the request | COMMENT |
| MEDIUM | …ngine/tools/engine-suite/src/engine_router/cmds/get.py | 19 | # Create the request | COMMENT |
| MEDIUM⚡ | …ngine/test/integration_tests/tester/steps/api_steps.py | 247 | # Create the session pointing to namespaceId == policy_name | COMMENT |
| MEDIUM⚡ | …ngine/test/integration_tests/router/steps/api_steps.py | 239 | # Create the route pointing to namespaceId == policy_name | COMMENT |
| MEDIUM | src/engine/test/acceptance_test/setup_dependencies.sh | 194 | # Create the virtual environment (idempotent: skips if it already exists) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | framework/wazuh/core/wdb.py | 258 | if v == "(null)": | CODE |
| HIGH | framework/wazuh/core/wdb.py | 283 | if '"(null)"' in string: | CODE |
| HIGH | framework/wazuh/core/wdb.py | 284 | # To prevent empty dictionaries, clean data if there was any `"(null)"` within the string | COMMENT |
| HIGH | framework/wazuh/core/cluster/common.py | 1179 | # Regex to find any character different to '\x00' (null) inside a string. | COMMENT |
| HIGH | framework/wazuh/core/cluster/common.py | 581 | self.push(msg) | CODE |
| HIGH | framework/wazuh/core/cluster/common.py | 910 | self.push(msg) | CODE |
| HIGH | framework/wazuh/core/cluster/common.py | 1170 | Expected length of bytearray. If any bytearray has this length and its content is null, it will be deleted. | STRING |
| HIGH⚡ | framework/wazuh/core/cluster/tests/test_common.py | 549 | handler.push(b"message") | CODE |
| HIGH⚡ | framework/wazuh/core/tests/test_wdb.py | 162 | Tests '(null)' values are removed from the resulting dictionary | STRING |
| HIGH⚡ | framework/wazuh/core/tests/test_wdb.py | 165 | nulls_string = b' [{"a": "a", "b": "(null)", "c": [1, 2, 3], "d": {"e": "(null)"}}]' | CODE |
| HIGH | framework/wazuh/core/tests/test_wdb.py | 273 | '[{"key1": "value1"}, {"invalid": "(null)"}]', | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/states_components.py | 148 | if (ctx._source.wazuh == null) { ctx._source.wazuh = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/states_components.py | 149 | if (ctx._source.wazuh.agent == null) { ctx._source.wazuh.agent = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/states_components.py | 151 | if (ctx._source.wazuh.agent.groups != null && ctx._source.wazuh.agent.groups == params.groups) { | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/states_components.py | 158 | if (ctx._source.state == null) { ctx._source.state = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/states_components.py | 246 | if (ctx._source.wazuh == null) { ctx._source.wazuh = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/states_components.py | 247 | if (ctx._source.wazuh.agent == null) { ctx._source.wazuh.agent = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/states_components.py | 248 | if (ctx._source.wazuh.cluster == null) { ctx._source.wazuh.cluster = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/states_components.py | 255 | if (ctx._source.state == null) { ctx._source.state = [:]; } | CODE |
| HIGH | …e/tools/engine-metrics/src/engine_metrics/templates.py | 114 | if (meta && meta.category) return meta.category; | CODE |
| HIGH | …e/tools/engine-metrics/src/engine_metrics/templates.py | 131 | if (meta && meta.unit && UNIT_AXIS[meta.unit]) return UNIT_AXIS[meta.unit]; | CODE |
| HIGH | …e/tools/engine-metrics/src/engine_metrics/templates.py | 219 | charts[chartId] = { type: metricType, prevValue: null }; | CODE |
| HIGH | …e/tools/engine-metrics/src/engine_metrics/templates.py | 227 | if (c.prevValue === null) { c.prevValue = rawValue; return; } | CODE |
| HIGH⚡ | …e/tools/engine-metrics/src/engine_metrics/templates.py | 248 | const ts = new Date(data.timestamp || undefined); | CODE |
| HIGH⚡ | …e/tools/engine-metrics/src/engine_metrics/templates.py | 248 | const ts = new Date(data.timestamp || undefined); | CODE |
| HIGH⚡ | …e/tools/engine-metrics/src/engine_metrics/templates.py | 251 | if (data.name && infoEl.dataset.set !== '1') { | CODE |
| HIGH | …e/tools/engine-metrics/src/engine_metrics/templates.py | 266 | pushPoint(chartId, ts, m.value || 0); | CODE |
| HIGH | …e/tools/engine-metrics/src/engine_metrics/templates.py | 277 | pushPoint(chartId, ts, m.value || 0); | CODE |
| HIGH | src/engine/tools/devContainer/scripts/monitor.py | 544 | "'pkill -9 -f %s && service wazuh-manager restart' before re-running.", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …asic_usage/test_orphan_promote_after_config_removal.py | 188 | # Step 1: agent is up via daemons_handler. The baseline scan has | COMMENT |
| LOW⚡ | …asic_usage/test_orphan_promote_after_config_removal.py | 201 | # Step 2: stop the agent, drop the realtime <directories> rule from | COMMENT |
| LOW | docs/guide/migration/agent-groups-migration.md | 257 | ### Step 1: Export from 4.x | COMMENT |
| LOW | docs/guide/migration/agent-groups-migration.md | 274 | ### Step 2: Restore on 5.x | COMMENT |
| LOW | docs/guide/migration/agent-groups-migration.md | 293 | ### Step 3: Configure the group on one agent only | COMMENT |
| LOW | docs/guide/migration/agent-groups-migration.md | 320 | ### Step 4: Enroll the agents | COMMENT |
| LOW | docs/guide/migration/agent-groups-migration.md | 330 | ### Step 5: Verify | COMMENT |
| LOW | docs/guide/migration/agent-groups-migration.md | 362 | ### Step 6: Assign the remaining agent manually | COMMENT |
| LOW | docs/guide/migration/remote-agent-upgrade.md | 251 | ### Step 1: Upgrade to v4.14.x | COMMENT |
| LOW | docs/guide/migration/remote-agent-upgrade.md | 278 | ### Step 2: Upgrade to v5.0.0 | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 159 | ### Step 1: Inventory your 4.x rules | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 177 | ### Step 2: Map rule identification | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 187 | ### Step 3: Map severity levels | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 211 | ### Step 4: Rewrite detection logic | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 448 | ### Step 5: Assign rules to an integration | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 496 | ### Step 6: Migrate metadata | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 518 | ### Step 7: Migrate MITRE ATT&CK mappings | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 558 | ### Step 8: Migrate compliance mappings | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 607 | ### Step 9: Migrate tags and groups | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 628 | ### Step 10: Handle rules that cannot be directly migrated | COMMENT |
| LOW | docs/guide/migration/rules-4x-to-5x.md | 715 | ### Step 11: Deploy and test | COMMENT |
| LOW | …ef/modules/utils/schema-validator/integration-guide.md | 20 | ### Step 1: Include Headers | COMMENT |
| LOW | …ef/modules/utils/schema-validator/integration-guide.md | 28 | ### Step 2: Initialize During Module Startup | COMMENT |
| LOW | …ef/modules/utils/schema-validator/integration-guide.md | 52 | ### Step 3: Create Helper Function for Validation | COMMENT |
| LOW | …ef/modules/utils/schema-validator/integration-guide.md | 101 | ### Step 4: Validate Before Sending Data | COMMENT |
| LOW | …ef/modules/utils/schema-validator/integration-guide.md | 130 | ### Step 5: Implement Batch Deletion | COMMENT |
| LOW | …ef/modules/utils/schema-validator/integration-guide.md | 204 | ### Step 1: Include Headers | COMMENT |
| LOW | …ef/modules/utils/schema-validator/integration-guide.md | 212 | ### Step 2: Initialize During Module Startup | COMMENT |
| LOW | …ef/modules/utils/schema-validator/integration-guide.md | 232 | ### Step 3: Validate Before Sending Data | COMMENT |
| LOW | …ef/modules/utils/schema-validator/integration-guide.md | 270 | ### Step 4: Implement Batch Deletion | COMMENT |
| LOW | …s/ref/modules/utils/sync-protocol/integration-guide.md | 17 | ### Step 1: Include Required Headers | COMMENT |
| LOW | …s/ref/modules/utils/sync-protocol/integration-guide.md | 34 | ### Step 2: Initialize the Protocol | COMMENT |
| LOW | …s/ref/modules/utils/sync-protocol/integration-guide.md | 84 | ### Step 3: Persist Module Data | COMMENT |
| LOW | …s/ref/modules/utils/sync-protocol/integration-guide.md | 235 | ### Step 4: Process Manager Responses | COMMENT |
| LOW | …s/ref/modules/utils/sync-protocol/integration-guide.md | 261 | ### Step 5: Trigger Synchronization | COMMENT |
| LOW | docs/ref/modules/fim/architecture.md | 506 | #### Step 1: Database Entry Count Check | COMMENT |
| LOW | docs/ref/modules/fim/architecture.md | 534 | #### Step 2: Data Clean Notification | COMMENT |
| LOW | docs/ref/modules/fim/architecture.md | 562 | #### Step 3: Database Cleanup | COMMENT |
| LOW | …c/remoted/remoted_module/src/endpoints/authGateway.cpp | 145 | // Step 6: feed the exact body bytes (enforces the max-body cap). | COMMENT |
| LOW | …c/remoted/remoted_module/src/endpoints/authGateway.cpp | 157 | // Step 7: finalize + constant-time MAC comparison. | COMMENT |
| LOW | src/remoted/remoted_module/src/auth/authMiddleware.cpp | 211 | // Step 1: protocol version. An empty value here must mean "absent or | COMMENT |
| LOW | src/remoted/remoted_module/src/auth/authMiddleware.cpp | 223 | // Step 2: parse Authorization. | COMMENT |
| LOW⚡ | src/remoted/remoted_module/src/auth/authMiddleware.cpp | 242 | // Step 3: timestamp window. | COMMENT |
| LOW⚡ | src/remoted/remoted_module/src/auth/authMiddleware.cpp | 252 | // Step 4: look up the agent key. parseAuthorization() already guarantees parsed->agentId is | COMMENT |
| LOW | src/remoted/remoted_module/src/auth/authMiddleware.cpp | 300 | // Step 5: initialize AES-CMAC with the canonical prefix. The timestamp and the agent id are | COMMENT |
| LOW⚡ | src/remoted/src/legacy_task_delivery.c | 390 | // Step 1: lock_restart (execd, plain-text protocol) | COMMENT |
| LOW⚡ | src/remoted/src/legacy_task_delivery.c | 397 | // Step 2: open | COMMENT |
| LOW | src/remoted/src/legacy_task_delivery.c | 410 | // Step 3: write, chunked at a fixed 32KB (LEGACY_TASK_WPK_CHUNK_SIZE) -- a wire-protocol | COMMENT |
| LOW | src/remoted/src/legacy_task_delivery.c | 461 | // Step 4: close | COMMENT |
| LOW | src/remoted/src/legacy_task_delivery.c | 473 | // Step 5: sha1 -- compare the agent-reported hash against the expected one | COMMENT |
| LOW | src/remoted/src/legacy_task_delivery.c | 499 | // Step 6: upgrade | COMMENT |
| LOW⚡ | …dules/sync_protocol/tests/test_agent_sync_protocol.cpp | 3243 | // Step 1: Clear all DataContext | COMMENT |
| LOW⚡ | …dules/sync_protocol/tests/test_agent_sync_protocol.cpp | 3249 | // Step 2: Fetch pending DataValue items (onlyDataValues=true) | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 255 | // Step 1: Persist DataValue items | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 264 | // Step 2: Persist DataContext items | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 273 | // Step 3: Verify we have both types | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 277 | // Step 4: Clear all DataContext | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 280 | // Step 5: Fetch only DataValues | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1891 | // Step 2: Calculate new version | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1899 | // Step 3: Set new version on all modules | COMMENT |
| 37 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …asic_usage/test_orphan_promote_after_config_removal.py | 188 | # Step 1: agent is up via daemons_handler. The baseline scan has | COMMENT |
| LOW⚡ | …asic_usage/test_orphan_promote_after_config_removal.py | 201 | # Step 2: stop the agent, drop the realtime <directories> rule from | COMMENT |
| LOW | …c/remoted/remoted_module/src/endpoints/authGateway.cpp | 145 | // Step 6: feed the exact body bytes (enforces the max-body cap). | COMMENT |
| LOW | …c/remoted/remoted_module/src/endpoints/authGateway.cpp | 157 | // Step 7: finalize + constant-time MAC comparison. | COMMENT |
| LOW | src/remoted/remoted_module/src/auth/authMiddleware.cpp | 211 | // Step 1: protocol version. An empty value here must mean "absent or | COMMENT |
| LOW | src/remoted/remoted_module/src/auth/authMiddleware.cpp | 223 | // Step 2: parse Authorization. | COMMENT |
| LOW⚡ | src/remoted/remoted_module/src/auth/authMiddleware.cpp | 242 | // Step 3: timestamp window. | COMMENT |
| LOW⚡ | src/remoted/remoted_module/src/auth/authMiddleware.cpp | 252 | // Step 4: look up the agent key. parseAuthorization() already guarantees parsed->agentId is | COMMENT |
| LOW | src/remoted/remoted_module/src/auth/authMiddleware.cpp | 300 | // Step 5: initialize AES-CMAC with the canonical prefix. The timestamp and the agent id are | COMMENT |
| LOW⚡ | src/remoted/src/legacy_task_delivery.c | 390 | // Step 1: lock_restart (execd, plain-text protocol) | COMMENT |
| LOW⚡ | src/remoted/src/legacy_task_delivery.c | 397 | // Step 2: open | COMMENT |
| LOW | src/remoted/src/legacy_task_delivery.c | 410 | // Step 3: write, chunked at a fixed 32KB (LEGACY_TASK_WPK_CHUNK_SIZE) -- a wire-protocol | COMMENT |
| LOW | src/remoted/src/legacy_task_delivery.c | 461 | // Step 4: close | COMMENT |
| LOW | src/remoted/src/legacy_task_delivery.c | 473 | // Step 5: sha1 -- compare the agent-reported hash against the expected one | COMMENT |
| LOW | src/remoted/src/legacy_task_delivery.c | 499 | // Step 6: upgrade | COMMENT |
| LOW⚡ | …dules/sync_protocol/tests/test_agent_sync_protocol.cpp | 3243 | // Step 1: Clear all DataContext | COMMENT |
| LOW⚡ | …dules/sync_protocol/tests/test_agent_sync_protocol.cpp | 3249 | // Step 2: Fetch pending DataValue items (onlyDataValues=true) | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 255 | // Step 1: Persist DataValue items | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 264 | // Step 2: Persist DataContext items | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 273 | // Step 3: Verify we have both types | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 277 | // Step 4: Clear all DataContext | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 280 | // Step 5: Fetch only DataValues | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1891 | // Step 2: Calculate new version | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1899 | // Step 3: Set new version on all modules | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1974 | // Step 2: Get versions, calculate new version, and set it on all modules | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1983 | // Step 3: Trigger flush while still paused. | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1993 | // Step 4: Resume all modules immediately. The pause window is now minimized to: | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 2000 | // Step 5: Wait for flush completion before handing the new version to the manager. | COMMENT |
| LOW | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1834 | // Step 1: Get version from each module | COMMENT |
| LOW | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1953 | // Step 1: Pause all coordination modules | COMMENT |
| LOW | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 2023 | // Step 6: Build indices list based on enabled modules and synchronize. | COMMENT |
| LOW⚡ | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 2770 | // Step 0: Clear any existing DataContext from previous scans | COMMENT |
| LOW⚡ | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 2774 | // Step 1: Fetch pending DataValue items from syscollector_vd_sync.db | COMMENT |
| LOW⚡ | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 2782 | // Step 2: Build exclusion sets - IDs of items already submitted as DataValue | COMMENT |
| LOW⚡ | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 2791 | // Step 3: Determine what DataContext tables are needed based on platform rules | COMMENT |
| LOW | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 2809 | // Step 4: Fetch and submit DataContext for each required table | COMMENT |
| LOW | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 3694 | // Step 1: Generate stateful DELETE events for each excess record | COMMENT |
| LOW | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 3726 | // Step 2: Reset sync flag to 0 for these records | COMMENT |
| LOW | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 5016 | // Step 1: Delete all rows in a transaction | COMMENT |
| LOW | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 5045 | // Step 2: Re-insert rows with new sync value in a transaction to force commit | COMMENT |
| LOW | src/logcollector/src/logcollector.c | 1533 | /* Because Windows cache's files, we need to check if the file | COMMENT |
| LOW⚡ | src/engine/test/acceptance_test/acceptance_test.sh | 434 | # Step 1: Stop manager | COMMENT |
| LOW⚡ | src/engine/test/acceptance_test/acceptance_test.sh | 437 | # Step 2: Start analysisd | COMMENT |
| LOW⚡ | src/engine/test/acceptance_test/acceptance_test.sh | 440 | # Step 3: Wait for engine ready | COMMENT |
| LOW⚡ | src/engine/test/acceptance_test/acceptance_test.sh | 443 | # Step 4: Start resource monitor | COMMENT |
| LOW⚡ | src/engine/test/acceptance_test/acceptance_test.sh | 446 | # Step 5: Grace period before benchmark | COMMENT |
| LOW⚡ | src/engine/test/acceptance_test/acceptance_test.sh | 466 | # Step 7: Grace period after benchmark | COMMENT |
| LOW⚡ | src/engine/test/acceptance_test/acceptance_test.sh | 470 | # Step 8: Stop monitor & analysisd | COMMENT |
| LOW⚡ | src/engine/source/api/cmcrud/src/handlers.cpp | 439 | // Step 1: Import into temp namespace (validates structure). | COMMENT |
| LOW⚡ | src/engine/source/api/cmcrud/src/handlers.cpp | 449 | // Step 2: If has integrations, post a tester entry to validate | COMMENT |
| LOW | src/engine/source/api/cmcrud/src/handlers.cpp | 470 | // Step 3: Decide what to do with the persistent test session. | COMMENT |
| LOW⚡ | src/engine/source/iockvdb/src/manager.cpp | 422 | // Step 1: Atomically transfer instance from source to target | COMMENT |
| LOW⚡ | src/engine/source/iockvdb/src/manager.cpp | 426 | // Step 2: Enqueue old target instance for safe deletion | COMMENT |
| LOW | src/engine/source/router/src/router.cpp | 169 | // Step 1: Create new environment WITHOUT any lock | COMMENT |
| LOW | src/engine/source/router/src/router.cpp | 181 | // Step 2: Atomically swap the environment | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …r_benchmark/sample_payloads/dumps/sca_full_ubuntu.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM⚡ | …r_benchmark/sample_payloads/dumps/sca_full_ubuntu.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM⚡ | …r_benchmark/sample_payloads/dumps/sca_full_ubuntu.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM⚡ | …_benchmark/sample_payloads/dumps/sca_full_windows.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM⚡ | …_benchmark/sample_payloads/dumps/sca_full_windows.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM⚡ | …_benchmark/sample_payloads/dumps/sca_full_windows.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM⚡ | …_benchmark/sample_payloads/dumps/sca_full_windows.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM⚡ | …_benchmark/sample_payloads/dumps/sca_full_windows.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM⚡ | …r_benchmark/sample_payloads/dumps/sca_full_centos.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM⚡ | …r_benchmark/sample_payloads/dumps/sca_full_centos.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM⚡ | …r_benchmark/sample_payloads/dumps/sca_full_centos.json | 1 | {"metadata":{"module":"sca","mode":"ModuleFull","option":"Sync","indices":["wazuh-states-sca"]},"items":[{"seq":0,"opera | CODE |
| MEDIUM | ruleset/sca/windows/cis_win2012_non_r2.yml | 3499 | # 2.3.17.5 (L1) Ensure 'User Account Control: Only elevate UIAccess applications that are installed in secure location | COMMENT |
| MEDIUM | ruleset/sca/windows/cis_win2012_non_r2.yml | 8057 | # 18.6.11.3 (L1) Ensure 'Require domain users to elevate when setting a network's location' is set to 'Enabled'. (Auto | COMMENT |
| MEDIUM | ruleset/sca/windows/cis_win2012_non_r2.yml | 8143 | remediation: "To establish the recommended configuration, set the following Registry value to 0xff (255) (DWORD): HK | CODE |
| MEDIUM | ruleset/sca/windows/cis_win2012_non_r2.yml | 12050 | impact: "Users can't access OneDrive from the OneDrive app and file picker. Windows Store apps can't access OneDrive | CODE |
| MEDIUM | ruleset/sca/windows/cis_win2012_non_r2.yml | 13746 | description: 'This policy setting specifies whether computers in your environment will receive security updates from | CODE |
| MEDIUM | ruleset/sca/windows/cis_win2012r2.yml | 3223 | # 2.3.17.5 (L1) Ensure 'User Account Control: Only elevate UIAccess applications that are installed in secure location | COMMENT |
| MEDIUM | ruleset/sca/windows/cis_win2012r2.yml | 7675 | # 18.6.11.3 (L1) Ensure 'Require domain users to elevate when setting a network's location' is set to 'Enabled'. (Auto | COMMENT |
| MEDIUM | ruleset/sca/windows/cis_win2012r2.yml | 7720 | remediation: "To establish the recommended configuration, set the following Registry value to 0xff (255) (DWORD): HK | CODE |
| MEDIUM | ruleset/sca/windows/cis_win2012r2.yml | 11824 | impact: "Users can't access OneDrive from the OneDrive app and file picker. Windows Store apps can't access OneDrive | CODE |
| MEDIUM | ruleset/sca/windows/cis_win2012r2.yml | 13670 | description: 'This policy setting specifies whether computers in your environment will receive security updates from | CODE |
| MEDIUM | framework/wazuh/core/mitre.py | 878 | """This function loads the MITRE data in order to speed up the use of the Framework function. | STRING |
| MEDIUM | framework/wazuh/core/cluster/tests/test_worker.py | 196 | """Mock method in order to obtain a particular output.""" | STRING |
| MEDIUM | framework/wazuh/core/cluster/tests/test_worker.py | 232 | """Mock method in order to obtain a particular output.""" | STRING |
| MEDIUM | framework/wazuh/tests/data/schema_mitre_test.sql | 259 | INSERT INTO mitigation VALUES('course-of-action--aeff5887-8f9e-48d5-a523-9b395e2ce80a','Credential Dumping Mitigation',r | CODE |
| MEDIUM | framework/wazuh/tests/data/schema_mitre_test.sql | 518 | INSERT INTO use VALUES('relationship--dc10e96f-1d3c-4ab9-8df6-acdc8238ec6c','intrusion-set--bef4c620-0787-42a8-a96d-b7eb | CODE |
| MEDIUM | …/workflows/5_testintegration_inventory-sync-server.yml | 48 | # The QA harness: --serve boots the real server (and would boot the real | COMMENT |
| MEDIUM | wodles/aws/tests/test_guardduty.py | 155 | """Test 'send_event' method makes the necessary calls in order to send the event to Analysisd.""" | STRING |
| MEDIUM | wodles/aws/tests/test_vpcflow.py | 173 | """Test 'iter_regions_and_accounts' method makes the necessary calls in order to process the bucket's files. | STRING |
| MEDIUM | wodles/aws/tests/test_aws_bucket.py | 609 | """Test 'iter_regions_and_accounts' method makes the necessary calls in order to process the bucket's files.""" | STRING |
| MEDIUM | wodles/aws/tests/test_aws_bucket.py | 631 | """Test 'send_event' method makes the necessary calls in order to send an event to Analysisd.""" | STRING |
| MEDIUM | wodles/aws/tests/test_aws_bucket.py | 791 | """Test 'check_bucket' method makes the necessary method calls in order to verify that the bucket is not empty.""" | STRING |
| MEDIUM | wodles/aws/tests/test_aws_bucket.py | 1131 | """Test 'iter_regions_and_accounts' method makes the necessary calls in order to process the bucket's files.""" | STRING |
| MEDIUM | wodles/aws/tests/test_cloudwatchlogs.py | 82 | """Test 'get_alerts' method makes the expected calls in order to fetch the events and send them to Analysisd. | STRING |
| MEDIUM | wodles/aws/tests/test_cloudwatchlogs.py | 126 | """Test 'remove_aws_log_stream' method makes the necessary calls in order to remove the specified log stream | STRING |
| MEDIUM | …ed/remoted_module/test/unit/statelessEndpoint_test.cpp | 169 | // full pipeline, but validatePayloadIdentity() must still be robust to it on its own contract. | COMMENT |
| MEDIUM | src/client-agent/https_client/demo/mock_manager.py | 13 | # Not production code; a demo harness only. | COMMENT |
| MEDIUM | src/engine/test/acceptance_test/acceptance_test.sh | 3 | # acceptance_test.sh – Engine benchmark harness | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/scripts/tests/test_agent_groups.py | 376 | CODE | |
| LOW | framework/wazuh/security.py | 70 | CODE | |
| LOW | framework/wazuh/security.py | 300 | CODE | |
| LOW | framework/wazuh/security.py | 472 | CODE | |
| LOW | framework/wazuh/security.py | 651 | CODE | |
| LOW | framework/wazuh/mitre.py | 32 | CODE | |
| LOW | framework/wazuh/mitre.py | 79 | CODE | |
| LOW | framework/wazuh/mitre.py | 124 | CODE | |
| LOW | framework/wazuh/mitre.py | 171 | CODE | |
| LOW | framework/wazuh/mitre.py | 218 | CODE | |
| LOW | framework/wazuh/mitre.py | 265 | CODE | |
| LOW | framework/wazuh/agent.py | 384 | CODE | |
| LOW | framework/wazuh/agent.py | 445 | CODE | |
| LOW | framework/wazuh/agent.py | 641 | CODE | |
| LOW | framework/wazuh/agent.py | 722 | CODE | |
| LOW | framework/wazuh/agent.py | 1173 | CODE | |
| LOW | framework/wazuh/manager.py | 143 | CODE | |
| LOW | framework/wazuh/core/results.py | 330 | CODE | |
| LOW | framework/wazuh/core/results.py | 347 | CODE | |
| LOW | framework/wazuh/core/utils.py | 71 | CODE | |
| LOW | framework/wazuh/core/mitre.py | 41 | CODE | |
| LOW | framework/wazuh/core/mitre.py | 184 | CODE | |
| LOW | framework/wazuh/core/mitre.py | 239 | CODE | |
| LOW | framework/wazuh/core/mitre.py | 294 | CODE | |
| LOW | framework/wazuh/core/mitre.py | 350 | CODE | |
| LOW | framework/wazuh/core/mitre.py | 436 | CODE | |
| LOW | framework/wazuh/core/mitre.py | 493 | CODE | |
| LOW | framework/wazuh/core/mitre.py | 576 | CODE | |
| LOW | framework/wazuh/core/mitre.py | 685 | CODE | |
| LOW | framework/wazuh/core/mitre.py | 784 | CODE | |
| LOW | framework/wazuh/core/agent.py | 1338 | CODE | |
| LOW | framework/wazuh/core/agent.py | 1488 | CODE | |
| LOW | framework/wazuh/core/agent.py | 69 | CODE | |
| LOW | framework/wazuh/core/agent.py | 362 | CODE | |
| LOW | framework/wazuh/core/agent.py | 1074 | CODE | |
| LOW | framework/wazuh/core/agent.py | 1013 | CODE | |
| LOW | framework/wazuh/core/cluster/server.py | 466 | CODE | |
| LOW | framework/wazuh/core/cluster/control.py | 15 | CODE | |
| LOW | framework/wazuh/core/cluster/dapi/dapi.py | 48 | CODE | |
| LOW | api/api/middlewares.py | 385 | CODE | |
| LOW | api/api/controllers/cluster_controller.py | 56 | CODE | |
| LOW | api/api/controllers/cluster_controller.py | 379 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 27 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 98 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 430 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 514 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 734 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 798 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 976 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 1281 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 1330 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 1380 | CODE | |
| LOW | api/api/controllers/security_controller.py | 195 | CODE | |
| LOW | api/api/controllers/security_controller.py | 389 | CODE | |
| LOW | api/api/controllers/security_controller.py | 547 | CODE | |
| LOW | api/api/controllers/security_controller.py | 705 | CODE | |
| LOW | api/api/controllers/mitre_controller.py | 47 | CODE | |
| LOW | api/api/controllers/mitre_controller.py | 106 | CODE | |
| LOW | api/api/controllers/mitre_controller.py | 168 | CODE | |
| LOW | api/api/controllers/mitre_controller.py | 228 | CODE | |
| 11 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ger_benchmark/tool_simulator/internal/runner/runner.go | 343 | ki := r.scn.Defaults.Control.KeepaliveInterval.D() | CODE |
| CRITICAL | …ager_benchmark/tool_simulator/internal/runner/agent.go | 119 | interval := a.r.scn.Defaults.Control.KeepaliveInterval.D() | CODE |
| CRITICAL | …ager_benchmark/tool_simulator/internal/runner/agent.go | 204 | repeatUntil := a.r.scn.Pacing.RepeatUntil.D() | CODE |
| CRITICAL | wodles/azure/azure_services/storage.py | 15 | from azure.core.exceptions import AzureError, ClientAuthenticationError, HttpResponseError, ResourceExistsError, \ | CODE |
| CRITICAL | wodles/azure/tests/azure_services/test_storage.py | 18 | from azure.core.exceptions import AzureError, ClientAuthenticationError, HttpResponseError, ResourceModifiedError | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/wazuh/core/tests/test_configuration.py | 492 | configuration.write_ossec_conf(new_conf="placeholder") | CODE |
| LOW | wodles/gcloud/tests/test_subscriber.py | 138 | pubsub.subscriber.pull.side_effect = google_exceptions.DeadlineExceeded("placeholder") | CODE |
| LOW | wodles/gcloud/tests/test_bucket.py | 331 | mock_client.get_bucket.side_effect = google_exception("placeholder") | CODE |
| LOW | wodles/aws/tests/test_aws_bucket.py | 1420 | result = instance.load_information_from_file('fake_key') | CODE |
| LOW | wodles/aws/tests/test_aws_bucket.py | 1440 | instance.load_information_from_file('fake_key') | CODE |
| LOW⚡ | src/remoted/remoted_module/tools/send_agent_json.py | 219 | fake_id, fake_key = "999999", bytes(32) # an id that (almost certainly) isn't enrolled | CODE |
| LOW⚡ | src/remoted/remoted_module/tools/send_agent_json.py | 220 | return _auth_header(fake_id, fake_key, "1", "POST", target, int(time.time()), body), body | CODE |
| LOW⚡ | src/remoted/remoted_module/tools/send_stateless.py | 155 | fake_id, fake_key = "999999", bytes(32) # an id that (almost certainly) isn't enrolled | CODE |
| LOW⚡ | src/remoted/remoted_module/tools/send_stateless.py | 156 | headers = _auth_header(fake_id, fake_key, "1", "POST", target, int(time.time()), body) | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 102 | {"name", "John Doe"}, | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 108 | {"address", {{"street", "123 Main St"}, {"city", "New York"}}} | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 121 | nlohmann::json message = {{"name", "John Doe"}, {"age", "not a number"}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 134 | nlohmann::json message = {{"name", "John Doe"}, {"age", "30"}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 147 | nlohmann::json message = {{"name", "John Doe"}, {"age", 30.5}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 162 | {"name", "John Doe"}, {"age", 30}, {"extra_field", "not allowed"} | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 179 | {"name", "John Doe"}, {"age", 30}, {"extra_field", nullptr} | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 195 | {"name", "John Doe"}, | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 197 | {"address", {{"street", "123 Main St"}, {"city", "New York"}, {"extra", nullptr}}} | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 213 | {"name", "John Doe"}, | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 215 | {"address", {{"street", "123 Main St"}, {"city", "New York"}, {"extra", "not allowed"}}} | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 229 | nlohmann::json message = {{"name", "John Doe"}, | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 231 | {"address", {{"street", "123 Main St"}, {"city", "New York"}}} | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 245 | nlohmann::json message = {{"name", "John Doe"}, {"age", 30}, {"created_at", 1735468800000}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 258 | nlohmann::json message = {{"name", "John Doe"}, {"age", 30}, {"created_at", 1735468800}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 271 | nlohmann::json message = {{"name", "John Doe"}, {"age", 30}, {"created_at", "2025-12-29T10:00:00.000Z"}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 284 | nlohmann::json message = {{"name", "John Doe"}, {"age", 30}, {"created_at", "123"}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 297 | nlohmann::json message = {{"name", "John Doe"}, {"age", 30}, {"created_at", true}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 331 | {"name", "John Doe"}, | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 346 | std::string messageStr = R"({"name": "John Doe", "age": 30, "email": "john@example.com"})"; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 358 | std::string messageStr = R"({"name": "John Doe", "age": 30,})"; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 398 | nlohmann::json message = {{"name", nlohmann::json::array({"John Doe", "Jane Doe"})}, {"age", 30}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 398 | nlohmann::json message = {{"name", nlohmann::json::array({"John Doe", "Jane Doe"})}, {"age", 30}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 424 | nlohmann::json message = {{"name", "John Doe"}, {"age", nlohmann::json::array({30, 31, 32})}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 439 | {"name", "John Doe"}, | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 490 | nlohmann::json message = {{"name", "John Doe"}, {"age", nlohmann::json::array({30, "invalid"})}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 504 | nlohmann::json message = {{"name", "John Doe"}, {"is_active", "true"}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 517 | nlohmann::json message = {{"name", "John Doe"}, {"is_active", "false"}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 530 | nlohmann::json message = {{"name", "John Doe"}, {"is_active", 1}}; | CODE |
| LOW | …odules/schema_validator/tests/schemaValidator_test.cpp | 543 | nlohmann::json message = {{"name", "John Doe"}, {"is_active", "yes"}}; | CODE |
| LOW | src/unit_tests/syscheckd/test_run_realtime.c | 212 | node->key = "dummy_key"; | CODE |
| LOW⚡ | src/unit_tests/syscheckd/test_run_realtime.c | 526 | const char *dummy_key = "1"; | CODE |
| LOW⚡ | src/unit_tests/syscheckd/test_run_realtime.c | 532 | __real_OSHash_Add_ex(syscheck.realtime->dirtb, dummy_key, (void *) path); | CODE |
| LOW⚡ | src/unit_tests/syscheckd/test_run_realtime.c | 540 | expect_string(__wrap_OSHash_Get_ex, key, dummy_key); | CODE |
| LOW | src/unit_tests/syscheckd/test_run_realtime.c | 829 | expect_string(__wrap_OSHash_Delete_ex, key, "dummy_key"); | CODE |
| LOW | src/unit_tests/syscheckd/test_run_realtime.c | 922 | expect_string(__wrap_OSHash_Delete_ex, key, "dummy_key"); | CODE |
| LOW | src/engine/source/yml/test/src/unit/yml_test.cpp | 80 | "street": "123 Main St", | CODE |
| LOW | src/engine/source/yml/test/src/unit/yml_test.cpp | 101 | street: "123 Main St" | CODE |
| LOW | src/engine/source/yml/test/src/unit/yml_test.cpp | 146 | "street": "123 Main St", | CODE |
| LOW | src/engine/source/yml/test/src/unit/yml_test.cpp | 183 | "street": "123 Main St", | CODE |
| LOW | src/engine/source/yml/test/src/unit/yml_test.cpp | 213 | "street": "123 Main St", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/purge_wazuh.sh | 5 | # Usage: | COMMENT |
| LOW⚡ | tools/manager_benchmark/cleanup_agents.sh | 11 | # Usage: | COMMENT |
| LOW | tools/manager_benchmark/run_matrix.sh | 10 | # Usage: | COMMENT |
| LOW | tools/manager_benchmark/run_benchmark.sh | 15 | # Usage: | COMMENT |
| LOW | tools/manager_benchmark/scrape_metrics.sh | 17 | # Usage: | COMMENT |
| LOW | tools/manager_benchmark/prepare_manager.sh | 22 | # Usage: | COMMENT |
| LOW⚡ | src/engine/tools/devContainer/scripts/pr-clang.sh | 8 | # Usage: | COMMENT |
| LOW | …/tools/devContainer/scripts/clean-unused-containers.sh | 15 | # Usage: | COMMENT |
| LOW | …gine/tools/devContainer/scripts/toggle_event_dumper.sh | 4 | # Usage: | COMMENT |
| LOW | src/engine/internal_packages/debs/SPECS/build_venv.sh | 10 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/wazuh/core/wdb_http.py | 208 | async def set_agents_sync(self, agents_sync: dict) -> None: | CODE |
| LOW | tests/integration/conftest.py | 196 | def set_wazuh_configuration(request: pytest.FixtureRequest, test_configuration: dict) -> None: | CODE |
| LOW | tests/integration/test_api/test_rbac/conftest.py | 12 | def set_security_resources(wait_for_api_start, test_metadata: dict) -> None: | CODE |
| LOW | tests/integration/test_aws/conftest.py | 773 | def set_test_sqs_queue(metadata: dict, sqs_manager, s3_client) -> None: | CODE |
| LOW | tests/integration/test_aws/configurator.py | 76 | def _set_session_id(self) -> None: | CODE |
| LOW⚡ | wodles/gcloud/tests/test_exceptions.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | wodles/gcloud/tests/test_access_logs.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | wodles/azure/tests/test_db_utils.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | wodles/azure/tests/test_azure_logs.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | wodles/tests/test_utils.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | wodles/tests/test_aws_tools.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | wodles/tests/test_docker_listener.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | wodles/aws/buckets_s3/__init__.py | 15 | __all__ = [ | CODE |
| LOW | wodles/aws/subscribers/__init__.py | 10 | __all__ = [ | CODE |
| LOW | wodles/aws/services/__init__.py | 9 | __all__ = [ | CODE |
| LOW | …e/tools/engine-schema/src/engine_schema/cmds/_types.py | 26 | def update_types_file(mappings_wrapper: Dict[str, Any], output_path: Union[Path, str]) -> None: | CODE |
| LOW | …e/test/engine-test-utils/src/engine_handler/handler.py | 49 | def _set_env(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/guide/migration/integratord-notifications.md | 193 | <api_key>YOUR_API_KEY</api_key> | CODE |
| HIGH | docs/guide/migration/integratord-notifications.md | 202 | <api_key>YOUR_API_KEY</api_key> | CODE |
| HIGH | docs/guide/migration/virustotal-migration.md | 19 | <api_key>YOUR_API_KEY</api_key> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | framework/wazuh/core/tests/test_decorators.py | 9 | def test_function(): | CODE |
| LOW⚡ | framework/wazuh/core/tests/test_decorators.py | 21 | def test_function(a, b, c=0): | CODE |
| LOW⚡ | framework/wazuh/core/tests/test_decorators.py | 32 | async def test_function(): | CODE |
| LOW⚡ | framework/wazuh/core/tests/test_decorators.py | 46 | async def test_function(a, b): | CODE |
| LOW⚡ | framework/wazuh/core/tests/test_decorators.py | 58 | def test_function(): | CODE |
| LOW⚡ | framework/wazuh/core/tests/test_decorators.py | 68 | def test_function(): | CODE |
| LOW | wodles/gcloud/integration.py | 79 | def process_data(self): | CODE |
| LOW | wodles/gcloud/buckets/bucket.py | 233 | def process_data(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/shared_modules/utils/socketWrapper.hpp | 467 | // TODO: Handle error | COMMENT |
| LOW | src/shared_modules/utils/socketWrapper.hpp | 472 | // TODO: Handle error | COMMENT |
| LOW | src/shared_modules/utils/socketWrapper.hpp | 616 | // TODO: Handle error | COMMENT |
| LOW | src/shared_modules/utils/socketWrapper.hpp | 621 | // TODO: Handle error | COMMENT |
| LOW | src/shared_modules/utils/socketWrapper.hpp | 775 | // TODO: Handle error | COMMENT |
| LOW | src/shared_modules/utils/socketWrapper.hpp | 780 | // TODO: Handle error | COMMENT |
| LOW | src/engine/source/base/include/base/utils/ipUtils.hpp | 32 | // TODO: implement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/5_testunit_contentmanager.yml | 73 | # module's orchestration layer (contentModule, contentModuleFacade, actionOrchestrator, | COMMENT |
| MEDIUM | src/remoted/remoted_module/README.md | 1245 | └── deferredForwarder.hpp/.cpp# limiter + client + per-endpoint post-processing pool orchestration | CODE |
| MEDIUM | src/engine/test/acceptance_test/README.md | 10 | ├── acceptance_test.sh # Main orchestration script | CODE |
| MEDIUM | src/engine/source/README.md | 162 | ## Startup & dependency injection (`main.cpp`) | COMMENT |