report.html

Report generated on 23-Jun-2023 at 03:31:34 by pytest-html v3.1.1

Environment

Packages {"pluggy": "0.13.1", "py": "1.10.0", "pytest": "6.2.2"}
Platform Darwin-19.0.0-x86_64-i386-64bit
Plugins {"html": "3.1.1", "metadata": "1.8.0", "testinfra": "5.0.0"}
Python 3.7.3

Summary

8 tests ran in 90.16 seconds.

8 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_office365/test_configuration/test_invalid.py 0 8 0 0

Results

Result Time Test Description Duration Markers Links Tier
Passed 2023-06-23 10:31:34.337481 test_office365/test_configuration/test_invalid.py::test_invalid[get_configuration0] description: Check if the 'office365' module detects invalid configurations. For this purpose, the test. will configure that module using invalid configuration settings with different attributes.. Finally, it will verify that error events are generated indicating the source of the errors. 9.23 0
-----------------------------Captured stdout setup------------------------------
Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.4.4 Stopped Starting Wazuh v4.4.4... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2023/06/23 03:30:04 wazuh-agentd[3188] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:04 wazuh-agentd[3188] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:04 wazuh-agentd[3188] main.c:141 at main(): DEBUG: Started (pid: 3188). 2023/06/23 03:30:04 wazuh-agentd[3188] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:04 wazuh-agentd[3188] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:04 wazuh-agentd[3188] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:04 wazuh-agentd[3188] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:04 wazuh-agentd[3188] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:04 wazuh-agentd[3188] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:04 wazuh-syscheckd[3189] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:04 wazuh-syscheckd[3189] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:04 wazuh-syscheckd[3189] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:04 wazuh-syscheckd[3189] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:04 wazuh-syscheckd[3189] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:04 wazuh-syscheckd[3189] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:04 wazuh-syscheckd[3189] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:04 wazuh-syscheckd[3189] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:04 wazuh-syscheckd[3189] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:04 wazuh-syscheckd[3189] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:04 wazuh-syscheckd[3189] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:04 wazuh-syscheckd[3189] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:04 wazuh-modulesd[3191] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:04 wazuh-modulesd[3191] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:04 wazuh-modulesd[3191] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:04 wazuh-modulesd[3191] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:04 wazuh-modulesd[3191] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:04 wazuh-modulesd[3191] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:04 wazuh-modulesd[3191] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:07 wazuh-agentd[3281] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:07 wazuh-agentd[3281] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:07 wazuh-agentd[3281] main.c:141 at main(): DEBUG: Started (pid: 3281). 2023/06/23 03:30:07 wazuh-agentd[3281] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:07 wazuh-agentd[3281] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:07 wazuh-agentd[3281] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:07 wazuh-agentd[3281] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:07 wazuh-agentd[3281] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:07 wazuh-agentd[3281] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:08 wazuh-syscheckd[3299] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:08 wazuh-syscheckd[3299] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:08 wazuh-syscheckd[3299] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:08 wazuh-syscheckd[3299] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:08 wazuh-syscheckd[3299] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:08 wazuh-syscheckd[3299] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:08 wazuh-syscheckd[3299] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:08 wazuh-syscheckd[3299] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:08 wazuh-syscheckd[3299] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:08 wazuh-syscheckd[3299] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:08 wazuh-syscheckd[3299] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:08 wazuh-syscheckd[3299] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:08 rootcheck[3299] rootcheck.c:202 at rootcheck_init(): INFO: Rootcheck disabled. 2023/06/23 03:30:10 wazuh-modulesd[3321] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:10 wazuh-modulesd[3321] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:10 wazuh-modulesd[3321] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:10 wazuh-modulesd[3321] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:10 wazuh-modulesd[3321] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:10 wazuh-modulesd[3321] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:10 wazuh-modulesd[3321] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
------------------------------Captured stdout call------------------------------
wazuh-modulesd: Configuration error. Exiting
------------------------------Captured stderr call------------------------------
2023/06/23 03:30:13 wazuh-agentd[3350] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:13 wazuh-agentd[3350] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:13 wazuh-agentd[3350] main.c:141 at main(): DEBUG: Started (pid: 3350). 2023/06/23 03:30:13 wazuh-agentd[3350] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:13 wazuh-agentd[3350] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:13 wazuh-agentd[3350] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:13 wazuh-agentd[3350] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:13 wazuh-agentd[3350] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:13 wazuh-agentd[3350] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:13 wazuh-syscheckd[3351] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:13 wazuh-syscheckd[3351] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:13 wazuh-syscheckd[3351] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:13 wazuh-syscheckd[3351] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:13 wazuh-syscheckd[3351] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:13 wazuh-syscheckd[3351] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:13 wazuh-syscheckd[3351] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:13 wazuh-syscheckd[3351] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:13 wazuh-syscheckd[3351] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:13 wazuh-syscheckd[3351] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:13 wazuh-syscheckd[3351] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:13 wazuh-syscheckd[3351] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:13 wazuh-modulesd[3353] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:13 wazuh-modulesd[3353] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:13 wazuh-modulesd[3353] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:13 wazuh-modulesd[3353] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:13 wazuh-modulesd[3353] wmodules-office365.c:68 at wm_office365_read(): ERROR: Invalid content for tag 'enabled' at module 'office365'. 2023/06/23 03:30:13 wazuh-modulesd[3353] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'.
Passed 2023-06-23 10:31:34.337733 test_office365/test_configuration/test_invalid.py::test_invalid[get_configuration1] description: Check if the 'office365' module detects invalid configurations. For this purpose, the test. will configure that module using invalid configuration settings with different attributes.. Finally, it will verify that error events are generated indicating the source of the errors. 9.75 0
-----------------------------Captured stdout setup------------------------------
Fri Jun 23 10:30:13 UTC 2023 Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.4.4 Stopped Starting Wazuh v4.4.4... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2023/06/23 03:30:13 wazuh-agentd[3364] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:13 wazuh-agentd[3364] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:13 wazuh-agentd[3364] main.c:141 at main(): DEBUG: Started (pid: 3364). 2023/06/23 03:30:13 wazuh-agentd[3364] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:13 wazuh-agentd[3364] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:13 wazuh-agentd[3364] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:13 wazuh-agentd[3364] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:13 wazuh-agentd[3364] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:13 wazuh-agentd[3364] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:13 wazuh-syscheckd[3365] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:13 wazuh-syscheckd[3365] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:13 wazuh-syscheckd[3365] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:13 wazuh-syscheckd[3365] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:13 wazuh-syscheckd[3365] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:13 wazuh-syscheckd[3365] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:13 wazuh-syscheckd[3365] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:13 wazuh-syscheckd[3365] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:13 wazuh-syscheckd[3365] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:13 wazuh-syscheckd[3365] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:13 wazuh-syscheckd[3365] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:13 wazuh-syscheckd[3365] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:13 wazuh-modulesd[3367] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:13 wazuh-modulesd[3367] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:13 wazuh-modulesd[3367] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:13 wazuh-modulesd[3367] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:13 wazuh-modulesd[3367] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:13 wazuh-modulesd[3367] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:13 wazuh-modulesd[3367] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:15 wazuh-agentd[3456] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:15 wazuh-agentd[3456] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:15 wazuh-agentd[3456] main.c:141 at main(): DEBUG: Started (pid: 3456). 2023/06/23 03:30:15 wazuh-agentd[3456] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:15 wazuh-agentd[3456] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:15 wazuh-agentd[3456] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:15 wazuh-agentd[3456] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:15 wazuh-agentd[3456] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:15 wazuh-agentd[3456] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:16 wazuh-syscheckd[3474] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:16 wazuh-syscheckd[3474] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:16 wazuh-syscheckd[3474] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:16 wazuh-syscheckd[3474] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:16 wazuh-syscheckd[3474] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:16 wazuh-syscheckd[3474] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:16 wazuh-syscheckd[3474] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:16 wazuh-syscheckd[3474] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:16 wazuh-syscheckd[3474] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:16 wazuh-syscheckd[3474] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:16 wazuh-syscheckd[3474] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:16 wazuh-syscheckd[3474] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:16 rootcheck[3474] rootcheck.c:202 at rootcheck_init(): INFO: Rootcheck disabled. 2023/06/23 03:30:19 wazuh-modulesd[3496] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:19 wazuh-modulesd[3496] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:19 wazuh-modulesd[3496] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:19 wazuh-modulesd[3496] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:19 wazuh-modulesd[3496] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:19 wazuh-modulesd[3496] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:19 wazuh-modulesd[3496] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
------------------------------Captured stdout call------------------------------
wazuh-modulesd: Configuration error. Exiting
------------------------------Captured stderr call------------------------------
2023/06/23 03:30:22 wazuh-agentd[3524] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:22 wazuh-agentd[3524] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:22 wazuh-agentd[3524] main.c:141 at main(): DEBUG: Started (pid: 3524). 2023/06/23 03:30:22 wazuh-agentd[3524] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:22 wazuh-agentd[3524] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:22 wazuh-agentd[3524] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:22 wazuh-agentd[3524] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:22 wazuh-agentd[3524] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:22 wazuh-agentd[3524] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:22 wazuh-syscheckd[3525] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:22 wazuh-syscheckd[3525] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:22 wazuh-syscheckd[3525] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:22 wazuh-syscheckd[3525] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:22 wazuh-syscheckd[3525] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:22 wazuh-syscheckd[3525] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:22 wazuh-syscheckd[3525] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:22 wazuh-syscheckd[3525] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:22 wazuh-syscheckd[3525] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:22 wazuh-syscheckd[3525] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:22 wazuh-syscheckd[3525] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:22 wazuh-syscheckd[3525] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:22 wazuh-modulesd[3527] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:22 wazuh-modulesd[3527] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:22 wazuh-modulesd[3527] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:22 wazuh-modulesd[3527] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:22 wazuh-modulesd[3527] wmodules-office365.c:77 at wm_office365_read(): ERROR: Invalid content for tag 'only_future_events' at module 'office365'. 2023/06/23 03:30:22 wazuh-modulesd[3527] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'.
Passed 2023-06-23 10:31:34.337889 test_office365/test_configuration/test_invalid.py::test_invalid[get_configuration2] description: Check if the 'office365' module detects invalid configurations. For this purpose, the test. will configure that module using invalid configuration settings with different attributes.. Finally, it will verify that error events are generated indicating the source of the errors. 9.78 0
-----------------------------Captured stdout setup------------------------------
Fri Jun 23 10:30:22 UTC 2023 Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.4.4 Stopped Starting Wazuh v4.4.4... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2023/06/23 03:30:22 wazuh-agentd[3539] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:22 wazuh-agentd[3539] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:22 wazuh-agentd[3539] main.c:141 at main(): DEBUG: Started (pid: 3539). 2023/06/23 03:30:22 wazuh-agentd[3539] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:22 wazuh-agentd[3539] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:22 wazuh-agentd[3539] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:22 wazuh-agentd[3539] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:22 wazuh-agentd[3539] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:22 wazuh-agentd[3539] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:22 wazuh-syscheckd[3540] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:22 wazuh-syscheckd[3540] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:22 wazuh-syscheckd[3540] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:22 wazuh-syscheckd[3540] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:22 wazuh-syscheckd[3540] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:22 wazuh-syscheckd[3540] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:22 wazuh-syscheckd[3540] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:22 wazuh-syscheckd[3540] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:22 wazuh-syscheckd[3540] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:22 wazuh-syscheckd[3540] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:22 wazuh-syscheckd[3540] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:22 wazuh-syscheckd[3540] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:22 wazuh-modulesd[3542] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:22 wazuh-modulesd[3542] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:22 wazuh-modulesd[3542] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:22 wazuh-modulesd[3542] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:22 wazuh-modulesd[3542] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:22 wazuh-modulesd[3542] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:22 wazuh-modulesd[3542] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:24 wazuh-agentd[3631] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:24 wazuh-agentd[3631] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:24 wazuh-agentd[3631] main.c:141 at main(): DEBUG: Started (pid: 3631). 2023/06/23 03:30:24 wazuh-agentd[3631] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:24 wazuh-agentd[3631] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:24 wazuh-agentd[3631] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:24 wazuh-agentd[3631] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:24 wazuh-agentd[3631] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:24 wazuh-agentd[3631] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:26 wazuh-syscheckd[3649] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:26 wazuh-syscheckd[3649] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:26 wazuh-syscheckd[3649] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:26 wazuh-syscheckd[3649] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:26 wazuh-syscheckd[3649] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:26 wazuh-syscheckd[3649] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:26 wazuh-syscheckd[3649] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:26 wazuh-syscheckd[3649] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:26 wazuh-syscheckd[3649] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:26 wazuh-syscheckd[3649] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:26 wazuh-syscheckd[3649] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:26 wazuh-syscheckd[3649] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:26 rootcheck[3649] rootcheck.c:202 at rootcheck_init(): INFO: Rootcheck disabled. 2023/06/23 03:30:28 wazuh-modulesd[3671] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:28 wazuh-modulesd[3671] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:28 wazuh-modulesd[3671] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:28 wazuh-modulesd[3671] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:28 wazuh-modulesd[3671] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:28 wazuh-modulesd[3671] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:28 wazuh-modulesd[3671] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
------------------------------Captured stdout call------------------------------
wazuh-modulesd: Configuration error. Exiting
------------------------------Captured stderr call------------------------------
2023/06/23 03:30:31 wazuh-agentd[3699] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:31 wazuh-agentd[3699] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:31 wazuh-agentd[3699] main.c:141 at main(): DEBUG: Started (pid: 3699). 2023/06/23 03:30:31 wazuh-agentd[3699] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:31 wazuh-agentd[3699] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:31 wazuh-agentd[3699] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:31 wazuh-agentd[3699] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:31 wazuh-agentd[3699] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:31 wazuh-agentd[3699] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:31 wazuh-syscheckd[3700] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:31 wazuh-syscheckd[3700] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:31 wazuh-syscheckd[3700] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:31 wazuh-syscheckd[3700] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:31 wazuh-syscheckd[3700] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:31 wazuh-syscheckd[3700] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:31 wazuh-syscheckd[3700] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:31 wazuh-syscheckd[3700] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:31 wazuh-syscheckd[3700] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:31 wazuh-syscheckd[3700] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:31 wazuh-syscheckd[3700] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:31 wazuh-syscheckd[3700] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:31 wazuh-modulesd[3702] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:31 wazuh-modulesd[3702] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:31 wazuh-modulesd[3702] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:31 wazuh-modulesd[3702] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:31 wazuh-modulesd[3702] wmodules-office365.c:83 at wm_office365_read(): ERROR: Invalid content for tag 'interval' at module 'office365'. The maximum value allowed is 1 day. 2023/06/23 03:30:31 wazuh-modulesd[3702] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'.
Passed 2023-06-23 10:31:34.338044 test_office365/test_configuration/test_invalid.py::test_invalid[get_configuration3] description: Check if the 'office365' module detects invalid configurations. For this purpose, the test. will configure that module using invalid configuration settings with different attributes.. Finally, it will verify that error events are generated indicating the source of the errors. 9.72 0
-----------------------------Captured stdout setup------------------------------
Fri Jun 23 10:30:31 UTC 2023 Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.4.4 Stopped Starting Wazuh v4.4.4... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2023/06/23 03:30:31 wazuh-agentd[3713] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:31 wazuh-agentd[3713] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:31 wazuh-agentd[3713] main.c:141 at main(): DEBUG: Started (pid: 3713). 2023/06/23 03:30:31 wazuh-agentd[3713] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:31 wazuh-agentd[3713] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:31 wazuh-agentd[3713] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:31 wazuh-agentd[3713] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:31 wazuh-agentd[3713] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:31 wazuh-agentd[3713] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:31 wazuh-syscheckd[3714] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:31 wazuh-syscheckd[3714] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:31 wazuh-syscheckd[3714] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:31 wazuh-syscheckd[3714] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:31 wazuh-syscheckd[3714] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:31 wazuh-syscheckd[3714] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:31 wazuh-syscheckd[3714] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:31 wazuh-syscheckd[3714] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:31 wazuh-syscheckd[3714] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:31 wazuh-syscheckd[3714] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:31 wazuh-syscheckd[3714] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:31 wazuh-syscheckd[3714] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:31 wazuh-modulesd[3716] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:31 wazuh-modulesd[3716] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:31 wazuh-modulesd[3716] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:31 wazuh-modulesd[3716] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:31 wazuh-modulesd[3716] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:31 wazuh-modulesd[3716] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:31 wazuh-modulesd[3716] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:33 wazuh-agentd[3798] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:33 wazuh-agentd[3798] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:33 wazuh-agentd[3798] main.c:141 at main(): DEBUG: Started (pid: 3798). 2023/06/23 03:30:33 wazuh-agentd[3798] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:33 wazuh-agentd[3798] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:33 wazuh-agentd[3798] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:33 wazuh-agentd[3798] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:33 wazuh-agentd[3798] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:33 wazuh-agentd[3798] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:34 wazuh-syscheckd[3824] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:34 wazuh-syscheckd[3824] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:34 wazuh-syscheckd[3824] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:34 wazuh-syscheckd[3824] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:34 wazuh-syscheckd[3824] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:34 wazuh-syscheckd[3824] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:34 wazuh-syscheckd[3824] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:34 wazuh-syscheckd[3824] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:34 wazuh-syscheckd[3824] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:34 wazuh-syscheckd[3824] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:34 wazuh-syscheckd[3824] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:34 wazuh-syscheckd[3824] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:34 rootcheck[3824] rootcheck.c:202 at rootcheck_init(): INFO: Rootcheck disabled. 2023/06/23 03:30:37 wazuh-modulesd[3846] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:37 wazuh-modulesd[3846] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:37 wazuh-modulesd[3846] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:37 wazuh-modulesd[3846] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:37 wazuh-modulesd[3846] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:37 wazuh-modulesd[3846] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:37 wazuh-modulesd[3846] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
------------------------------Captured stdout call------------------------------
wazuh-modulesd: Configuration error. Exiting
------------------------------Captured stderr call------------------------------
2023/06/23 03:30:40 wazuh-agentd[3874] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:40 wazuh-agentd[3874] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:40 wazuh-agentd[3874] main.c:141 at main(): DEBUG: Started (pid: 3874). 2023/06/23 03:30:40 wazuh-agentd[3874] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:40 wazuh-agentd[3874] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:40 wazuh-agentd[3874] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:40 wazuh-agentd[3874] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:40 wazuh-agentd[3874] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:40 wazuh-agentd[3874] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:40 wazuh-syscheckd[3875] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:40 wazuh-syscheckd[3875] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:40 wazuh-syscheckd[3875] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:40 wazuh-syscheckd[3875] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:40 wazuh-syscheckd[3875] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:40 wazuh-syscheckd[3875] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:40 wazuh-syscheckd[3875] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:40 wazuh-syscheckd[3875] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:40 wazuh-syscheckd[3875] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:40 wazuh-syscheckd[3875] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:40 wazuh-syscheckd[3875] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:40 wazuh-syscheckd[3875] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:40 wazuh-modulesd[3877] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:40 wazuh-modulesd[3877] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:40 wazuh-modulesd[3877] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:40 wazuh-modulesd[3877] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:40 wazuh-modulesd[3877] wmodules-office365.c:89 at wm_office365_read(): ERROR: Invalid content for tag 'curl_max_size' at module 'office365'. The minimum value allowed is 1KB. 2023/06/23 03:30:40 wazuh-modulesd[3877] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'.
Passed 2023-06-23 10:31:34.338189 test_office365/test_configuration/test_invalid.py::test_invalid[get_configuration4] description: Check if the 'office365' module detects invalid configurations. For this purpose, the test. will configure that module using invalid configuration settings with different attributes.. Finally, it will verify that error events are generated indicating the source of the errors. 9.76 0
-----------------------------Captured stdout setup------------------------------
Fri Jun 23 10:30:40 UTC 2023 Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.4.4 Stopped Starting Wazuh v4.4.4... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2023/06/23 03:30:40 wazuh-agentd[3888] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:40 wazuh-agentd[3888] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:40 wazuh-agentd[3888] main.c:141 at main(): DEBUG: Started (pid: 3888). 2023/06/23 03:30:40 wazuh-agentd[3888] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:40 wazuh-agentd[3888] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:40 wazuh-agentd[3888] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:40 wazuh-agentd[3888] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:40 wazuh-agentd[3888] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:40 wazuh-agentd[3888] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:40 wazuh-syscheckd[3889] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:40 wazuh-syscheckd[3889] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:40 wazuh-syscheckd[3889] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:40 wazuh-syscheckd[3889] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:40 wazuh-syscheckd[3889] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:40 wazuh-syscheckd[3889] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:40 wazuh-syscheckd[3889] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:40 wazuh-syscheckd[3889] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:40 wazuh-syscheckd[3889] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:40 wazuh-syscheckd[3889] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:40 wazuh-syscheckd[3889] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:40 wazuh-syscheckd[3889] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:40 wazuh-modulesd[3891] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:40 wazuh-modulesd[3891] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:40 wazuh-modulesd[3891] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:40 wazuh-modulesd[3891] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:40 wazuh-modulesd[3891] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:40 wazuh-modulesd[3891] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:40 wazuh-modulesd[3891] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:42 wazuh-agentd[3973] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:42 wazuh-agentd[3973] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:42 wazuh-agentd[3973] main.c:141 at main(): DEBUG: Started (pid: 3973). 2023/06/23 03:30:42 wazuh-agentd[3973] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:42 wazuh-agentd[3973] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:42 wazuh-agentd[3973] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:42 wazuh-agentd[3973] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:42 wazuh-agentd[3973] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:42 wazuh-agentd[3973] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:43 wazuh-syscheckd[3991] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:43 wazuh-syscheckd[3991] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:43 wazuh-syscheckd[3991] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:43 wazuh-syscheckd[3991] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:43 wazuh-syscheckd[3991] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:43 wazuh-syscheckd[3991] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:43 wazuh-syscheckd[3991] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:43 wazuh-syscheckd[3991] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:43 wazuh-syscheckd[3991] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:43 wazuh-syscheckd[3991] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:43 wazuh-syscheckd[3991] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:43 wazuh-syscheckd[3991] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:43 rootcheck[3991] rootcheck.c:202 at rootcheck_init(): INFO: Rootcheck disabled. 2023/06/23 03:30:46 wazuh-modulesd[4021] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:46 wazuh-modulesd[4021] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:46 wazuh-modulesd[4021] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:46 wazuh-modulesd[4021] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:46 wazuh-modulesd[4021] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:46 wazuh-modulesd[4021] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:46 wazuh-modulesd[4021] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
------------------------------Captured stdout call------------------------------
wazuh-modulesd: Configuration error. Exiting
------------------------------Captured stderr call------------------------------
2023/06/23 03:30:49 wazuh-agentd[4049] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:49 wazuh-agentd[4049] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:49 wazuh-agentd[4049] main.c:141 at main(): DEBUG: Started (pid: 4049). 2023/06/23 03:30:49 wazuh-agentd[4049] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:49 wazuh-agentd[4049] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:49 wazuh-agentd[4049] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:49 wazuh-agentd[4049] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:49 wazuh-agentd[4049] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:49 wazuh-agentd[4049] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:49 wazuh-syscheckd[4050] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:49 wazuh-syscheckd[4050] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:49 wazuh-syscheckd[4050] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:49 wazuh-syscheckd[4050] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:49 wazuh-syscheckd[4050] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:49 wazuh-syscheckd[4050] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:49 wazuh-syscheckd[4050] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:49 wazuh-syscheckd[4050] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:49 wazuh-syscheckd[4050] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:49 wazuh-syscheckd[4050] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:49 wazuh-syscheckd[4050] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:49 wazuh-syscheckd[4050] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:49 wazuh-modulesd[4052] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:49 wazuh-modulesd[4052] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:49 wazuh-modulesd[4052] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:49 wazuh-modulesd[4052] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:49 wazuh-modulesd[4052] wmodules-office365.c:109 at wm_office365_read(): ERROR: Empty content for tag 'tenant_id' at module 'office365'. 2023/06/23 03:30:49 wazuh-modulesd[4052] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'.
Passed 2023-06-23 10:31:34.338333 test_office365/test_configuration/test_invalid.py::test_invalid[get_configuration5] description: Check if the 'office365' module detects invalid configurations. For this purpose, the test. will configure that module using invalid configuration settings with different attributes.. Finally, it will verify that error events are generated indicating the source of the errors. 9.74 0
-----------------------------Captured stdout setup------------------------------
Fri Jun 23 10:30:49 UTC 2023 Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.4.4 Stopped Starting Wazuh v4.4.4... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2023/06/23 03:30:49 wazuh-agentd[4063] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:49 wazuh-agentd[4063] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:49 wazuh-agentd[4063] main.c:141 at main(): DEBUG: Started (pid: 4063). 2023/06/23 03:30:49 wazuh-agentd[4063] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:49 wazuh-agentd[4063] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:49 wazuh-agentd[4063] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:49 wazuh-agentd[4063] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:49 wazuh-agentd[4063] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:49 wazuh-agentd[4063] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:49 wazuh-syscheckd[4064] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:49 wazuh-syscheckd[4064] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:49 wazuh-syscheckd[4064] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:49 wazuh-syscheckd[4064] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:49 wazuh-syscheckd[4064] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:49 wazuh-syscheckd[4064] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:49 wazuh-syscheckd[4064] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:49 wazuh-syscheckd[4064] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:49 wazuh-syscheckd[4064] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:49 wazuh-syscheckd[4064] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:49 wazuh-syscheckd[4064] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:49 wazuh-syscheckd[4064] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:49 wazuh-modulesd[4066] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:49 wazuh-modulesd[4066] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:49 wazuh-modulesd[4066] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:49 wazuh-modulesd[4066] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:49 wazuh-modulesd[4066] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:49 wazuh-modulesd[4066] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:49 wazuh-modulesd[4066] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:51 wazuh-agentd[4148] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:51 wazuh-agentd[4148] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:51 wazuh-agentd[4148] main.c:141 at main(): DEBUG: Started (pid: 4148). 2023/06/23 03:30:51 wazuh-agentd[4148] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:51 wazuh-agentd[4148] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:51 wazuh-agentd[4148] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:51 wazuh-agentd[4148] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:51 wazuh-agentd[4148] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:51 wazuh-agentd[4148] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:52 wazuh-syscheckd[4166] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:52 wazuh-syscheckd[4166] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:52 wazuh-syscheckd[4166] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:52 wazuh-syscheckd[4166] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:52 wazuh-syscheckd[4166] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:52 wazuh-syscheckd[4166] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:52 wazuh-syscheckd[4166] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:52 wazuh-syscheckd[4166] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:52 wazuh-syscheckd[4166] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:52 wazuh-syscheckd[4166] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:52 wazuh-syscheckd[4166] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:52 wazuh-syscheckd[4166] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:52 rootcheck[4166] rootcheck.c:202 at rootcheck_init(): INFO: Rootcheck disabled. 2023/06/23 03:30:55 wazuh-modulesd[4196] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:55 wazuh-modulesd[4196] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:55 wazuh-modulesd[4196] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:55 wazuh-modulesd[4196] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:55 wazuh-modulesd[4196] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:55 wazuh-modulesd[4196] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:55 wazuh-modulesd[4196] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
------------------------------Captured stdout call------------------------------
wazuh-modulesd: Configuration error. Exiting
------------------------------Captured stderr call------------------------------
2023/06/23 03:30:58 wazuh-agentd[4224] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:58 wazuh-agentd[4224] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:58 wazuh-agentd[4224] main.c:141 at main(): DEBUG: Started (pid: 4224). 2023/06/23 03:30:58 wazuh-agentd[4224] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:58 wazuh-agentd[4224] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:58 wazuh-agentd[4224] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:58 wazuh-agentd[4224] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:58 wazuh-agentd[4224] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:58 wazuh-agentd[4224] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:58 wazuh-syscheckd[4225] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:58 wazuh-syscheckd[4225] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:58 wazuh-syscheckd[4225] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:58 wazuh-syscheckd[4225] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:58 wazuh-syscheckd[4225] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:58 wazuh-syscheckd[4225] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:58 wazuh-syscheckd[4225] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:58 wazuh-syscheckd[4225] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:58 wazuh-syscheckd[4225] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:58 wazuh-syscheckd[4225] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:58 wazuh-syscheckd[4225] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:58 wazuh-syscheckd[4225] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:58 wazuh-modulesd[4227] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:58 wazuh-modulesd[4227] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:58 wazuh-modulesd[4227] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:58 wazuh-modulesd[4227] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:58 wazuh-modulesd[4227] wmodules-office365.c:117 at wm_office365_read(): ERROR: Empty content for tag 'client_id' at module 'office365'. 2023/06/23 03:30:58 wazuh-modulesd[4227] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'.
Passed 2023-06-23 10:31:34.338576 test_office365/test_configuration/test_invalid.py::test_invalid[get_configuration6] description: Check if the 'office365' module detects invalid configurations. For this purpose, the test. will configure that module using invalid configuration settings with different attributes.. Finally, it will verify that error events are generated indicating the source of the errors. 9.75 0
-----------------------------Captured stdout setup------------------------------
Fri Jun 23 10:30:58 UTC 2023 Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.4.4 Stopped Starting Wazuh v4.4.4... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2023/06/23 03:30:58 wazuh-agentd[4238] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:58 wazuh-agentd[4238] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:58 wazuh-agentd[4238] main.c:141 at main(): DEBUG: Started (pid: 4238). 2023/06/23 03:30:58 wazuh-agentd[4238] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:58 wazuh-agentd[4238] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:58 wazuh-agentd[4238] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:58 wazuh-agentd[4238] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:58 wazuh-agentd[4238] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:58 wazuh-agentd[4238] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:58 wazuh-syscheckd[4239] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:58 wazuh-syscheckd[4239] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:30:58 wazuh-syscheckd[4239] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:30:58 wazuh-syscheckd[4239] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:30:58 wazuh-syscheckd[4239] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:30:58 wazuh-syscheckd[4239] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:30:58 wazuh-syscheckd[4239] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:58 wazuh-syscheckd[4239] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:58 wazuh-syscheckd[4239] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:58 wazuh-syscheckd[4239] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:58 wazuh-syscheckd[4239] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:58 wazuh-syscheckd[4239] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:30:58 wazuh-modulesd[4241] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:30:58 wazuh-modulesd[4241] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:30:58 wazuh-modulesd[4241] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:30:58 wazuh-modulesd[4241] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:30:58 wazuh-modulesd[4241] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:30:58 wazuh-modulesd[4241] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:30:58 wazuh-modulesd[4241] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:00 wazuh-agentd[4323] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:00 wazuh-agentd[4323] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:00 wazuh-agentd[4323] main.c:141 at main(): DEBUG: Started (pid: 4323). 2023/06/23 03:31:00 wazuh-agentd[4323] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:00 wazuh-agentd[4323] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:00 wazuh-agentd[4323] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:00 wazuh-agentd[4323] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:00 wazuh-agentd[4323] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:00 wazuh-agentd[4323] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:02 wazuh-syscheckd[4341] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:01 wazuh-syscheckd[4341] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:31:02 wazuh-syscheckd[4341] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:31:02 wazuh-syscheckd[4341] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:31:02 wazuh-syscheckd[4341] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:31:02 wazuh-syscheckd[4341] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:31:02 wazuh-syscheckd[4341] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:02 wazuh-syscheckd[4341] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:02 wazuh-syscheckd[4341] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:02 wazuh-syscheckd[4341] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:02 wazuh-syscheckd[4341] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:02 wazuh-syscheckd[4341] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:02 rootcheck[4341] rootcheck.c:202 at rootcheck_init(): INFO: Rootcheck disabled. 2023/06/23 03:31:04 wazuh-modulesd[4363] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:04 wazuh-modulesd[4363] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:04 wazuh-modulesd[4363] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:31:04 wazuh-modulesd[4363] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:31:04 wazuh-modulesd[4363] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:04 wazuh-modulesd[4363] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:04 wazuh-modulesd[4363] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
------------------------------Captured stdout call------------------------------
wazuh-modulesd: Configuration error. Exiting
------------------------------Captured stderr call------------------------------
2023/06/23 03:31:07 wazuh-agentd[4399] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:07 wazuh-agentd[4399] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:07 wazuh-agentd[4399] main.c:141 at main(): DEBUG: Started (pid: 4399). 2023/06/23 03:31:07 wazuh-agentd[4399] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:07 wazuh-agentd[4399] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:07 wazuh-agentd[4399] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:07 wazuh-agentd[4399] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:07 wazuh-agentd[4399] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:07 wazuh-agentd[4399] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:07 wazuh-syscheckd[4400] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:07 wazuh-syscheckd[4400] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:31:07 wazuh-syscheckd[4400] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:31:07 wazuh-syscheckd[4400] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:31:07 wazuh-syscheckd[4400] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:31:07 wazuh-syscheckd[4400] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:31:07 wazuh-syscheckd[4400] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:07 wazuh-syscheckd[4400] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:07 wazuh-syscheckd[4400] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:07 wazuh-syscheckd[4400] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:07 wazuh-syscheckd[4400] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:07 wazuh-syscheckd[4400] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:07 wazuh-modulesd[4402] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:07 wazuh-modulesd[4402] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:07 wazuh-modulesd[4402] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:31:07 wazuh-modulesd[4402] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:31:07 wazuh-modulesd[4402] wmodules-office365.c:133 at wm_office365_read(): ERROR: Empty content for tag 'client_secret' at module 'office365'. 2023/06/23 03:31:07 wazuh-modulesd[4402] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'.
Passed 2023-06-23 10:31:34.338791 test_office365/test_configuration/test_invalid.py::test_invalid[get_configuration7] description: Check if the 'office365' module detects invalid configurations. For this purpose, the test. will configure that module using invalid configuration settings with different attributes.. Finally, it will verify that error events are generated indicating the source of the errors. 28.08 0
-----------------------------Captured stdout setup------------------------------
Fri Jun 23 10:31:07 UTC 2023 Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.4.4 Stopped Starting Wazuh v4.4.4... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2023/06/23 03:31:07 wazuh-agentd[4413] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:07 wazuh-agentd[4413] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:07 wazuh-agentd[4413] main.c:141 at main(): DEBUG: Started (pid: 4413). 2023/06/23 03:31:07 wazuh-agentd[4413] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:07 wazuh-agentd[4413] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:07 wazuh-agentd[4413] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:07 wazuh-agentd[4413] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:07 wazuh-agentd[4413] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:07 wazuh-agentd[4413] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:07 wazuh-syscheckd[4414] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:07 wazuh-syscheckd[4414] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:31:07 wazuh-syscheckd[4414] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:31:07 wazuh-syscheckd[4414] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:31:07 wazuh-syscheckd[4414] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:31:07 wazuh-syscheckd[4414] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:31:07 wazuh-syscheckd[4414] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:07 wazuh-syscheckd[4414] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:07 wazuh-syscheckd[4414] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:07 wazuh-syscheckd[4414] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:07 wazuh-syscheckd[4414] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:07 wazuh-syscheckd[4414] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:07 wazuh-modulesd[4416] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:07 wazuh-modulesd[4416] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:07 wazuh-modulesd[4416] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:31:07 wazuh-modulesd[4416] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:31:07 wazuh-modulesd[4416] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:07 wazuh-modulesd[4416] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:07 wazuh-modulesd[4416] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:09 wazuh-agentd[4498] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:09 wazuh-agentd[4498] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:09 wazuh-agentd[4498] main.c:141 at main(): DEBUG: Started (pid: 4498). 2023/06/23 03:31:09 wazuh-agentd[4498] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:09 wazuh-agentd[4498] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:09 wazuh-agentd[4498] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:09 wazuh-agentd[4498] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:09 wazuh-agentd[4498] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:09 wazuh-agentd[4498] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:10 wazuh-syscheckd[4516] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:10 wazuh-syscheckd[4516] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:31:10 wazuh-syscheckd[4516] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:31:10 wazuh-syscheckd[4516] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:31:10 wazuh-syscheckd[4516] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:31:10 wazuh-syscheckd[4516] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:31:10 wazuh-syscheckd[4516] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:10 wazuh-syscheckd[4516] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:10 wazuh-syscheckd[4516] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:10 wazuh-syscheckd[4516] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:10 wazuh-syscheckd[4516] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:10 wazuh-syscheckd[4516] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:10 rootcheck[4516] rootcheck.c:202 at rootcheck_init(): INFO: Rootcheck disabled. 2023/06/23 03:31:13 wazuh-modulesd[4538] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:13 wazuh-modulesd[4538] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:13 wazuh-modulesd[4538] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:31:13 wazuh-modulesd[4538] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:31:13 wazuh-modulesd[4538] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:13 wazuh-modulesd[4538] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:13 wazuh-modulesd[4538] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
------------------------------Captured stdout call------------------------------
wazuh-modulesd: Configuration error. Exiting
------------------------------Captured stderr call------------------------------
2023/06/23 03:31:16 wazuh-agentd[4574] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:16 wazuh-agentd[4574] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:16 wazuh-agentd[4574] main.c:141 at main(): DEBUG: Started (pid: 4574). 2023/06/23 03:31:16 wazuh-agentd[4574] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:16 wazuh-agentd[4574] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:16 wazuh-agentd[4574] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:16 wazuh-agentd[4574] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:16 wazuh-agentd[4574] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:16 wazuh-agentd[4574] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:16 wazuh-syscheckd[4575] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:16 wazuh-syscheckd[4575] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:31:16 wazuh-syscheckd[4575] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:31:16 wazuh-syscheckd[4575] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:31:16 wazuh-syscheckd[4575] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:31:16 wazuh-syscheckd[4575] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:31:16 wazuh-syscheckd[4575] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:16 wazuh-syscheckd[4575] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:16 wazuh-syscheckd[4575] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:16 wazuh-syscheckd[4575] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:16 wazuh-syscheckd[4575] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:16 wazuh-syscheckd[4575] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:16 wazuh-modulesd[4577] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:16 wazuh-modulesd[4577] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:16 wazuh-modulesd[4577] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:31:16 wazuh-modulesd[4577] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:31:16 wazuh-modulesd[4577] wmodules-office365.c:177 at wm_office365_read(): ERROR: Empty content for tag 'subscription' at module 'office365'. 2023/06/23 03:31:16 wazuh-modulesd[4577] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'.
----------------------------Captured stdout teardown----------------------------
Fri Jun 23 10:31:16 UTC 2023 Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.4.4 Stopped Starting Wazuh v4.4.4... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed. Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.4.4 Stopped Starting Wazuh v4.4.4... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
----------------------------Captured stderr teardown----------------------------
2023/06/23 03:31:16 wazuh-agentd[4588] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:16 wazuh-agentd[4588] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:16 wazuh-agentd[4588] main.c:141 at main(): DEBUG: Started (pid: 4588). 2023/06/23 03:31:16 wazuh-agentd[4588] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:16 wazuh-agentd[4588] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:16 wazuh-agentd[4588] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:16 wazuh-agentd[4588] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:16 wazuh-agentd[4588] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:16 wazuh-agentd[4588] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:16 wazuh-syscheckd[4589] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:16 wazuh-syscheckd[4589] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:31:16 wazuh-syscheckd[4589] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:31:16 wazuh-syscheckd[4589] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:31:16 wazuh-syscheckd[4589] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:31:16 wazuh-syscheckd[4589] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:31:16 wazuh-syscheckd[4589] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:16 wazuh-syscheckd[4589] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:16 wazuh-syscheckd[4589] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:16 wazuh-syscheckd[4589] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:16 wazuh-syscheckd[4589] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:16 wazuh-syscheckd[4589] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:16 wazuh-modulesd[4591] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:16 wazuh-modulesd[4591] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:16 wazuh-modulesd[4591] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:31:16 wazuh-modulesd[4591] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:31:16 wazuh-modulesd[4591] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:16 wazuh-modulesd[4591] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:16 wazuh-modulesd[4591] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:18 wazuh-agentd[4673] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:18 wazuh-agentd[4673] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:18 wazuh-agentd[4673] main.c:141 at main(): DEBUG: Started (pid: 4673). 2023/06/23 03:31:18 wazuh-agentd[4673] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:18 wazuh-agentd[4673] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:18 wazuh-agentd[4673] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:18 wazuh-agentd[4673] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:18 wazuh-agentd[4673] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:18 wazuh-agentd[4673] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:19 wazuh-syscheckd[4691] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:19 wazuh-syscheckd[4691] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:31:19 wazuh-syscheckd[4691] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:31:19 wazuh-syscheckd[4691] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:31:19 wazuh-syscheckd[4691] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:31:19 wazuh-syscheckd[4691] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:31:19 wazuh-syscheckd[4691] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:19 wazuh-syscheckd[4691] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:19 wazuh-syscheckd[4691] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:20 wazuh-syscheckd[4691] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:20 wazuh-syscheckd[4691] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:20 wazuh-syscheckd[4691] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:20 rootcheck[4691] rootcheck.c:202 at rootcheck_init(): INFO: Rootcheck disabled. 2023/06/23 03:31:22 wazuh-modulesd[4713] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:22 wazuh-modulesd[4713] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:22 wazuh-modulesd[4713] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:31:22 wazuh-modulesd[4713] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:31:22 wazuh-modulesd[4713] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:22 wazuh-modulesd[4713] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:22 wazuh-modulesd[4713] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:25 wazuh-agentd[4749] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:25 wazuh-agentd[4749] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:25 wazuh-agentd[4749] main.c:141 at main(): DEBUG: Started (pid: 4749). 2023/06/23 03:31:25 wazuh-agentd[4749] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:25 wazuh-agentd[4749] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:25 wazuh-agentd[4749] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:25 wazuh-agentd[4749] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:25 wazuh-agentd[4749] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:25 wazuh-agentd[4749] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:25 wazuh-syscheckd[4750] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:25 wazuh-syscheckd[4750] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:31:25 wazuh-syscheckd[4750] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:31:25 wazuh-syscheckd[4750] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:31:25 wazuh-syscheckd[4750] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:31:25 wazuh-syscheckd[4750] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:31:25 wazuh-syscheckd[4750] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:25 wazuh-syscheckd[4750] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:25 wazuh-syscheckd[4750] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:25 wazuh-syscheckd[4750] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:25 wazuh-syscheckd[4750] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:25 wazuh-syscheckd[4750] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:25 wazuh-modulesd[4752] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:25 wazuh-modulesd[4752] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:25 wazuh-modulesd[4752] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:31:25 wazuh-modulesd[4752] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:31:25 wazuh-modulesd[4752] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:25 wazuh-modulesd[4752] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:25 wazuh-modulesd[4752] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:28 wazuh-agentd[4834] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:28 wazuh-agentd[4834] main.c:139 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:28 wazuh-agentd[4834] main.c:141 at main(): DEBUG: Started (pid: 4834). 2023/06/23 03:31:28 wazuh-agentd[4834] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:28 wazuh-agentd[4834] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:28 wazuh-agentd[4834] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:28 wazuh-agentd[4834] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:28 wazuh-agentd[4834] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:28 wazuh-agentd[4834] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:29 wazuh-syscheckd[4852] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:29 wazuh-syscheckd[4852] config.c:33 at Read_Syscheck_Config(): DEBUG: (6287): Reading configuration file: 'etc/ossec.conf' 2023/06/23 03:31:29 wazuh-syscheckd[4852] syscheck-config.c:2421 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ 2023/06/23 03:31:29 wazuh-syscheckd[4852] syscheck-config.c:2428 at process_option_regex(): DEBUG: Found ignore regex node .log$|.swp$ OK? 2023/06/23 03:31:29 wazuh-syscheckd[4852] syscheck-config.c:2429 at process_option_regex(): DEBUG: Found ignore regex size 0 2023/06/23 03:31:29 wazuh-syscheckd[4852] config.c:41 at Read_Syscheck_Config(): DEBUG: (6208): Reading Client Configuration [etc/ossec.conf] 2023/06/23 03:31:29 wazuh-syscheckd[4852] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:29 wazuh-syscheckd[4852] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:29 wazuh-syscheckd[4852] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:29 wazuh-syscheckd[4852] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:29 wazuh-syscheckd[4852] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:29 wazuh-syscheckd[4852] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2023/06/23 03:31:29 rootcheck[4852] rootcheck.c:202 at rootcheck_init(): INFO: Rootcheck disabled. 2023/06/23 03:31:31 wazuh-modulesd[4874] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/06/23 03:31:31 wazuh-modulesd[4874] main.c:77 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2023/06/23 03:31:31 wazuh-modulesd[4874] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/06/23 03:31:31 wazuh-modulesd[4874] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/06/23 03:31:31 wazuh-modulesd[4874] agent_op.c:219 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2023/06/23 03:31:31 wazuh-modulesd[4874] agent_op.c:238 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2023/06/23 03:31:31 wazuh-modulesd[4874] config.c:424 at ReadConfig(): DEBUG: agent_config element does not have any attributes.