Files
aitbc/.gitea
aitbc1 81906a3aa3
Some checks failed
audit / audit (push) Successful in 9s
ci-cd / build (push) Successful in 13s
ci / build (push) Successful in 8s
ci-cd / deploy (push) Has been cancelled
ci / deploy (push) Has been cancelled
autofix / fix (push) Has been cancelled
security-scanning / audit (push) Has been cancelled
test / test (push) Has been cancelled
fix: use Safety CLI in offline mode to avoid authentication
SECURITY FIX: Use offline mode to prevent authentication prompts

Issue: Safety CLI prompting for login/registration
Prompt: 'Please login or register Safety CLI (free forever)'
Problem: CI/CD workflows cannot interactively authenticate
Impact: Security scanning blocked by authentication requirement

Solution: Use Safety in offline/local mode

Changes:
- Add --offline flag to all safety scan commands
- Add --json flag for structured output
- Update security summary to mention offline mode
- Maintain full security scanning capability
- No authentication required for CI/CD

Updated workflows:
- security-scanning.yml: Offline safety scanning
- fix.yml: Offline safety scanning
- All other workflows with safety: Updated to offline mode

Expected results:
- No authentication prompts in CI/CD
- Complete dependency security scanning offline
- Same security coverage without cloud dependency
- Clean, automated security scanning
- No manual intervention required

This ensures security scanning works fully automated in CI/CD
environments without requiring any authentication.
2026-03-27 14:46:46 +01:00
..