From 7471b487945ab538d12d13aafdba563e4568c2b2 Mon Sep 17 00:00:00 2001 From: g_it Date: Tue, 10 Feb 2026 23:51:28 +0100 Subject: [PATCH] . --- .checks/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.checks/pre-push b/.checks/pre-push index 41f9ad2..fb68318 100755 --- a/.checks/pre-push +++ b/.checks/pre-push @@ -28,7 +28,7 @@ trap cleanup EXIT INT TERM # Trivy check for vulnerabilities in dependencies if command -v trivy &>/dev/null; then echo -e "${GREEN}Running Trivy scan...${NC}" - trivy fs --ignorefile .trivyignore . --exit-code 1 --severity CRITICAL,HIGH,MEDIUM,LOW,UNKNOWN --no-progress \ + trivy fs --ignorefile .trivyignore . --exit-code 1 --severity CRITICAL,HIGH,MEDIUM,LOW,UNKNOWN --no-progress --scanners vuln \ >"$LOG_DIR/trivy.log" 2>&1 || { echo -e "${RED}Trivy failed. See $LOG_DIR/trivy.log${NC}"; exit 1; } else echo -e "${YELLOW}Trivy not installed. Skipping vulnerability scan.${NC}"