githubEdit

Use the Snyk plugin to secure your Eclipse projects

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.

Starting workspace scan

Issues are displayed in the Eclipse plugin

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.

Eclipse Problems tab

In addition, starting with version 3+, Snyk provides a custom UI in the Snyk Tab, that displays issue details:

Issue details in Eclipse plugin

Severity filtering

Filter issues by severity level to reduce noise and focus on high-severity issues.

To hide low-severity issues, navigate to View > Severity and clear Low Severity. Select Show All Severities to enable or disable all severity filters.

Severity filters in the View menu

Issue View Options

Code Consistent Ignores filters issues to help teams focus on critical tasks. After you create an ignore, Snyk applies it to all tests and branches.

circle-info

These filters do not apply if you disable Code Consistent Ignores for the Organization.

Issue View Options alongside the Net New filter in the View menu

Net new issues versus all issues

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).

Net new issues filter enabled after clicking on the total/new issues toggle
Activate Net new issues in the dot menu of the Snyk View

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:

No new issues introduced in a newly created branch

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:

  1. Toggle the total/new filter in the summary panel.

  2. Click on the top-level node in the Issues tree to change the branch or directory.

  3. Use the dropdown selection to choose any branch or reference folder.

Changing reference branch or reference directory for calculation net new issues

Continue by following the instructions on the page for the type of scan you are doing:

Last updated

Was this helpful?