Hi Samir,
Based on the error message you provided, it seems that there is an issue with the format of the CDB list file you're trying to save. The error suggests that the format is not correct, which is why you're unable to upload the file.
To troubleshoot this issue, here are a few suggestions:
1. File Format: Ensure that you are using the correct file format for the CDB list file. Wazuh typically uses a simple text file with one entry per line. Each entry should contain the file path or pattern you want to exclude. Make sure there are no extra characters or formatting issues in the file.
2. Encoding: Check the encoding of the CDB list file. It should be in a compatible format, such as UTF-8. If the file has a different encoding, try converting it to UTF-8 and then attempt to upload it again.
3. File Permissions: Verify that you have the necessary permissions to upload and save files in the Wazuh system. Ensure that the user or account you are using has the appropriate privileges.
4. File Size Limit: Check if there is a limit on the file size you can upload. If the CDB list file is too large, it may exceed the allowed limit. In that case, you might need to split the file into smaller chunks or contact the Wazuh support team for assistance.
Please refer to the CDB documentation once for the correct format and all:
https://documentation.wazuh.com/current/user-manual/ruleset/cdb-list.html I hope this helps you.
Regards
Aditya Sharma