Open
Description
Describe the bug
Icinga still syncs every file, even it is not a `.conf`` from master to other master/satellites & agents if it inside a zone directory of the configuration master.
To Reproduce
- Create a file or copy evil.sh to /etc/icinga2/zones.d/global-config
- reload icinga2
- check /var/lib/icinga2/api/zones/global-config/_etc
Expected behavior
Icinga2 should only sync files with .conf
extension or even better .conf
files that contains only valid configuration, otherwise you can have a lot of fun on a lot of host if you are evil like me