The Fort Worth Police Officers Association slammed Whitfield on Twitter. "@CNN & @FWhitfield should apologize immediately for this outlandish commentary in the #DallasPDShooting," the group posted.
The Houston Police Officers' Union also sounded off on social media, writing, "'Courageous and brave' to shoot at police officers with an assault rifle. Get a clue and WAKE UP!"
Mediaite said it contacted CNN for comment but hasn't heard back.
>> RELATED: 5 things to know about the Dallas police shooting
The suspected gunman, identified by police as James Boulware, allegedly planted pipe bombs and opened fire on police headquarters about 12:30 a.m. Saturday. He then drove to a fast-food restaurant's parking lot in an armored-style vehicle outfitted with gun ports on the side.
He reportedly rammed police vehicles, sprayed others with bullets, and shot out the windows and front desk of the police station where a worker on duty had just left to go to a vending machine.
>> Read more trending stories
After an hours-long standoff with officers, the man was shot and killed by a police sniper at 5 a.m.