2019-06-09 02:31:57 +01:00
|
|
|
# snyk
|
|
|
|
|
|
|
|
> Find vulnerabilities in your code and remediate risks.
|
|
|
|
> More information: <https://snyk.io>.
|
|
|
|
|
|
|
|
- Login to your Snyk account:
|
|
|
|
|
|
|
|
`snyk auth`
|
|
|
|
|
|
|
|
- Test your code for any known vulnerabilities:
|
|
|
|
|
|
|
|
`snyk test`
|
|
|
|
|
|
|
|
- Test a local Docker image for any known vulnerabilities:
|
|
|
|
|
2019-07-03 14:47:55 +01:00
|
|
|
`snyk test --docker {{docker_image}}`
|
2019-06-09 02:31:57 +01:00
|
|
|
|
|
|
|
- Record the state of dependencies and any vulnerabilities on snyk.io:
|
|
|
|
|
|
|
|
`snyk monitor`
|
|
|
|
|
|
|
|
- Auto patch and ignore vulnerabilities:
|
|
|
|
|
|
|
|
`snyk wizard`
|