Usually only when TAC ask for it when they are trying to help diagnose a problem.Tru Dat.
I work in the service department at a dealership and yes, if you ever have a problem that they have to plug in to the data port for diagnosis, it comes up that an unknown/unauthorized program is present. That can get uploaded to GM(I don't know if it has to be done or if it is automatic), then it will go on your VIS report, then you are screwed. I saw it happen once and it almost happened to me when I had my STS-V.
and for many high performance vehicle warranty claim approvals/reviews.Usually only when TAC ask for it when they are trying to help diagnose a problem.