Robert McCall: There are two kinds of pain in this world. The pain that hurts, the pain that alters. Today, you get to choose.
Robert McCall: Man ain't spelled g-u-n, son. You got a choice. You got talent. You got a chance, and I don't want to hear 'bout your environment, what your momma didn't give you and the white man won't give you, no shot, you got a chance. Use it while you're still alive. You don't know what death is. You have no idea what death is. Make a decision.
Robert McCall: I'm your father. You mama forgot to tell you about me.
Dave York: You couldn't save your wife! You couldn't save Susan! And you're not gonna save this fucking kid!
Answer: It is never mentioned, but it stands to reason that eventually they did find out. York's crimes most certainly would have been made public, he is solely responsible for several murders including the murder of a police officer at the beach. There would be very little reason for the government to cover up his crimes since he was acting as a rogue agent.
BaconIsMyBFF