Files
cheatsheet-tldr/tldr/snyk
2025-05-02 00:19:39 +00:00

30 lines
571 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# snyk
> Find vulnerabilities in your code and remediate risks.
> More information: <https://docs.snyk.io/snyk-cli/commands>.
- Log in to your Snyk account:
`snyk auth`
- Test your code for any known vulnerabilities:
`snyk test`
- Test a local Docker image for any known vulnerabilities:
`snyk test --docker {{docker_image}}`
- Record the state of dependencies and any vulnerabilities on snyk.io:
`snyk monitor`
- Auto patch and ignore vulnerabilities:
`snyk wizard`