Farmers, one of the largest insurers in the country, said sensitive information from over 1 million customers was breached in a third-party cyberattack.