Consistent Ignores for Snyk Code Early Access
Snyk Code Consistent Ignores helps your teams focus on important tasks by filtering out distractions.
It makes sure that once an ignore is created, it is consistently respected regardless of how and where the test is run and what branch is being tested.
By filtering out false positives, inapplicable threats, and accepted risks, your security teams can prioritize fixing real problems, and developers can code without interruptions.
From Project to asset-scoped ignores
Snyk is transitioning from ignores tied to specific issues within a Project to ignores tied to a finding within a repository. This change enables consistency across Projects and where Projects aren't present while reducing ignore management complexity.
Enable Snyk Code Consistent Ignores
Enable Snyk Code Consistent Ignores for your Group or Organization in the Snyk Web UI by navigating to Group/Organization > Settings > Ignores across the repository for Snyk Code. See Snyk Preview.
Review the Known limitations before enabling this feature in your environment.
Disable Snyk Code Consistent Ignores
Any ignores created or converted with the feature enabled will not be automatically converted back to Project-based ignores. You can recreate them manually after disabling the feature.
User roles
To create, edit and remove ignores, you need to have a user role assigned with Ignore management permissions. Only Group Admins can set these permissions (see User role management).
Log in to the Snyk Web UI and navigate to your Group and Organization.
Navigate to Members > Manage Roles and select one or more permissions.
View Ignores
View Ignore information.
Create Ignores
Create new Ignores.
Edit Ignores
Configure Ignores.
Remove Ignores
Permanently remove Ignores.
Convert Project-scoped ignores to asset-scoped ignores
Conversion is necessary to give you control over which ignores are converted. For example, if you monitor multiple branches for a given repository, you can decide what ignore metadata should be converted and used as the single source of truth going forward.
The following scenario assumes that you have ignored issues within your Snyk Code Project prior to enabling Snyk Code Consistent Ignores.
If a rescan has not occurred since enabling Snyk Code Consistent Ignores, you may need to retest the Project for the Ignore across repository
button to be active. In most cases, the Ignore across repository
button will be activated, and this step will not be necessary.
Navigate to a Snyk Project and open an issue card with an issue that was ignored before enabling this feature.

The warning states that the ignore was created through the legacy system and is not consistent across the repository. Issues ignored before enabling the feature will appear with this warning so you can determine what ignore metadata should be converted and used as the source of truth going forward.
To convert the issue from a Project-scoped to an asset-scoped ignore, select Ignore across repository.
Manage ignores at the Group level through security policies
You can manage ignores proactively using group-level Snyk Code security policies. As a general rule, you can apply ignore policies when you identify a recurring need to apply similar individual ignores.
To manage the ignores through security policies, Snyk Code Consistent Ignores need to be enabled at the Group level by your Snyk team. You will not require conversion for any previously applied Group level policy ignores.
Policies configured to ignore based Project attributes will not result in ignores being applied in Snyk CLI and IDE settings where a Snyk Project is not available.
CWE
You can provide any CWE value. Snyk Code will ignore any subsequent tests that find associated findings or issues. You can find valid CWEs on MITRE’s website or anywhere you can view Snyk Code results.
Rule IDs
You can provide any Snyk Code rule ID. You can find Snyk Code rule IDs as part of the SARIF output that you exported using Snyk CLI.
Manage ignores in Snyk Projects
You can take action from Project issues, but Snyk will apply any ignores to the underlying asset-scoped findings that can span across Snyk Projects, integrations, and branches.
Create ignore
Log in to the Snyk Web UI and navigate to your Group and Organization.
Open a Project and find an issue card.
Issue card overview Select Ignore across repository on an issue card to create an ignore.
Fill in the ignore information and confirm its creation. The issue will be updated and moved from Open to Ignored. If anyone loads the page before a retest, an indicator will appear and encourage retesting to capture policy or ignore changes.
Modify ignore
Delete ignore
Log in to the Snyk Web UI and navigate to your Group and Organization.
Open a Project and find an issue card.
Select Unignore to set all future tests to show the associated finding or issue as open.
Edit ignore details
Log in to the Snyk Web UI and navigate to your Group and Organization.
Open a Project and find an issue card.
Select Edit Ignore, change the values, and then Confirm.
Last updated
Was this helpful?