O
OmniStack
ComponentsDocsPricing
YouTubeLinkedInWebsiteGitHubGet Started
IntroductionQuick StartInstallation
AuthenticationPaymentsUI ComponentsMediaFormsE-Commerce
Next.jsExpoGo
Back

Sentinel

Production-grade security intelligence SDK for Go applications. Drop-in Gin middleware that provides WAF protection, rate limiting, threat detection, audit logging, anomaly detection, AI-powered analysis (Claude/OpenAI/Gemini), compliance reports (GDPR, PCI-DSS, SOC 2), and an embedded React dashboard with 13 pages — all mountable with a single sentinel.Mount() call.

GoSecurity
View Full Documentation

What's Included

Web Application Firewall (WAF)
Rate Limiting (Per-IP, Per-Route, Global)
Threat Intelligence & Risk Scoring
Anomaly Detection
Auth Shield (Brute-Force Protection)
GORM Audit Logging Plugin
Security Headers (CSP, HSTS)
AI Threat Analysis (Claude, OpenAI, Gemini)
Compliance Reports (GDPR, PCI-DSS, SOC 2)
Real-Time Dashboard (13 Pages)
Alerting (Slack, Email, Webhook)
Performance Monitoring (p50/p95/p99)

Installation

terminal
$ go get github.com/MUKE-coder/sentinel

How to Use

1

Install the package

Add Sentinel to your Go project.

go get github.com/MUKE-coder/sentinel
2

Mount with zero config

Add Sentinel to your Gin router with a single line. Works out of the box with sensible defaults.

import (
    sentinel "github.com/MUKE-coder/sentinel"
    "github.com/gin-gonic/gin"
)

r := gin.Default()
sentinel.Mount(r, nil, sentinel.Config{})
r.Run(":8080")
3

Access the dashboard

Open the embedded security dashboard to monitor threats, manage WAF rules, view analytics, and generate compliance reports.

# Open http://localhost:8080/sentinel/ui
# Default credentials: admin / sentinel
4

Configure for production

Enable WAF blocking mode, set up rate limits, add AI analysis, and configure alerting.

sentinel.Mount(r, nil, sentinel.Config{
    Dashboard: sentinel.DashboardConfig{
        Username:  "admin",
        Password:  "your-secure-password",
    },
    Storage: sentinel.StorageConfig{
        Driver: sentinel.SQLite,
    },
    WAF: sentinel.WAFConfig{
        Enabled:      true,
        BlockingMode: true,
    },
    AI: sentinel.AIConfig{
        Provider: sentinel.Claude,
        APIKey:   os.Getenv("ANTHROPIC_API_KEY"),
    },
})
Free
Open source component

Free to use · MIT License

CategorySecurity
PlatformsGo
Features12
Resources
Component DocsOmniStack Docs