Tesla is suing a former employee for allegedly illegally exporting gigabytes of confidential data, according to a lawsuit filed Wednesday in Nevada.

The electric car maker said it is only beginning to understand all of former process technician Martin Tripp's allegedly illegal activity. The suit said, Tripp "has thus far admitted to writing software that hacked Tesla's manufacturing operating system ('MOS') and to transferring several gigabytes of Tesla data to outside entities."

The data include "dozens of confidential photographs and a video of Tesla's manufacturing systems."

In addition to that, Tesla alleges Tripp wrote computer code to periodically export Tesla's data to people outside the company.

Furthermore, the suit alleges that Tripp made false statements to the media.

"For example, Tripp claimed that punctured battery cells had been used in certain Model 3 vehicles even though no punctured cells were ever used in vehicles, batteries or otherwise," the suit said. "Tripp also vastly exaggerated the true amount and value of 'scrap' material that Tesla generated during the manufacturing process, and falsely claimed that Tesla was delayed in bringing new manufacturing equipment online."