-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.snyk
More file actions
66 lines (55 loc) · 3.48 KB
/
Copy path.snyk
File metadata and controls
66 lines (55 loc) · 3.48 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
# Snyk (https://snyk.io) policy file
# ═══════════════════════════════════════════════════════════════════════════════
# VULNERABILIDADES CONHECIDAS E MITIGADAS
# ═══════════════════════════════════════════════════════════════════════════════
# xlsx - HIGH severity (documentado em TECH-DEBT.md)
# Mitigação: Rate limiting, file size limits, sanitization
# Plano: Migrar para exceljs (Etapa 2 - Fase 4)
ignore:
'SNYK-JS-XLSX-*':
- '*':
reason: 'Vulnerabilidade documentada em TECH-DEBT.md. Migração para exceljs planejada (Etapa 2).'
expires: '2026-06-01'
created: 2026-03-04
# ═══════════════════════════════════════════════════════════════════════════════
# EXCLUSÕES
# ═══════════════════════════════════════════════════════════════════════════════
# Excluir diretórios de desenvolvimento
exclude:
global:
- node_modules/
- dist/
- build/
- coverage/
- .git/
- server/node_modules/
- server/dist/
# ═══════════════════════════════════════════════════════════════════════════════
# CONFIGURAÇÕES
# ═══════════════════════════════════════════════════════════════════════════════
# Threshold: Alertar apenas sobre HIGH e CRITICAL
# (MEDIUM e LOW serão reportados mas não falharão o build)
failThreshold: high
# Monitorar projeto continuamente
monitor: true
# Incluir dev dependencies no scan
devDependencies: true
# ═══════════════════════════════════════════════════════════════════════════════
# PATCHES AUTOMÁTICOS
# ═══════════════════════════════════════════════════════════════════════════════
# Habilitar patches automáticos da Snyk quando disponíveis
patch: {}
# ═══════════════════════════════════════════════════════════════════════════════
# NOTAS
# ═══════════════════════════════════════════════════════════════════════════════
#
# Para testar localmente:
# npm install -g snyk
# snyk auth
# snyk test
#
# Para monitorar:
# snyk monitor
#
# Dashboard: https://app.snyk.io
#