The attorney general office’s lawsuit is based on an undercover video published in February by a conservative activist group.