Yes, governments usually try to get court injunctions stopping publication of national security secrets in a book when the book contains no factual information.
Ostrovsky included fact and fiction with desire to misrepresent for political purposes. And Israel did sue, but lost in the US.