# sourcegraph-snyk **Repository Path**: mirrors_sourcegraph/sourcegraph-snyk ## Basic Information - **Project Name**: sourcegraph-snyk - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2025-12-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Snyk Sourcegraph extension ## ⚠️ Deprecation notice **Sourcegraph extensions have been deprecated with the September 2022 Sourcegraph release. [Learn more](https://docs.sourcegraph.com/extensions/deprecation).** The repo and the docs below are kept to support older Sourcegraph versions. ## Description Provides code insights from Snyk reports. **Status**: beta ### Code Insight

Screenshot

### Notification + Panel View

Screenshot

## Configuration The extension can be configured through JSON in user, organization or global settings. ```jsonc { // A Snyk API token. "snyk.apiToken": "...", // Whether to show notifications when Snyk has found issues in the currently viewed project "snyk.showNotifications": true, // The Snyk extension needs to map the repository on Sourcegraph to a project inside an organization on // Snyk. The default settings work for most projects on Snyk, but if you have a custom setup, you // can configure the following settings. // This regular expression is matched on the repository name. The values from the capture groups are // available in the templates below. "snyk.repositoryNamePattern": "(?:^|/)([^/]+)/([^/]+)$", // This template is used to form the Snyk organization key. // By default, the second-last part of the repository name (first capture group above) is used as-is. // E.g. "apache" from "github.com/apache/struts". "snyk.organizationKeyTemplate": "$1", // CORS headers are necessary for the extension to fetch data, but Snyk does not send them by default. // Here you can customize the URL to an HTTP proxy that adds CORS headers. // By default Sourcegraph's CORS proxy is used. "snyk.corsAnywhereUrl": "https://cors-anywhere.sgdev.org" } ```