Werk #18055 · Jun 2, 25
update_config: Prevent error in prediction_files_cleanup due to ".info" suffix in hostname
If predictive levels were configured in a rule and a host had a ".info" suffix, an IsADirectoryError exception was raised during the update process.
While walking through the file system, the update config action mistook the host directory for a data file of the predictive levels feature and tried to read from it. This is now fixed.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.5.0b1All Editions
- 2.4.0p3All Editions
- 2.3.0p34CommunityProUltimateUltimate + MT