Ensuring compliance for legislation and diversity