The validator and executor for Wazuh both read ossec.conf but handle XML element names differently. The Python validator treats the log_format element name case-sensitively, while wazuh-logcollector matches the element name case-insensitively. As a result, an uppercase LOG_FORMAT element can be missed by the validator's remote-command check while still being processed as log_format by the collector. When the value matches the full_command form, a command-bearing localfile can pass validation even when remote_commands.localfile.allow: no is enabled. An authenticated user with manager:update_config can submit the configuration through REST PUT /manager/configuration; this path does not require a cluster key, and the cluster/DAPI path uses the same configuration update flow. When the configuration is reloaded or the manager is restarted, wazuh-logcollector rereads the configuration and executes the command with root privileges on the manager host. The available evidence confirms these manager paths but does not identify additional deployments or product branches beyond the stated scope.