I see. But I don't think you can call assaulting a police officer part of her official duties.
She was (or at least she will state as such) at the building in an official capacity and as a member of Congress, she is allowed to forgo the security measures.