Former Alaska Gov. Sarah Palin says the corporate culture needs to change at her former employer Fox News.

"Corporate culture there obviously has to change. You know, women don't deserve – they should not ever have to put up with any kind of intimidating workspace," Palin told CNN.

She also added that women who do face sexual harassment in the workplace should speak out and not remain in hostile environments just to collect a paycheck.

"If a woman believes that she is being intimidated and harassed, she needs to stand up and do something about it, not stick around for a paycheck for years and years and years, and then after the fact complain about what she went through," Palin said.

As a Fox News contributor, the 2008 vice presidential nominee often appeared on "The O'Reilly Factor." Her contract as a contributor was not renewed in 2015. When pressed by CNN anchor Jake Tapper if that was related to inappropriate treatment, Palin gave a cagey response.

"You know I'm not going to speak for them, my contract wasn't renewed – that's the line," Palin said.

However, in 2015, Palin said she was fired as retribution for "calling somebody out." "Some things happened that I haven't talked about publicly ... things like getting canned from a job I really liked, kind of, sort of out of the blue, because I called somebody out," Palin told CBN. "It was a shock, but more power to Fox News – it's private enterprise. They can fire somebody for wearing the wrong color of tie that day."