Strange but true fact:
Homeland is written and directed by the CIA.IMDB might say something entirely different but the stipulation written into Homeland's contract by the CIA's Entertainment Liason Officer is that Homeland must cede ultimate creative control (and final say) in exchange for access to Langley and use of its services at knockdown rates.
The Pentagon has its own Entertainment Liason Officer. Indeed, the Pentagon now allocates hundreds of millions of dollars in equipment, men and materiel specifically to Hollywood projects. A big studio can go so far as acquire the services of an entire carrier battle group at only the cost of the fuel. But again, the catch is that the studio may only portray the US military in a "positive light" and certainly never suggest that American soliders break the law, behave inappropriately etc.
The most notable beneficiaries of creating US propaganda are Michael Bay and the MARVEL team.
Going back to Homeland - it's worth pointing out that when the American POW captured by the Taliban, "Bowe" Berghdahl, returned home to a media storm about whether he was a traitor, the first connection made by just about everyone was to Nicholas Brody - the "turned" US marine at the centre of Homeland played by Damian Lewis.
Indeed, the term "Turned" appears to have entered popular usage in America only in the wake of Homeland.
"But, Homeland is written by the CIA, you say?"Yeah ... that ...