2019-06-09 02:31:57 +01:00
|
|
|
# snyk
|
|
|
|
|
|
|
|
> Find vulnerabilities in your code and remediate risks.
|
|
|
|
> More information: <https://snyk.io>.
|
|
|
|
|
2021-05-14 01:42:15 +01:00
|
|
|
- Log in to your Snyk account:
|
2019-06-09 02:31:57 +01:00
|
|
|
|
|
|
|
`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`
|