The snyk wizard documentation recommends adding snyk protect
to your project as a post-install step. How exactly do you do that? I referred to the entire package.json documentation here and couldn't find any reference to a post-install keyword.
Asked
Active
Viewed 214 times
2

TheLearner
- 2,813
- 5
- 46
- 94
1 Answers
3
There's some small difference between snyk wizard
and snyk protect
. Adding snyk protect
is indeed a good practice, as it applies any potential patches to make your node app more secure. The snyk wizard
will guide you through also upgrading the versions of your dependencies if they solve any vulnerabilities.
More info on snyk protect. When using the Fix PR functionality for a npm project, it will be automatically part of the PR, if it involves any patches.
An example can also be found here, Line14-21

Joris De Winne
- 136
- 4