Taken from wikipedia;
Financial declarationsIn May 2012, Warsi apologised for failing to declare rental income in the House of Lords register of interests. Declaring the fact of income, but not the amount, is necessary for rental income over ₤5,000. Parliamentary expenses inquiryOn 27 May 2012, criticisms of her claims for parliamentary expenses were reported. The Labour Opposition urged a full police investigation into her expenses after it was alleged that she claimed up to £2,000 in despite staying rent-free in the London home of a Conservative Party donor, Dr Wafik Moustafa. Moustafa claims that he received no money from Warsi. Though he stated it was not personal, Moustafa was in a political dispute with Warsi concerning the Conservative Arab Network.
Labour MP John Mann intended to refer the claims to the Lords Commissioner for Standards, but Warsi pre-empted this by referring them herself.
Warsi was ultimately cleared by the Commissioner for Standards in July 2012. Breach of the Ministerial CodeSir Alex Allan found Warsi to have committed two breaches the Ministerial Code, though he concluded they were minor and noted that she had apologised. The first was in relation to a trip to Pakistan where she failed to declare that she was being accompanied by a business partner but Sir Alex found that even if Lady Warsi had declared the relationship it would not have prevented the trip from going ahead. The second was when she invited her business partner (Abid Hussain) to meet David Cameron at a number 10 Downing Street Eid event.
The Conservative Party leadership was criticised in some quarters for holding Baroness Warsi to account on the Ministerial Code while apparently having a more relaxed approach to Jeremy Hunt, who was Culture Secretary at that time.
Following the publication of the report, David Cameron said Baroness Warsi would be keeping her job.
I think that says it all about her. No doubts she ticked two boxes to get her (now previous) job.