An alternative is be an OAuth client that connect to in cloud SCM and use API to query for such information we need. This can be a separate project.