Ignore Issue By File Path
Modify the .snyk
policy file to ignore a stated issue according to its according to paths in the filesystem.
Basic Parameters
Parameter | Description |
---|---|
Expiry | Time until the ignore configuration expires. Default is none. |
File Path | Filesystem for which to ignore the issue. Used by snyk code and snyk test --unmanaged . |
Reason | Human-readable reason to ignore this issue. |
Advanced Parameters
Parameter | Description |
---|---|
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. |
Policy Path | Path to a .snyk policy file to pass manually. |
Workflow Library Example
Ignore Issue by File Path with Snyk and Send Results Via Email
Preview this Workflow on desktop