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,108 GitHub stars. SynthScan v2.0 examined 1,688,094 lines of code across 5316 source files, recording 5031 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 4.9 places this repository in the Likely human-written 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 5031 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/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 | 178 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 180 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 261 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 263 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 423 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 425 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 481 | # ============================================================ | COMMENT |
| MEDIUM | …re/cluster/tests/test_cluster_name_sync_integration.py | 483 | # ============================================================ | COMMENT |
| MEDIUM⚡ | framework/wazuh/core/tests/test_engine_http.py | 195 | # ── ModulesdHTTPClient ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 628 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 630 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 727 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 729 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 895 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 897 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 966 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 968 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1122 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1124 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1247 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1249 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1427 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1429 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1619 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1621 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1723 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1725 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1784 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1786 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 2080 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 2082 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 2160 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 2162 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 177 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 179 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 212 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 214 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 400 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 402 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1064 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1066 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …work/wazuh/core/indexer/tests/test_metrics_snapshot.py | 1344 | # --------------------------------------------------------------------------- | COMMENT |
| 709 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 | 32 | def test_get_script_arguments(mock_ArgumentParser): | CODE |
| LOW | framework/scripts/tests/test_agent_upgrade.py | 223 | async def test_main_internal_error_ko(capfd): | CODE |
| LOW | framework/scripts/tests/test_wazuh_manager_clusterd.py | 256 | 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 | 292 | def add_mutually_exclusive_group(self): | CODE |
| LOW | framework/wazuh/security.py | 1192 | def revoke_current_user_tokens() -> WazuhResult: | CODE |
| LOW | framework/wazuh/stats.py | 185 | def get_agents_component_stats_json(agent_list: list = None, component: str = None) -> AffectedItemsWazuhResult: | CODE |
| LOW | framework/wazuh/agent.py | 122 | def get_agents_summary_status(agent_list: list[str] = None) -> WazuhResult: | CODE |
| LOW | framework/wazuh/agent.py | 1578 | 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 |
| 1494 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 | framework/wazuh/core/cluster/hap_helper/wazuh.py | 0 | returns the configured logger. parameters ---------- tag : str tag to use in log filter. returns ------- logging.logger | STRING |
| HIGH | framework/wazuh/core/cluster/hap_helper/proxy.py | 0 | returns the configured logger. parameters ---------- tag : str tag to use in log filter. returns ------- logging.logger | STRING |
| HIGH | framework/wazuh/core/cluster/hap_helper/hap_helper.py | 0 | returns the configured logger. parameters ---------- tag : str tag to use in log filter. returns ------- logging.logger | 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 | …oted/test_active_response/test_active_response_send.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 | 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 |
| 117 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/purge_wazuh.sh | 1 | #!/usr/bin/env bash | 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 | # 7.2.4 Ensure shadow group is empty. (Automated) - Not Implemented | 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 |
| LOW | ruleset/sca/centos/9/cis_centos9_linux.yml | 9641 | condition: all | COMMENT |
| LOW | ruleset/sca/centos/7/cis_centos7_linux.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/centos/6/cis_centos6_linux.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/centos/10/cis_centos10_linux.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/centos/10/cis_centos10_linux.yml | 3981 | - "Masquerading" | COMMENT |
| LOW | ruleset/sca/centos/10/cis_centos10_linux.yml | 9641 | condition: all | COMMENT |
| LOW | ruleset/sca/centos/8/cis_centos8_linux.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/centos/8/cis_centos8_linux.yml | 3981 | - "Masquerading" | COMMENT |
| LOW | ruleset/sca/centos/8/cis_centos8_linux.yml | 9641 | condition: all | COMMENT |
| LOW | ruleset/sca/rhel/9/cis_rhel9_linux.yml | 1 | # Security Configuration Assessment | COMMENT |
| LOW | ruleset/sca/rhel/9/cis_rhel9_linux.yml | 3321 | condition: all | COMMENT |
| LOW | ruleset/sca/rhel/9/cis_rhel9_linux.yml | 3341 | # 3.3 Network Parameters (Host and Router) | COMMENT |
| LOW | ruleset/sca/rhel/9/cis_rhel9_linux.yml | 3981 | - c:auditctl -l -> r:-w /etc/sudoers -p wa -k scope|-w /etc/sudoers -p wa key=scope | COMMENT |
| LOW | ruleset/sca/rhel/9/cis_rhel9_linux.yml | 7301 | condition: all | COMMENT |
| LOW | ruleset/sca/rhel/9/cis_rhel9_linux.yml | 7461 | # 6.2.12 Ensure local interactive users home directories are mode 750 or more restrictive - Not implemented, requires | COMMENT |
| LOW | ruleset/sca/rhel/7/cis_rhel7_linux.yml | 1 | # Security Configuration Assessment. | COMMENT |
| 754 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 25 | except Exception as e: | CODE |
| MEDIUM | framework/scripts/agent_upgrade.py | 26 | print("Error importing 'Wazuh' package.\n\n{0}\n".format(e)) | CODE |
| MEDIUM⚡ | framework/scripts/agent_upgrade.py | 227 | print(f"Error {wazuh_err.code}: {wazuh_err.message}") | CODE |
| MEDIUM⚡ | framework/scripts/agent_upgrade.py | 231 | print(f"Error {getattr(e, 'ext', {}).get('code', e.status)}: {str(e.detail)}") | CODE |
| LOW⚡ | framework/scripts/agent_upgrade.py | 234 | except Exception as unexpected_err: | CODE |
| MEDIUM | framework/scripts/agent_upgrade.py | 197 | def main(): | CODE |
| LOW | framework/scripts/cluster_control.py | 292 | 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 | 208 | except Exception as e: | CODE |
| LOW | framework/scripts/wazuh_manager_clusterd.py | 214 | except Exception as e: | CODE |
| LOW | framework/scripts/wazuh_manager_clusterd.py | 249 | except Exception as e: | CODE |
| LOW | framework/scripts/wazuh_manager_clusterd.py | 271 | 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 | 861 | except Exception as e: | CODE |
| LOW | framework/wazuh/agent.py | 914 | 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 | 849 | except Exception as e: | CODE |
| LOW⚡ | framework/wazuh/core/configuration.py | 857 | except Exception as e: | CODE |
| LOW⚡ | framework/wazuh/core/configuration.py | 861 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 426 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 475 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 521 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 600 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 825 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/configuration.py | 980 | except Exception as unhandled_exc: | CODE |
| LOW | framework/wazuh/core/configuration.py | 1008 | except Exception as unhandled_exc: | CODE |
| LOW | framework/wazuh/core/configuration.py | 1037 | except Exception as unhandled_exc: | CODE |
| LOW | framework/wazuh/core/configuration.py | 1089 | 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/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 | 50 | except Exception: | CODE |
| LOW | framework/wazuh/core/agent.py | 842 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/agent.py | 910 | except Exception: | CODE |
| LOW | framework/wazuh/core/agent.py | 915 | except Exception: | CODE |
| LOW | framework/wazuh/core/agent.py | 934 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/agent.py | 1138 | except Exception as e: | CODE |
| LOW | framework/wazuh/core/wazuh_queue.py | 53 | except Exception: | CODE |
| 365 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 159 | CODE | |
| LOW | framework/scripts/cluster_control.py | 253 | CODE | |
| LOW | framework/scripts/tests/test_wazuh_manager_clusterd.py | 39 | CODE | |
| LOW | framework/scripts/tests/test_wazuh_manager_clusterd.py | 95 | CODE | |
| LOW | framework/scripts/tests/test_wazuh_manager_clusterd.py | 165 | CODE | |
| LOW | framework/scripts/tests/test_wazuh_manager_clusterd.py | 287 | 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 | 19 | CODE | |
| LOW | framework/wazuh/agent.py | 122 | CODE | |
| LOW | framework/wazuh/agent.py | 205 | CODE | |
| LOW | framework/wazuh/agent.py | 585 | CODE | |
| LOW | framework/wazuh/agent.py | 698 | CODE | |
| LOW | framework/wazuh/agent.py | 922 | CODE | |
| LOW | framework/wazuh/agent.py | 1222 | CODE | |
| LOW | framework/wazuh/agent.py | 1341 | 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 | 37 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 108 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 220 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 273 | CODE | |
| LOW | framework/wazuh/rbac/auth_context.py | 315 | 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 | |
| 282 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | framework/wazuh/__init__.py | 10 | CODE | |
| LOW | framework/wazuh/__init__.py | 10 | 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 | 24 | 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/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/tests/test_stats.py | 7 | CODE | |
| LOW | framework/wazuh/core/tests/test_task.py | 11 | 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_pyDaemonModule.py | 8 | CODE | |
| LOW | framework/wazuh/core/tests/test_manager.py | 14 | CODE | |
| LOW | framework/wazuh/core/indexer/disconnected_agents.py | 1 | CODE | |
| LOW | …rk/wazuh/core/indexer/tests/test_credential_manager.py | 7 | CODE | |
| LOW | framework/wazuh/tests/test_task.py | 7 | CODE | |
| LOW | framework/wazuh/tests/test_manager.py | 23 | CODE | |
| LOW | tests/integration/test_syscollector/conftest.py | 20 | CODE | |
| LOW | tests/integration/test_syscollector/conftest.py | 22 | CODE | |
| LOW | tests/integration/test_syscollector/conftest.py | 22 | CODE | |
| LOW | tests/integration/test_syscollector/conftest.py | 22 | CODE | |
| LOW | tests/integration/test_syscollector/conftest.py | 22 | 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 | |
| LOW | …/test_configurations/test_rids_invalid_closing_time.py | 23 | CODE | |
| LOW | tests/integration/test_remoted/test_rids/test_rids.py | 13 | CODE | |
| LOW | tests/integration/test_remoted/test_rids/test_config.py | 15 | CODE | |
| LOW | …emoted/test_socket_communication/test_ping_pong_msg.py | 16 | CODE | |
| LOW | …ation/test_sca/test_basic/test_validate_remediation.py | 41 | CODE | |
| LOW | …/integration/test_sca/test_basic/test_mitre_payload.py | 53 | CODE | |
| LOW | …egration/test_sca/test_basic/test_compliance_format.py | 40 | CODE | |
| LOW | …egration/test_sca/test_basic/test_compliance_format.py | 42 | CODE | |
| LOW | …egration/test_sca/test_basic/test_compliance_format.py | 49 | CODE | |
| LOW | tests/integration/test_enrollment/conftest.py | 7 | CODE | |
| LOW | tests/integration/test_enrollment/conftest.py | 8 | CODE | |
| LOW | tests/integration/test_logcollector/utils.py | 6 | CODE | |
| LOW | …r/test_configuration/test_basic_configuration_label.py | 74 | CODE | |
| 222 more matches not shown… | ||||
| 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 | 310 | # Check if cluster is disabled and first condition | COMMENT |
| LOW | framework/wazuh/agent.py | 942 | # Check if group exists | COMMENT |
| LOW | framework/wazuh/agent.py | 997 | # Check if the group exists | COMMENT |
| LOW | framework/wazuh/agent.py | 1054 | # Check if agent and group exist | COMMENT |
| LOW | framework/wazuh/agent.py | 1094 | # Check if agent exists | COMMENT |
| LOW | framework/wazuh/agent.py | 1152 | # 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 | 317 | # Check if we have read the same filters before (we will need to merge them) | COMMENT |
| LOW | framework/wazuh/core/configuration.py | 894 | # Check if the group exists | COMMENT |
| LOW | framework/wazuh/core/configuration.py | 955 | # 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 | 794 | # Check if agent is active | COMMENT |
| LOW | framework/wazuh/core/agent.py | 1145 | # Check if the group already belongs to the agent | COMMENT |
| LOW | framework/wazuh/core/agent.py | 1267 | # Check if agent exists and the group exists | COMMENT |
| LOW | framework/wazuh/core/agent.py | 1347 | # Check if agent version is compatible with this feature | 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 | 512 | # Check if an integrity_check has already been performed | COMMENT |
| LOW | framework/wazuh/core/cluster/cluster.py | 200 | # Check if recursive flag is set or root is actually the initial lookup directory. | COMMENT |
| LOW | framework/wazuh/tests/test_agent.py | 830 | # 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 |
| 123 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ntegration/test_agentd/test_state/test_agentd_state.py | 162 | Request remoted_server the status of the agent Args: parameters: - expected_status: typ | STRING |
| 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 | 33 | Execute the command 'make clean' in the operating system. Args: - None Returns: - None | STRING |
| HIGH | src/ci/build_tools.py | 62 | Delete the contents of the external folder. Args: - None Returns: - None Raises: | STRING |
| HIGH | src/ci/build_tools.py | 90 | Delete a specific folder inside some module. Args: - moduleName(str): Main folder name. - addi | STRING |
| HIGH | src/ci/build_tools.py | 133 | Execute the command 'make clean-internals' in the operating system. Args: - None Returns: | STRING |
| HIGH | src/ci/build_tools.py | 162 | Execute the command 'make clean-windows' in the operating system. Args: - None Returns: - | STRING |
| HIGH | src/ci/build_tools.py | 191 | 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 | 223 | Configure cmake command with specific configuration based on the parameters passed to the function. Args: | STRING |
| HIGH | src/ci/build_tools.py | 279 | Get a map with configured folders to be deleted. Args: - None Returns: - DELETE_FOLDER_DI | STRING |
| HIGH | src/ci/build_tools.py | 295 | Use make command in order to download dependencies and after that build them. Args: - targetName(s | STRING |
| HIGH | src/ci/build_tools.py | 334 | Build a library. Args: - moduleName(str): Library to be built. Returns: - None Raise | STRING |
| HIGH | src/ci/build_tools.py | 368 | Build project with flags. Args: - targetName(str): Build type to be built < | STRING |
| HIGH | src/ci/utils.py | 50 | Get current path. Args: - None Returns: - path(str): Current path. Raises: - | STRING |
| HIGH | src/ci/utils.py | 66 | Delete logs generates for a module. Args: - moduleName(str): Library to be cleaned. Returns: | STRING |
| HIGH | src/ci/utils.py | 106 | 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 | 131 | Find a folder in some path. Args: - name(str): Folder to find. - path(str): Base path to find | STRING |
| HIGH | src/ci/utils.py | 157 | Return folders to be analyzed with AStyle coding style analysis tool. Args: - moduleName(str): Library | STRING |
| HIGH | src/ci/utils.py | 194 | Get directory path for a module. Args: - moduleName(str): Library to get the path of. Returns: | STRING |
| HIGH | src/ci/utils.py | 213 | Get directory path build for a module. Args: moduleName(str): Library to get the path of. Returns | STRING |
| HIGH | src/ci/utils.py | 232 | Get valid module list. Args: - None Returns: - MODULE_LIST(array): A list with valid modu | STRING |
| HIGH | src/ci/utils.py | 248 | Get valid module list. Args: - None Returns: - MODULE_LIST_STR(str): A list with valid mo | STRING |
| HIGH | src/ci/utils.py | 264 | Display a red message with the errors. Args: - msg(str): Message to show. Returns: - None | STRING |
| HIGH | src/ci/utils.py | 280 | Display a formatted green message. Args: - msg(str): Message to show. - module(str): Library u | STRING |
| HIGH | src/ci/utils.py | 301 | Display a message formatted from the HEADER_DIR map. Args: - moduleName(str): Library using in the mes | STRING |
| HIGH | src/ci/utils.py | 319 | Display a yellow message with some information. Args: - msg(str): Message to show. Returns: | STRING |
| HIGH | src/ci/utils.py | 335 | Display a message formatted from the HEADER_DIR map. Args: - moduleName(str): Library using in the mes | STRING |
| HIGH | src/ci/utils.py | 353 | Read a JSON path and convert to map. Args: - jsonFilePath(str): JSON path. Returns: - jso | STRING |
| HIGH | src/ci/utils.py | 377 | Get root path. Args: - None Returns: - path(str): Root path. Raises: - None | STRING |
| HIGH | src/ci/utils.py | 393 | 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 |
|---|---|---|---|---|
| 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 | 325 | # Create an event to wait for the response. | COMMENT |
| MEDIUM | framework/wazuh/core/cluster/master.py | 848 | # Create a child process to run the task. | COMMENT |
| MEDIUM | tests/integration/conftest.py | 693 | # 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 | …uh_modules/inventory_sync/qa/wazuh_agent_controller.py | 325 | # Create the event structure with identifier and binary data | COMMENT |
| MEDIUM | …s/inventory_sync/qa/test_inventory_sync_integration.py | 393 | # Create the payload in the format expected by inventory_sync | COMMENT |
| MEDIUM | src/engine/tools/devContainer/e2e/init.sh | 170 | # 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 |
| 1 more matches not shown… | ||||
| 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/wazuh_queue.py | 21 | String indicating the agent_id if the message will be sent to a specific agent, or '(null)' if it will be sent | STRING |
| HIGH | framework/wazuh/core/wazuh_queue.py | 110 | - (msg_to_agent) [] ANN (null) restart-wazuh0 arg1 arg2 arg3 | STRING |
| HIGH | framework/wazuh/core/wazuh_queue.py | 113 | - (msg_to_agent) [] ANN (null) !test.sh arg1 arg2 arg3 | STRING |
| HIGH | framework/wazuh/core/wazuh_queue.py | 149 | str_agent_id = '(null)' | CODE |
| 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/max_version_components.py | 158 | if (ctx._source.wazuh == null) { ctx._source.wazuh = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/max_version_components.py | 159 | if (ctx._source.wazuh.agent == null) { ctx._source.wazuh.agent = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/max_version_components.py | 161 | if (ctx._source.wazuh.agent.groups != null && ctx._source.wazuh.agent.groups == params.groups) { | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/max_version_components.py | 168 | if (ctx._source.state == null) { ctx._source.state = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/max_version_components.py | 274 | if (ctx._source.wazuh == null) { ctx._source.wazuh = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/max_version_components.py | 275 | if (ctx._source.wazuh.agent == null) { ctx._source.wazuh.agent = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/max_version_components.py | 276 | if (ctx._source.wazuh.cluster == null) { ctx._source.wazuh.cluster = [:]; } | CODE |
| HIGH⚡ | framework/wazuh/core/indexer/max_version_components.py | 283 | if (ctx._source.state == null) { ctx._source.state = [:]; } | CODE |
| HIGH⚡ | …e/tools/engine-metrics/src/engine_metrics/templates.py | 298 | if (chartId && data[name]) { | CODE |
| HIGH⚡ | …e/tools/engine-metrics/src/engine_metrics/templates.py | 299 | data[name].x.push(now); | CODE |
| HIGH⚡ | …e/tools/engine-metrics/src/engine_metrics/templates.py | 300 | data[name].y.push(metric.value); | CODE |
| HIGH | …e/tools/engine-metrics/src/engine_metrics/templates.py | 314 | sd.x.push(now); | CODE |
| HIGH | …e/tools/engine-metrics/src/engine_metrics/templates.py | 315 | sd.y.push(metric.value); | CODE |
| HIGH | src/engine/tools/devContainer/scripts/monitor.py | 242 | "'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 | 252 | ### Step 1: Upgrade to v4.14.x | COMMENT |
| LOW | docs/guide/migration/remote-agent-upgrade.md | 279 | ### 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 | 16 | ### Step 1: Include Required Headers | COMMENT |
| LOW | …s/ref/modules/utils/sync-protocol/integration-guide.md | 33 | ### Step 2: Initialize the Protocol | COMMENT |
| LOW | …s/ref/modules/utils/sync-protocol/integration-guide.md | 94 | ### Step 3: Persist Module Data | COMMENT |
| LOW | …s/ref/modules/utils/sync-protocol/integration-guide.md | 243 | ### Step 4: Process Manager Responses | COMMENT |
| LOW | …s/ref/modules/utils/sync-protocol/integration-guide.md | 277 | ### 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⚡ | …dules/sync_protocol/tests/test_agent_sync_protocol.cpp | 5487 | // Step 1: Clear all DataContext | COMMENT |
| LOW⚡ | …dules/sync_protocol/tests/test_agent_sync_protocol.cpp | 5493 | // Step 2: Fetch pending DataValue items (onlyDataValues=true) | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 284 | // Step 1: Persist DataValue items | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 293 | // Step 2: Persist DataContext items | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 302 | // Step 3: Verify we have both types | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 306 | // Step 4: Clear all DataContext | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 309 | // Step 5: Fetch only DataValues | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 292 | // Step 1: Send Start message with mode ModuleCheck | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 302 | // Step 2: Send ChecksumModule message | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 312 | // Step 3: Send End message and wait for EndAck | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 367 | // Step 1: Send Start message and wait for StartAck | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 370 | // Step 2: Send End message and wait for EndAck (no Data messages) | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 429 | // Step 1: Send Start message with the indices and size | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 432 | // Step 2: Send DataClean message for each index | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 435 | // Step 3: Send End message and wait for EndAck | COMMENT |
| LOW | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1566 | // Step 1: Get version from each module | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1619 | // Step 2: Calculate new version | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1627 | // Step 3: Set new version on all modules | COMMENT |
| LOW | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1677 | // Step 1: Pause all coordination modules | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1698 | // 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 | 1707 | // Step 3: Trigger flush while still paused. | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1717 | // Step 4: Resume all modules immediately. The pause window is now minimized to: | COMMENT |
| 34 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⚡ | …dules/sync_protocol/tests/test_agent_sync_protocol.cpp | 5487 | // Step 1: Clear all DataContext | COMMENT |
| LOW⚡ | …dules/sync_protocol/tests/test_agent_sync_protocol.cpp | 5493 | // Step 2: Fetch pending DataValue items (onlyDataValues=true) | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 284 | // Step 1: Persist DataValue items | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 293 | // Step 2: Persist DataContext items | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 302 | // Step 3: Verify we have both types | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 306 | // Step 4: Clear all DataContext | COMMENT |
| LOW⚡ | …sync_protocol/tests/test_sync_protocol_integration.cpp | 309 | // Step 5: Fetch only DataValues | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 292 | // Step 1: Send Start message with mode ModuleCheck | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 302 | // Step 2: Send ChecksumModule message | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 312 | // Step 3: Send End message and wait for EndAck | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 367 | // Step 1: Send Start message and wait for StartAck | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 370 | // Step 2: Send End message and wait for EndAck (no Data messages) | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 429 | // Step 1: Send Start message with the indices and size | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 432 | // Step 2: Send DataClean message for each index | COMMENT |
| LOW⚡ | …ared_modules/sync_protocol/src/agent_sync_protocol.cpp | 435 | // Step 3: Send End message and wait for EndAck | COMMENT |
| LOW | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1566 | // Step 1: Get version from each module | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1619 | // Step 2: Calculate new version | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1627 | // Step 3: Set new version on all modules | COMMENT |
| LOW | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1677 | // Step 1: Pause all coordination modules | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1698 | // 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 | 1707 | // Step 3: Trigger flush while still paused. | COMMENT |
| LOW⚡ | …les/agent_info/agent_info_impl/src/agent_info_impl.cpp | 1717 | // 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 | 1724 | // 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 | 1737 | // Step 6: Build indices list based on enabled modules and synchronize. | COMMENT |
| LOW⚡ | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 2566 | // Step 0: Clear any existing DataContext from previous scans | COMMENT |
| LOW⚡ | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 2570 | // Step 1: Fetch pending DataValue items from syscollector_vd_sync.db | COMMENT |
| LOW⚡ | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 2578 | // Step 2: Build exclusion sets - IDs of items already submitted as DataValue | COMMENT |
| LOW⚡ | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 2587 | // Step 3: Determine what DataContext tables are needed based on platform rules | COMMENT |
| LOW | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 2605 | // Step 4: Fetch and submit DataContext for each required table | COMMENT |
| LOW | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 3424 | // Step 1: Generate stateful DELETE events for each excess record | COMMENT |
| LOW | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 3456 | // Step 2: Reset sync flag to 0 for these records | COMMENT |
| LOW | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 4710 | // Step 1: Delete all rows in a transaction | COMMENT |
| LOW | src/wazuh_modules/syscollector/src/syscollectorImp.cpp | 4739 | // Step 2: Re-insert rows with new sync value in a transaction to force commit | COMMENT |
| LOW⚡ | …tory_sync/benchmark/scripts/orchestrate_real_agents.sh | 373 | # Step 1: stop + wipe (serial — fast and idempotent). | COMMENT |
| LOW | …tory_sync/benchmark/scripts/orchestrate_real_agents.sh | 396 | # Step 2: parallel start so all VMs kick off their first-sync ~simultaneously. | 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 | 426 | // Step 1: Atomically transfer instance from source to target | COMMENT |
| LOW⚡ | src/engine/source/iockvdb/src/manager.cpp | 430 | // 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 |
|---|---|---|---|---|
| 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 | 441 | CODE | |
| LOW | framework/wazuh/agent.py | 502 | CODE | |
| LOW | framework/wazuh/agent.py | 698 | CODE | |
| LOW | framework/wazuh/agent.py | 779 | CODE | |
| LOW | framework/wazuh/agent.py | 1222 | CODE | |
| LOW | framework/wazuh/manager.py | 143 | CODE | |
| LOW | framework/wazuh/core/task.py | 15 | 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 | 1480 | CODE | |
| LOW | framework/wazuh/core/agent.py | 1628 | CODE | |
| LOW | framework/wazuh/core/agent.py | 67 | CODE | |
| LOW | framework/wazuh/core/agent.py | 352 | CODE | |
| LOW | framework/wazuh/core/agent.py | 1099 | CODE | |
| LOW | framework/wazuh/core/agent.py | 1038 | CODE | |
| LOW | framework/wazuh/core/cluster/server.py | 429 | CODE | |
| LOW | framework/wazuh/core/cluster/control.py | 15 | CODE | |
| LOW | framework/wazuh/core/cluster/dapi/dapi.py | 51 | CODE | |
| LOW | api/api/middlewares.py | 325 | CODE | |
| LOW | api/api/controllers/task_controller.py | 19 | 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 | 28 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 102 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 553 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 636 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 709 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 988 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 1052 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 1230 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 1571 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 1620 | CODE | |
| LOW | api/api/controllers/agent_controller.py | 1670 | CODE | |
| LOW | api/api/controllers/security_controller.py | 193 | CODE | |
| LOW | api/api/controllers/security_controller.py | 387 | CODE | |
| LOW | api/api/controllers/security_controller.py | 545 | CODE | |
| LOW | api/api/controllers/security_controller.py | 703 | CODE | |
| LOW | api/api/controllers/mitre_controller.py | 47 | CODE | |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | .github/workflows/5_testintegration_inventory-sync.yml | 142 | # harness registers without a password, so keep use_password off regardless | 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 |
| LOW | …tory_sync/benchmark/scripts/orchestrate_real_agents.sh | 165 | # If ssh-config is given, we just pass the host name; ssh will resolve User, | 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/wazuh/core/tests/test_configuration.py | 473 | 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 | …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 |
|---|---|---|---|---|
| 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 | tools/purge_wazuh.sh | 5 | # Usage: | COMMENT |
| LOW⚡ | …zuh_modules/inventory_sync/benchmark/cleanup_agents.sh | 9 | # Usage: | COMMENT |
| LOW | …h_modules/inventory_sync/benchmark/run_monitor_only.sh | 21 | # Usage: | COMMENT |
| LOW⚡ | …azuh_modules/inventory_sync/benchmark/run_benchmark.sh | 10 | # Usage: | COMMENT |
| LOW | …tory_sync/benchmark/scripts/orchestrate_real_agents.sh | 31 | # Usage: | COMMENT |
| LOW | …sync/benchmark/scripts/syscollector_inventory_count.sh | 14 | # 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 | 191 | async def set_agents_sync(self, agents_sync: dict) -> None: | CODE |
| LOW | tests/integration/conftest.py | 181 | 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 | 534 | 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 | …wazuh/core/cluster/hap_helper/tests/test_hap_helper.py | 57 | def helper(self, proxy_mock: mock.MagicMock, dapi_mock: mock.MagicMock): | CODE |
| 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 | 460 | // TODO: Handle error | COMMENT |
| LOW | src/shared_modules/utils/socketWrapper.hpp | 465 | // TODO: Handle error | COMMENT |
| LOW | src/shared_modules/utils/socketWrapper.hpp | 609 | // TODO: Handle error | COMMENT |
| LOW | src/shared_modules/utils/socketWrapper.hpp | 614 | // TODO: Handle error | COMMENT |
| LOW | src/shared_modules/utils/socketWrapper.hpp | 768 | // TODO: Handle error | COMMENT |
| LOW | src/shared_modules/utils/socketWrapper.hpp | 773 | // TODO: Handle error | COMMENT |
| LOW | src/engine/source/base/include/base/utils/ipUtils.hpp | 32 | // TODO: implement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 |