mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-04 19:21:51 +00:00
chore(security): replace safety with osv-scanner (#11167)
This commit is contained in:
@@ -32,7 +32,7 @@ fi
|
||||
|
||||
echo ""
|
||||
|
||||
# Full setup requires uv for system hooks (pylint, bandit, safety, vulture, trufflehog)
|
||||
# Full setup requires uv for system hooks (pylint, bandit, vulture, trufflehog)
|
||||
# These are installed as Python dev dependencies and used by local hooks in .pre-commit-config.yaml
|
||||
if command -v uv &>/dev/null && [ -f "pyproject.toml" ]; then
|
||||
if uv run prek --version &>/dev/null 2>&1; then
|
||||
@@ -50,7 +50,7 @@ elif command -v prek &>/dev/null; then
|
||||
prek install --overwrite
|
||||
echo ""
|
||||
echo -e "${YELLOW}⚠️ Warning: Some hooks require Python tools installed via uv:${NC}"
|
||||
echo -e " pylint, bandit, safety, vulture, trufflehog"
|
||||
echo -e " pylint, bandit, vulture, trufflehog"
|
||||
echo -e " These hooks will be skipped unless you install them or run:"
|
||||
echo -e " ${GREEN}uv sync${NC}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user