Use the Snyk plugin to secure your Eclipse projects
Last updated
Was this helpful?
Last updated
Was this helpful?
After the Eclipse plugin is downloaded and authentication is complete, the plugin starts the workspace scan. You may notice a confirmation that a workspace scan is starting. Alternatively, you can trigger a workspace scan from the context menu of your Project, or from the Snyk View.
All of the issues found by Snyk are now integrated natively with Eclipse flows. Issues are shown in the Problems tab, as illustrated in the following screen image. There is a squiggly line indicating the issue while you code, along with gutter icons to indicate where the issue is.
In addition, starting with version 3+, Snyk provides a custom UI in the Snyk Tab, that displays issue details:
Starting with version 3.1.0, it is possible to see only newly introduced issues.
This functionality reduces noise and allows you to focus only on current changes. This helps prevent issues early, thus unblocking your CI/CD pipeline and speeding up your deliveries.
The logic uses your local Git repository or any folder to compare the current findings with those in a base branch or reference folder. Net new issues scanning (delta scanning) shows you the difference between the two branches or folders, highlighting only the new issues.
To apply the filter and see only the new issues, use the total/new toggle in the summary panel, or apply the Show only Net New Issues filter from the View menu (under Issues Status).
For newly created feature branches, there will be no reported issues. That is an intended state that developers would aim for, as illustrated in the screen image that follows:
The base branch is usually automatically determined for each Git repository.
You may change the base branch or base folder by following these steps, as illustrated in the screen image that follows:
Toggle the total/new filter in the summary panel.
Click on the top-level node in the Issues tree to change the branch or directory.
Use the dropdown selection to choose any branch or reference folder.
Continue by following the instructions on the page for the type of scan you are doing: