-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
220 lines (189 loc) · 3.41 KB
/
Copy path.gitignore
File metadata and controls
220 lines (189 loc) · 3.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# Virtual Environment
venv/
env/
ENV/
deal_radar_env/
# Django - CRITICAL SECURITY
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
media/
staticfiles/
# User uploaded files
uploads/
user_data/
# Environment Variables - CRITICAL SECURITY
.env
.env.local
.env.production
.env.staging
.env.development
.env.test
*.env
# Secret Keys and Credentials
secrets.json
credentials.json
service-account.json
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Coverage
htmlcov/
.coverage
.coverage.*
coverage.xml
*.cover
# Pytest
.pytest_cache/
# Celery - CRITICAL SECURITY
celerybeat-schedule
celerybeat.pid
celerybeat-schedule.db
celerybeat.db
# Redis - CRITICAL SECURITY (Phase 2)
dump.rdb
redis.conf
redis.log
redis/
redis.zip
*.rdb
# Phase 2 Scraping Data - SENSITIVE
scraping_cache/
scraped_data/
user_sessions/
price_history_exports/
scraping_logs/
*.scraping.log
# Testing Files - MAY CONTAIN SENSITIVE DATA
test_*.py
*_test.py
tests/local_*
test_data/
mock_responses/
debug_scraped_data/
# Phase 2 Implementation Files - SENSITIVE LOGIC
phase2_scraping_implementation.py
PHASE2_SCRAPING_PLAN.md
PHASE2_MANUAL_SETUP.md
scraper_configs/
site_selectors/
scraping_strategies/
selector_mappings.json
scraping_instructions.md
deployment_guides/
setup_instructions/
# Task Queue and Background Jobs
celery_tasks.log
worker.log
beat.log
task_results/
# Static files (uncomment if using whitenoise)
# staticfiles/
# Node modules (if using npm/yarn)
node_modules/
# Heroku
.env.local
# Security and API Keys - CRITICAL SECURITY
*.pem
*.key
*.crt
*.p12
*.pfx
api_keys.json
webhooks.json
scraping_headers.json
# Phase 2 Configuration - SENSITIVE
scraper_settings.json
user_agents.txt
proxy_configs.json
rate_limits.json
# Third-party Service Credentials
twilio_credentials.json
sendgrid_credentials.json
stripe_credentials.json
heroku_credentials.json
# Production Deployment Files - SENSITIVE
docker-compose.override.yml
deployment_keys/
ssl_certificates/
nginx_configs/
supervisor_configs/
# Cloud Provider Configs
.aws/
.gcp/
.azure/
# Backup files
*.backup
*.sql
# Cache and temporary files
.cache/
tmp/
temp/
# Logs and monitoring - CONTAINS USER DATA
logs/
*.log.*
audit.log
access.log
error.log
scraping.log
celery.log
django.log
security.log
# Analytics and Metrics - USER BEHAVIOR DATA
analytics/
metrics/
user_analytics/
scraping_metrics/
performance_data/
monitoring_data/
# Phase 2 User Data - GDPR SENSITIVE
user_exports/
data_requests/
privacy_exports/
user_profiles_backup/
tracked_products_backup/
# End of .gitignore
# SECURITY AUDIT SUMMARY (Phase 2)
# ===================================
# ✅ Environment variables (.env, .env.*)
# ✅ Database files (db.sqlite3, *.db)
# ✅ Redis data (dump.rdb, redis/)
# ✅ Virtual environment (deal_radar_env/)
# ✅ Python cache (__pycache__/)
# ✅ Logs and monitoring data (logs/, *.log)
# ✅ User data and exports (user_exports/, analytics/)
# ✅ API keys and credentials (*.json, *.key)
# ✅ Scraping implementation details (phase2_*.py, PHASE2_*.md)
# ✅ Testing files with potential sensitive data (test_*.py)
# ✅ Task queue data (celerybeat-*, *.rdb)
# ===================================
# CRITICAL: Never commit .env, credentials, or user data!
# REMINDER: Run 'git status --ignored' to verify protection