menilov was the secretary of the central committee of the communist party of the soviet union and the deputy chairman of the all-powerful defense council-a body that oversaw the kgb , the foreign ministry , the defense ministry , and the interior ministry .