I haven't read the book, but the criticisms seem hypocritical.
The Democrats and White House Administration have been "leaking" secrets for political gain for a long while, but it's a "no-no" for anyone else.
Politicians use servicemen as fodder to achieve their aims and are very quick to throw courageous men under the bus, (if I may use a cliche), if there is political gain to be had.
Beyond the level of Lt. Colonel, officers tend to become political sycophants to ensure further promotions to as high a level of pension grade that their masters will give them.