This can be done using the Snyk Broker, an open source tool that acts as a proxy brokering communication between Snyk and your on-prem source code management solution such as GitHub Enterprise, GitLab CE/EE, Bitbucket Server, and on-prem container registries.
See Snyk Broker for more details.