How iamdevendrab/cipherwatch works
CipherWatch is a small Flask-based security-alert demo: one service exposes a status page, while a separate SOAR service accepts alerts and asks an Ollama model to classify severity and suggest remediation. The SOAR service returns the submitted alert and model response; if the model call fails, it returns an error string instead. The excerpts show these runtime paths, but not deployment wiring or any Kubernetes client behavior, so those are omitted.
Main entry points: soar-engine/app.py Alert Endpoint · app/app.py Status Route
Components 8
Status Service
- Status Route
app/app.py
Alert Analysis
- Alert Endpoint
soar-engine/app.py - Prompt Builder
soar-engine/app.py - Analysis Response
soar-engine/app.py - Health Route
soar-engine/app.py
Other components
- Web Visitor
- Alert Sender
- Ollama API
Connections 7
- Web Visitor → Status Route: requests page
app/app.py - Status Route → Web Visitor: returns status
app/app.py - Alert Sender → Alert Endpoint: posts alert
soar-engine/app.py - Alert Endpoint → Prompt Builder: builds prompt
soar-engine/app.py - Prompt Builder → Ollama API: requests analysis
soar-engine/app.py - Alert Endpoint → Analysis Response: returns alert and analysis
soar-engine/app.py - Alert Sender → Health Route: checks health
soar-engine/app.py