template
This commit is contained in:
parent
427ec7d0db
commit
9db021b9fa
@ -1,20 +0,0 @@
|
||||
# Grype
|
||||
|
||||
https://anchorecommunity.discourse.group/t/how-to-act-on-go-module-vulnerabilities/186/2
|
||||
|
||||
## Fixing issues within the image
|
||||
|
||||
```bash
|
||||
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sudo sh -s -- -b /usr/local/bin/
|
||||
|
||||
#To check vulnerabilities
|
||||
grype .
|
||||
#To save detailed output
|
||||
grype $MY_IMAGE -o json > vuln.json
|
||||
#OR
|
||||
grype . -o json > vuln.json
|
||||
|
||||
#To explain the issue:
|
||||
cat vuln.json | grype explain --id CVE-2023-24537
|
||||
cat vuln2.json | grype explain --id CVE-2023-45853
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user