snyk ignore --id=<ISSUE_ID> [--expiry=] [--reason=] [--policy-path=<PATH_TO_POLICY_FILE>] [--path=<PATH_TO_RESOURCE>] [OPTIONS]
snyk ignore [--expiry=] [--reason=] [--policy-path=<PATH_TO_POLICY_FILE>] [--file-path=<PATH_TO_RESOURCE>] [OPTIONS]
snyk ignorecommand modifies the
.snykpolicy 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.
.snykfile to contain a block similar to the following:
--pathoption the block is similar to this:
--file-pathoption the block is similar to this:
-doption to output the debug logs.
--file-path; required by other use cases.
<REASON>to ignore this issue.
.snykpolicy file to pass manually.
snyk test --unmanaged
--file-path, otherwise omitted.
snyk test --unmanageduntil 2031-01-20, with a description as a reference for the future.