From 9db021b9fa10eb357bb86a84477567d88d2a055e Mon Sep 17 00:00:00 2001 From: Sahil Ahuja Date: Sat, 8 Mar 2025 04:11:53 +0530 Subject: [PATCH] template --- README-vulnerability-scans.md | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 README-vulnerability-scans.md diff --git a/README-vulnerability-scans.md b/README-vulnerability-scans.md deleted file mode 100644 index 7a7d915..0000000 --- a/README-vulnerability-scans.md +++ /dev/null @@ -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 -```