Ignore Issue By ID
Modify the .snyk
policy file to ignore a stated issue according to its snyk ID for all occurrences, its expiry date, a reason, or according to paths in the filesystem.
Basic Parameters
Parameter | Description |
---|---|
Expiry | Time until the ignore configuration expires. Default is 30 days. |
Issue ID | Snyk ID for the issue to ignore. |
Path | Path to resource inside the depgraph for which to ignore the issue. Use to narrow the scope of the ignore rule. When no resource path is specified, all resources are ignored. You can specify component versions in the path using https://github.com/npm/node-semver#versions If used, follows the --policy-path option. |
Reason | Human-readable reason to ignore this issue. |
Advanced Parameters
Parameter | Description |
---|---|
Policy Path | Path to a .snyk policy file to pass manually. |
Workflow Library Example
Ignore Issue by Id with Snyk and Send Results Via Email