Ignore
Usage and description
Ignore
Exclude
Examples of updates to the .snyk file
.snyk fileUpdates for ignores
ignore:
'<ISSUE_ID>':
- '*':
reason: <REASON>
expires: <EXPIRY>Update for an exclude
Debug
Options
--id=<ISSUE_ID>
--id=<ISSUE_ID>--expiry=<EXPIRY>
--expiry=<EXPIRY>--reason=<REASON>
--reason=<REASON>--policy-path=<PATH_TO_POLICY_FILE>
--policy-path=<PATH_TO_POLICY_FILE>--path=<PATH_TO_RESOURCE>
--path=<PATH_TO_RESOURCE>--file-path=<PATH_TO_RESOURCE>
--file-path=<PATH_TO_RESOURCE>--file-path-group=[global|code|iac-drift]
--file-path-group=[global|code|iac-drift]Examples for snyk ignore command
snyk ignore commandIgnore a specific vulnerability with the expiry and reason specified
Ignore a specific vulnerability with the expiry, a resource path, and reason specified
Ignore a specific vulnerability with an expiry date and path specified
Ignore a specific vulnerability with a resource path specified (Windows)
Ignore a specific vulnerability with a resource path specified (Linux, Mac OS)
Ignore a specific vulnerability for 30 days
Ignore a specific file until 2031-01-20
Ignore files or folders using glob expression - Snyk Code and unmanaged only
unmanaged onlyMore information about the snyk ignore command
snyk ignore commandLast updated
Was this helpful?

