sivakumar330 commited on
Commit
5d33ee7
·
verified ·
1 Parent(s): 7da0358

Delete config

Browse files
Files changed (2) hide show
  1. config/README.md +0 -11
  2. config/security-checklist.json +0 -26
config/README.md DELETED
@@ -1,11 +0,0 @@
1
- # /config
2
-
3
- Static, non-secret configuration and reference material used by this project.
4
-
5
- - `security-checklist.json` — machine-readable map of each security control
6
- required in the spec to the file/setting that implements it. Referenced
7
- from the main README's Security Checklist section.
8
-
9
- Nothing in this folder is loaded by n8n itself at runtime; it's tooling and
10
- documentation support only. Live nginx configuration lives in `/nginx`, and
11
- runtime environment configuration lives in `.env` (from `.env.example`).
 
 
 
 
 
 
 
 
 
 
 
 
config/security-checklist.json DELETED
@@ -1,26 +0,0 @@
1
- {
2
- "description": "Reference list of security controls implemented in this deployment and where each one lives.",
3
- "controls": [
4
- { "control": "HTTPS", "where": "Terminated by Hugging Face Spaces edge; N8N_PROTOCOL=https, WEBHOOK_URL uses https" },
5
- { "control": "HSTS", "where": "nginx/nginx.conf.template: Strict-Transport-Security header" },
6
- { "control": "CSP", "where": "nginx/nginx.conf.template: Content-Security-Policy header" },
7
- { "control": "XSS Protection", "where": "nginx/nginx.conf.template: X-XSS-Protection header" },
8
- { "control": "Clickjacking Protection", "where": "nginx/nginx.conf.template: X-Frame-Options + frame-ancestors in CSP" },
9
- { "control": "MIME sniffing protection", "where": "nginx/nginx.conf.template: X-Content-Type-Options: nosniff" },
10
- { "control": "Referrer Policy", "where": "nginx/nginx.conf.template: Referrer-Policy header" },
11
- { "control": "Permissions Policy", "where": "nginx/nginx.conf.template: Permissions-Policy header" },
12
- { "control": "Rate Limiting", "where": "nginx/nginx.conf.template: limit_req_zone (general/login/webhook)" },
13
- { "control": "Directory listing disabled", "where": "nginx/nginx.conf.template: autoindex off" },
14
- { "control": "Dotfile access blocked", "where": "nginx/nginx.conf.template: location ~ /\\." },
15
- { "control": "Secure cookies", "where": "N8N_SECURE_COOKIE=true env var" },
16
- { "control": "HttpOnly / SameSite cookies", "where": "Set by n8n itself when N8N_SECURE_COOKIE=true and NODE_ENV=production" },
17
- { "control": "CSRF mitigation", "where": "SameSite cookies + n8n REST API auth tokens; CSP form-action 'self'" },
18
- { "control": "Non-root container user", "where": "Dockerfile: USER node" },
19
- { "control": "Disabled debug endpoints", "where": "N8N_DIAGNOSTICS_ENABLED=false, NODE_ENV=production" },
20
- { "control": "Stack traces suppressed", "where": "NODE_ENV=production; nginx proxy_intercept_errors off with generic error bodies" },
21
- { "control": "Secret validation at startup", "where": "scripts/validate-env.sh" },
22
- { "control": "Database SSL", "where": "DB_POSTGRESDB_SSL_ENABLED=true, DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED=true" },
23
- { "control": "Unnecessary ports disabled", "where": "Only PORT is EXPOSEd publicly; n8n listens on 127.0.0.1 only" },
24
- { "control": "Strong TLS", "where": "Delegated to Hugging Face Spaces edge (modern TLS termination); HSTS forces it client-side" }
25
- ]
26
- }