Saleh told Afghanistan 's Parliament Tuesday he knew of the plot to murder President Karzai and had warned the Afghan leader and his security advisor .