Fired for bragging about it? What about being fired for doing it? If they log these accesses that's the way he should have been caught.
Reminds me of David Viniar's "unfortunate to have that on email" blunder:
https://www.youtube.com/watch?v=ccjZEvBGOuk