Security Best Practices
Network Security
Bind to Specific Interfaces
:servers {
:rest {:host "127.0.0.1" :port 3000} ;; Localhost only
:redis {:host "10.0.0.5" :port 6379} ;; Internal network only
:postgresql {:host "10.0.0.5" :port 5432} ;; Internal network only
}Disable Unused Protocols
# REST API only
clojure -M:run --disable-redis --disable-sql
# Redis only
clojure -M:run --disable-rest --disable-sqlFirewall Rules
TLS Termination
Authentication
PostgreSQL Protocol
REST API
Redis Protocol
File System Permissions
Data Directory
Configuration File
Docker Security
Additional Hardening
Kubernetes Security Context
Remote Git Security
SSH Keys
Key Permissions
Repository Access
Backup Security
Backup Storage
Backup Access Control
Audit Trail
Inspecting the Audit Trail
Enriching the Audit Trail
Security Monitoring
What to Monitor
Signal
Metric / Log
Action
Log Review
Last updated
Was this helpful?