-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
180 lines (163 loc) · 6.93 KB
/
Copy path.gitignore
File metadata and controls
180 lines (163 loc) · 6.93 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
# ══════════════════════════════════════════════════════════════════
# .gitignore — SOC Zero Trust TFG ASIR 2025-2026
# Regla de oro: si contiene credenciales, claves o datos privados → fuera
# ══════════════════════════════════════════════════════════════════
# ──────────────────────────────────────────────────────────────────
# CREDENCIALES Y CLAVES — NUNCA subir bajo ningún concepto
# ──────────────────────────────────────────────────────────────────
*.pem
*.key
*.p12
*.pfx
*.crt
*.cer
.env
.env.*
.env.local
.env.production
secrets.yml
secrets.yaml
credentials.json
credentials.yml
# Wazuh específico
wazuh-agent-key.txt
client.keys
*registration_password*
*authd*password*
*.ossec-tmp
# Contraseñas en config — patrones comunes
*password*
*passwd*
*secret*
*token*
# Excepción: archivos de config del proyecto (tienen placeholders, no valores reales)
!config/wazuh/ossec.conf
!config/fail2ban/jail.local
!config/fail2ban/*.conf
!config/nginx/*.conf
!config/opnsense/*.sh
!config/active-response/*
# ──────────────────────────────────────────────────────────────────
# CAPTURAS Y EVIDENCIAS — privadas o demasiado grandes
# ──────────────────────────────────────────────────────────────────
Capturas/
media/screenshots/
media/*.pcap
media/*.pcapng
*.pcap
*.pcapng
*.cap
# ──────────────────────────────────────────────────────────────────
# DOCUMENTACIÓN INTERNA DEL TFG — no va al repo público
# ──────────────────────────────────────────────────────────────────
Documento-TFG/
memory/
Chats/
Sesiones-Datos/
Arquitectura-Resumenes/
copy_vms.py
*.drawio.bak
*.drawio.bkp
.$*.drawio.bkp
*.dtmp
.$*.dtmp
# ──────────────────────────────────────────────────────────────────
# PYTHON
# ──────────────────────────────────────────────────────────────────
__pycache__/
*.py[cod]
*$py.class
*.pyo
.Python
pip-log.txt
pip-delete-this-directory.txt
venv/
.venv/
env/
.env/
*.egg-info/
dist/
build/
*.egg
# ──────────────────────────────────────────────────────────────────
# NODE / JAVASCRIPT (web señuelo si algún día se expande)
# ──────────────────────────────────────────────────────────────────
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.npm
dist/
build/
# ──────────────────────────────────────────────────────────────────
# LOGS — nunca al repositorio
# ──────────────────────────────────────────────────────────────────
*.log
*.log.*
logs/
/var/log/
ossec.log
alerts.log
archive.log
# ──────────────────────────────────────────────────────────────────
# ARCHIVOS TEMPORALES Y BACKUPS
# ──────────────────────────────────────────────────────────────────
*.tmp
*.temp
*.bak
*.backup
*.orig
*.swp
*.swo
*~
\#*\#
# ──────────────────────────────────────────────────────────────────
# SISTEMA OPERATIVO
# ──────────────────────────────────────────────────────────────────
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes
# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
desktop.ini
$RECYCLE.BIN/
*.lnk
# Linux
.directory
.Trash-*
# ──────────────────────────────────────────────────────────────────
# EDITORES E IDEs
# ──────────────────────────────────────────────────────────────────
# VSCode
.vscode/
*.code-workspace
# JetBrains
.idea/
*.iml
*.iws
*.ipr
# Vim/Emacs
*.swp
*.swo
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
Session.vim
.netrwhist
# ──────────────────────────────────────────────────────────────────
# DOCKER
# ──────────────────────────────────────────────────────────────────
.docker/
docker-compose.override.yml
# ──────────────────────────────────────────────────────────────────
# ARCHIVOS GRANDES DE MEDIA (subir manualmente cuando estén listos)
# ──────────────────────────────────────────────────────────────────
# El GIF y PNG se añaden explícitamente cuando existan
# media/*.gif ← NO ignorar, queremos el demo GIF
# media/*.png ← NO ignorar, queremos el diagrama PNG
# El .drawio SÍ se incluye (ya está en el repo)