punimtag/.semgrepignore
Tanya 4b0a495bb0 chore: Add Semgrep ignore file and CI job status documentation
This commit introduces a Semgrep ignore file to suppress false positives and low-risk findings, particularly for controlled inputs in database scripts and development configurations. Additionally, a new CI Job Status Configuration document is added to clarify which CI jobs should fail on errors and which are informational, enhancing the overall CI/CD process documentation.
2026-01-12 12:25:19 -05:00

21 lines
803 B
Plaintext

# Semgrep ignore file - suppress false positives and low-risk findings
# Console.log format string warnings - false positives (JavaScript console.log doesn't use format strings)
javascript.lang.security.audit.unsafe-formatstring.unsafe-formatstring
# SQL injection warnings in database setup/migration scripts (controlled inputs, admin-only)
# These are legitimate uses of text() for DDL operations that can't use parameterized queries
scripts/db/
scripts/debug/
scripts/db/drop_all_tables.py
scripts/db/grant_auth_db_permissions.py
scripts/db/migrate_sqlite_to_postgresql.py
scripts/debug/check_database_tables.py
# Database setup code in app.py (controlled inputs, admin-only operations)
backend/app.py
# Docker compose security suggestions (acceptable for development)
deploy/docker-compose.yml