ECMS-4304 [SANITIZATION] allow to configure where the publication will be executed