Pakistan Army has taken over the security detail of the visiting Sri Lanka cricket team after recent incident in Islamabad.