Snyk Code Local Engine
Last updated
Last updated
More information
Snyk privacy policy© 2024 Snyk Limited | All product and company names and logos are trademarks of their respective owners.
Release status
Snyk Code Local Engine is in Early Access and available only for Enterprise plans. If you are interested in using the feature, contact your Snyk account team.
Snyk Code Local Engine (SCLE) is a fully contained version of the Snyk Code Engine that allows you to avoid uploading your code to the internet. When you use the Local Engine, only the scan is performed locally. Your scan results are uploaded to Snyk so you can view them on the Snyk Web UI.
This high-level architecture diagram shows the components and their interactions. Snyk scans a request for a Git repository through the Snyk Code Local Engine, which returns the results to Snyk.
The core requirements to deploy the Snyk Code Local Engine are:
Kubernetes version 1.21.0 - 1.28.0:
Recommended: a dedicated Kubernetes cluster
Outbound HTTPS connections supporting WebSockets from the cluster to *.snyk.io
This connection is needed for all flows (CLI, IDE, SCM, and PR Checks)
Kubernetes – one of the following:
Managed public cloud Kubernetes service - EKS, AKS, GKE - or -
Unmanaged Kubernetes (a self-hosted cluster)
PR Checks and Snyk CLI support require network access to the Kubernetes cluster:
From your Kubernetes cluster to your Git and CI/CD tooling
From users running Snyk CLI to the Kubernetes cluster
Helm version 3.8.0 or newer
Environment with x86 CPUs
The Snyk Code Local Engine is modular and can be customized to run specific integrations or everything at once. It can also scale as you prefer, with one or multiple nodes.
Each of the Kubernetes nodes will require at least the following free resources to run it:
55 GB RAM
14 Core CPU
50GB Ephemeral Storage
The size of the minimum node will depend on what your environment requires, but these are the minimum free resources required.
The total required resources for each flavor of the Snyk Code Local Engine are identified in the following list. Actual memory and storage consumption depend on the usage and the size of repositories scanned. The minimum total required resources can then be divided into multiple nodes.
Deployment options | Resources required | Use cases |
---|---|---|
CLI |
|
|
IDE |
|
|
SCM |
|
|
SCM and PR Checks |
|
|
SCM, PR Checks and CLI |
|
|
Full deployment (all features) |
|
|
To use the Snyk CLI and IDEs with Snyk Code Local Engine, provide your Snyk account team with your Snyk Code Local Engine URL, the URL of the Snyk Code Local Engine running on your premises. After your CSM has configured the URL for your Organization, you can view it from Settings --> Snyk Code:
The instructions to configure and deploy the Local Engine in your environment are in the Readme file in the Local Engine installation package. For more information and assistance, contact your Snyk account team.