The CIA did something similar with:
> Frank Snepp’s Decent Interval: An Insider’s Account of Saigon’s Indecent End Told by the CIA’s Chief Strategy Analyst in Vietnam, which was published in late 1977.
> At the very least Snepp had written the definitive history of the final days of the American imperium—in Vietnam anyway—in a gripping, page-turning style. The rooftop escape defined so much about the blundering American experience in Vietnam, and Snepp was the only witness to the tawdry retreat who wrote it all down as if a modern-day Xenophon, on the payroll of the CIA, retreating from the Asian wars.
> In 1981, the CIA had dragged him into the Supreme Court, to block his earnings from the book and to teach other agents in the field that there were costs associated with tell-all books about the failings within agency. I remember being shocked that Snepp lost his appeal to the Supreme Court and that he had been forced to pay $300,000 in book royalties to his former CIA handlers.
https://www.counterpunch.org/2018/04/09/why-vietnam-still-ma...