made violation severity configurable