# ===========================================
# WARLOG — .gitignore
# ===========================================

# -------------------------------------------
# Python / Backend
# -------------------------------------------
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Virtual environments
venv/
.venv/
ENV/
env/
.env.local
*.env.local

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
pytest_cache/

# mypy / type checkers
.mypy_cache/
.dmypy.json
dmypy.json
.pytype/
.pyre/

# Ruff linter
.ruff_cache/

# Jupyter Notebook
.ipynb_checkpoints

# -------------------------------------------
# Node.js / Frontend
# -------------------------------------------
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
.npm/
.npm-cache/
.cache/npm/
.yarn/cache
.yarn/unplugged
.yarn/install-state.gz
.pnp.*

# Build outputs
dist/
dist-ssr/
*.local
.turbo

# Vite
*.local

# -------------------------------------------
# IDE / Editors
# -------------------------------------------
.idea/
*.swp
*.swo
*~
*.sublime-workspace
*.sublime-project

# VSCode - keep settings but ignore some
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# -------------------------------------------
# OS Generated
# -------------------------------------------
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
desktop.ini

# -------------------------------------------
# Docker
# -------------------------------------------
# Ignore docker volume data if stored locally
docker-data/
.docker/

# -------------------------------------------
# Secrets / Environment
# -------------------------------------------
.env
.env.local
.env.*.local
*.pem
*.key
secrets/
!.env.example

# -------------------------------------------
# Stray / Generated Artifacts
# -------------------------------------------
# Keycloak exports & debug JSON
user-before.json
backend/client-full.json
backend/client-update.json

# Type-checker & lint output
backend/pyright_output.txt
pyrightconfig.json.bak
backend/.mypy-after-ruff.txt
backend/.ruff-after-unsafe.txt

# Generated API spec (regenerate with: python -m app.main --export-openapi)
backend/openapi.json

# Coverage artifacts
*.coveragerc
coverage.xml
htmlcov/

# Dev certificates (generate locally)
docker/keycloak/keycloak.crt
docker/keycloak/keycloak.key

# Misplaced frontend deps in backend
backend/package.json
backend/package-lock.json
backend/pnpm-lock.yaml
backend/node_modules/

# Ad-hoc test/debug scripts
backend/check_enum.py
backend/test_jira_integration.py

# -------------------------------------------
# Logs
# -------------------------------------------
logs/
*.log
log/

# -------------------------------------------
# Database
# -------------------------------------------
*.db
*.sqlite
*.sqlite3

# -------------------------------------------
# Misc
# -------------------------------------------
*.bak
*.tmp
*.temp
.cache/
tmp/
temp/

# -------------------------------------------
# Local documentation scratch / archive
# -------------------------------------------
archive/
docs/architecture/
docs/audits/
docs/strategy/
docs/whitepaper/
.claude/settings.local.json
pyrightconfig.json
.claude/settings.local.json
frontend/nul
frontend/screenshots-audit/01-dashboard.png
frontend/screenshots-audit/02-alerts.png
frontend/screenshots-audit/03-cases.png
frontend/screenshots-audit/04-investigation.png
frontend/screenshots-audit/05-threat-intel.png
frontend/screenshots-audit/06-threat-hunt.png
frontend/screenshots-audit/07-detection-rules.png
frontend/screenshots-audit/08-playbooks.png
frontend/screenshots-audit/09-connectors.png
frontend/screenshots-audit/10-knowledge.png
frontend/screenshots-audit/11-reporting.png
frontend/screenshots-audit/12-settings.png
frontend/screenshots-audit/13-entities.png
frontend/screenshots-audit/14-start-here.png
frontend/screenshots-audit/15-admin-agents.png
frontend/screenshots-audit/16-admin-ml-proposals.png
frontend/screenshots-audit/17-alert-detail.png
frontend/screenshots-audit/18-case-detail.png
backend/app/storage/warlog/alerts/d64ee7c6-b40f-4de3-9234-c05d84ddba55/attachments/2d5f656c-2c82-4a46-9611-85af7081a098/image.png
