The 36-year-old, who cannot be named for legal reasons, told bosses she had been raped at a Christmas party in 2011 by a colleague, who has since been cleared of sexual assault.
The alleged attack was claimed to have been carried out by a man who was a friend of one of the company directors.
The director instructed that the internal investigation into the alleged attack be left incomplete and told human resources to "draw a line under it" and get both of them back to work.
Only weeks after criminal proceedings were under way, the woman was told she was being made redundant.
She described being "humiliated" and "embarrassed" after being told to clean her desk.
She was put on garden leave until her notice period had expired.
Following an employment tribunal in Glasgow, judge Ian McPherson ruled the woman was unfairly dismissed after reporting the alleged attack.
In a written judgment, he said: "We consider that it is reasonable for us to draw an inference that her dismissal was by reason of her having made that protected disclosure."
The woman was awarded £30,464.38 in compensation as a result of her dismissal.