Study of legal risks associated with SaaS migration