What Obama did not say, of course not, is that Petraeus and Allen (and Kelley and Broadwell) are all in some measure victims of the Surveillance State the president inherited from George W. Bush and has spent the past four years consolidating and expanding. Among other things, Obama has tried to amend the Patriot Act to give the F.B.I. ever greater intrusive powers. In 2010, The Washington Post reported that every day the National Security Agency intercepts and stores “1.7 billion e-mails, phone calls and other types of communication.”

Obama declared in 2009 that we “cannot keep this country safe unless we enlist the power of our most fundamental values.” His success in fulfilling that pledge has been distinctly mixed. The drone-led battle against terrorism takes place in a world largely beyond due process and the rule of law. And the privacy of Americans is intruded upon daily in ways that flout the Fourth Amendment.

Now his top generals, older men drawn to younger women, have ended up caught in the invasive web. The irony of a security apparatus turning on its security chiefs is impossible to escape.

The president says national security has not been compromised in any way. So what, pray, is the issue here? Allen’s flirtatious banter with Kelley? The ultimate failure of Petraeus the perfectionist to meet his own impossibly high standards? Or rather the deeply troubling fact that this F.B.I. inquiry digging into in-boxes was possible in the first place?

But never fear, the movie — working title “Downfall” — will not get into this. It will feature the Kelleys’ lavish parties for guests from MacDill Air Force Base — complete with flowing champagne, valet parking and couture fit for the Kardashians — but will steer a very long way from Fourth Amendment issues. Unless a good-looking lawyer with a conscience gets written into the script.