censure

(n) the act of blaming or condemning sternly   
If you commit a crime that's bad but not too bad, you'll probably just get censured.