Share CrowdSec bans and mitmproxy detections between mesh nodes using the existing blockchain chain + gossip sync. Received IOCs from trusted peers are auto-applied as CrowdSec decisions based on a three-tier trust model (direct/transitive/unknown). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
12 lines
300 B
Bash
Executable File
12 lines
300 B
Bash
Executable File
#!/bin/sh
|
|
# Threat Intel API - Status endpoint
|
|
# GET: Returns threat intelligence status summary
|
|
|
|
echo "Content-Type: application/json"
|
|
echo "Access-Control-Allow-Origin: *"
|
|
echo ""
|
|
|
|
. /usr/lib/secubox/threat-intel.sh 2>/dev/null
|
|
|
|
ti_status 2>/dev/null || echo '{"error":"threat_intel_unavailable"}'
|