Security policy actions
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.
An action defines what you want to happen when the security policy conditions are matched.
You cannot stack multiple actions in the same rule. To have multiple actions with a rule, create a new rule block with the same conditions, and specify a different action.
These are the actions that can currently be applied:
Action | Definitions |
---|---|
Change severity to… | Changes the severity of whatever issues match the conditions. This can be set to Issues with a changed severity have their updated to reflect the new severity. A note appears on the indicating that the severity of the issue has been changed by a policy. The severity icon will also be "stacked," showing the original severity behind the new one. |
Ignore current and future instances | Ignore all vulnerabilities that match the conditions. For example, ignore all issues that have no known exploits in Projects with a After an ignore policy is applied, ignores will occur every time the relevant Project is re-scanned, with ignored issues marked as When setting the action, you can select Policy-based ignores have the same behavior as issues that are manually ignored. As with manual ignores, automatic PRs are not raised on issues ignored by a security policy or included in the issue count in reporting. |
Security policies are applicable to Snyk Open Source and Snyk Container Projects.