File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ jobs:
4646 echo "Detected OS: $DISTRO_ID:$DISTRO_VERSION"
4747
4848 # Update grype vulnerability database
49- grype db update
49+ $HOME/.local/bin/ grype db update
5050
5151 # Check SQLite vulnerabilities in installed packages
5252 echo "Scanning SQLite packages for vulnerabilities..."
53- GRYPE_RAW_OUTPUT=$(grype dir:/var/lib/dpkg --distro "$DISTRO_ID:$DISTRO_VERSION" --scope all-layers 2>/dev/null || true)
53+ GRYPE_RAW_OUTPUT=$($HOME/.local/bin/ grype dir:/var/lib/dpkg --distro "$DISTRO_ID:$DISTRO_VERSION" --scope all-layers 2>/dev/null || true)
5454 echo "Raw grype output:"
5555 echo "$GRYPE_RAW_OUTPUT"
5656
@@ -213,7 +213,7 @@ jobs:
213213 for file in $FILES_TO_SCAN; do
214214 if [ -f "$file" ]; then
215215 echo "=== Scanning $file ==="
216- SCAN_OUTPUT=$(grype "$file" 2>/dev/null || true)
216+ SCAN_OUTPUT=$($HOME/.local/bin/ grype "$file" 2>/dev/null || true)
217217 echo "$SCAN_OUTPUT"
218218
219219 if echo "$SCAN_OUTPUT" | grep -qi sqlite; then
You can’t perform that action at this time.
0 commit comments