The German army is coming under increasing scrutiny from Iranian intelligence services, with security officials and lawmakers warning of espionage, cyber attacks and a heightened threat environment.