Understanding legal compliance for workplace oversight