feat: implement modular security services with CrowdSec and WAF integration
This commit is contained in:
@@ -170,6 +170,10 @@ func Register(router *gin.Engine, db *gorm.DB, cfg config.Config) error {
|
||||
go uptimeService.CheckAll()
|
||||
c.JSON(200, gin.H{"message": "Uptime check started"})
|
||||
})
|
||||
|
||||
// Security Status
|
||||
securityHandler := handlers.NewSecurityHandler(cfg.Security)
|
||||
protected.GET("/security/status", securityHandler.GetStatus)
|
||||
}
|
||||
|
||||
// Caddy Manager
|
||||
|
||||
Reference in New Issue
Block a user