-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
333 lines (276 loc) · 6.51 KB
/
Copy path.gitignore
File metadata and controls
333 lines (276 loc) · 6.51 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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
# ============================================================================
# SOC Lab Docker – .gitignore
# Excludes sensitive data, build artifacts, and environment-specific files
# ============================================================================
# ============================================================================
# Environment & Configuration
# ============================================================================
# Environment variables (never commit .env with real credentials)
.env
.env.local
.env.*.local
# IDE-specific settings
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
.project
.pydevproject
.settings/
# ============================================================================
# Docker & Container Data
# ============================================================================
# Docker volumes and mounted data
data/
volumes/
docker-volumes/
# Docker build cache and temporary files
.docker/
.dockerignore
# Container logs
logs/
*.log
logs/**/*
# Temporary Docker files
.container-state
# ============================================================================
# Python
# ============================================================================
# Python virtual environments
venv/
env/
ENV/
.venv/
.pyenv/
pipenv-lock.json
# Python build artifacts
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
click-params.json
pip-wheel-metadata/
share/python-wheels/
# Python testing
.pytest_cache/
.coverage
.coverage.*
htmlcov/
.tox/
.hypothesis/
# Python packaging
*.egg-info/
*.egg
MANIFEST
# Poetry (if used)
poetry.lock
dist/
# ============================================================================
# Node.js (if used for dashboard or tooling)
# ============================================================================
node_modules/
npm-debug.log
yarn-error.log
package-lock.json
yarn.lock
.npm/
# ============================================================================
# Terraform & Infrastructure as Code
# ============================================================================
# Terraform files
*.tfstate
*.tfstate.*
.tfvars
.terraform/
.terraform.lock.hcl
crash.log
override.tf
override.tf.json
# ============================================================================
# Bash & Shell Scripts
# ============================================================================
# Temporary shell files
*.tmp
*.bak
# ============================================================================
# Credentials & Secrets
# ============================================================================
# SSH keys
*.pem
*.ppk
*.key
id_rsa
id_rsa.pub
# TLS certificates
*.crt
*.cer
*.cert
*.pem
*.p12
certs/
certificates/
# API keys and tokens (if accidentally committed)
secret*.txt
*.secret
credentials.json
.aws/credentials
.aws/config
# ============================================================================
# Database & Persistence
# ============================================================================
# Database files
*.db
*.sqlite
*.sqlite3
*.db-journal
data.db
# Elasticsearch data
elasticsearch-data/
indices/
# Backup files
*.backup
*.bak
*.tar.gz
*.zip
# ============================================================================
# OS-Specific Files
# ============================================================================
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
# Windows
Thumbs.db
Desktop.ini
*.lnk
# Linux
.cache/
.local/
# ============================================================================
# Generated Files & Artifacts
# ============================================================================
# Generated API documentation
generated/
/docs/_build/
site/
# Test outputs
test-results/
test-reports/
*.xml
*.junit
# Temporary files
*.tmp
*.temp
tmp/
# ============================================================================
# IDE Editor Config
# ============================================================================
# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# IntelliJ / PyCharm
.idea/*
*.iml
*.iws
*.ipr
# Sublime Text
*.sublime-project
*.sublime-workspace
# Vim
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt][a-z]
Session.vim
.netrwhist
# ============================================================================
# Build & Compilation
# ============================================================================
# Compiled binaries
*.exe
*.dll
*.so
*.dylib
*.a
*.o
# Build directories
build/
dist/
target/
bin/
obj/
# ============================================================================
# Internal Development Files
# ============================================================================
# Internal roadmap and development tracking (not for public repo)
_INTERNAL_DEV_ROADMAP.md
_TODO.md
.internal/
.dev/
INTERNAL_*.md
.claude/
Claude.md
Lessons.md
tasks/lessons.md
# ============================================================================
# Temporary Non-Production Data
# ============================================================================
# Mock data files (comment out if you want to track sample data)
mock-data/
sample-logs/
test-data/
# Visualization exports (often large)
exports/
*.html
*.pdf
# ============================================================================
# CI/CD & DevOps
# ============================================================================
# Coverage reports
.coverage
htmlcov/
# Build logs
build.log
# ============================================================================
# Comments
# ============================================================================
# These patterns exclude:
# - Environment variables and credentials
# - Docker volumes and persistent data (regenerable from scripts)
# - IDE configuration (user-specific)
# - Build artifacts and compiled code
# - OS-specific and temporary files
#
# Safe to track:
# - Source code (generators, scripts, queries)
# - Documentation
# - Configuration templates (.env.example)
# - Docker Compose definitions
# - Detection queries and dashboard definitions
# - Tests and test fixtures
# ============================================================================
# EXCEPTIONS (whitelist)
# ============================================================================
# If you need to track specific files that would normally be ignored,
# use the negation operator (!). For example:
# !logs/example.log
# !mock-data/sample-events.json
# !data/dashboards/template.json