A formal complaint against someone is called a grievance.