This question already has an answer here:
I was hired by company X months ago as a full time developer but have been working onsite as a contractor at one of company X's clients, company Y. I might be somewhat bias but since company Y is more renowned and respectable in the industry, I am wondering if I should leave company X in the dark?
Although I am working as a contractor at Y, I have never visited X (company is out of country) and it was one of Y's managers who did the initial interview with me. I checked other developers who are also from X and some of them put X on their profile, some of which put Y, some even put both. Which makes me wonder if its okay to not bring up X and only mention company Y in my resume / linkedin / interviews unless they ask?