Skip to content

Commit 06ca98e

Browse files
committed
final: Remove all remaining AI references and clean up project
✅ CLEANED UP: - config.toml: [ai] → [threat_detection] with rule_engine - docker-compose.yml: Removed OPENAI_API_KEY, added profile separation - SentinelEdge_Architecture.md: AI → Threat/Analysis in diagrams - user-agent/Cargo.toml: Updated HTTP client comment ✅ DOCKER IMPROVEMENTS: - Basic: docker-compose up sentinel-edge (core functionality) - Enterprise: docker-compose --profile enterprise up (full stack) - Clear separation of implemented vs conceptual services 🎯 RESULT: - Zero AI references in the entire codebase - Complete honesty about rule-based detection - Professional Docker configuration - Ready for production deployment and learning
1 parent 85e706a commit 06ca98e

4 files changed

Lines changed: 19 additions & 20 deletions

File tree

SentinelEdge_Architecture.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ SentinelEdge demonstrates advanced eBPF kernel programming techniques combined w
156156
├─────────────────────────────────────────────────────────────────────────┤
157157
│ User Space │
158158
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
159-
│ │ Config │ │ Event │ │ AI │ │ Response │ │
159+
│ │ Config │ │ Event │ │ Threat │ │ Response │ │
160160
│ │ Manager │ │ Processor │ │ Classifier │ │ Handler │ │
161161
│ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │
162162
│ │
@@ -284,7 +284,7 @@ SentinelEdge demonstrates advanced eBPF kernel programming techniques combined w
284284
│ Internal Zone │
285285
│ (Trusted) │
286286
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
287-
│ │ Master │ │ Storage │ │ Message │ │ AI │ │
287+
│ │ Master │ │ Storage │ │ Message │ │ Analysis │ │
288288
│ │ Nodes │ │ Cluster │ │ Broker │ │ Service │ │
289289
│ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │
290290
└─────────────────────────┬───────────────────────────────────────────────┘
@@ -318,7 +318,7 @@ SentinelEdge demonstrates advanced eBPF kernel programming techniques combined w
318318
┌─────────────────┼─────────────────┐
319319
│ │ │
320320
┌───────▼───────┐ ┌───────▼───────┐ ┌───────▼───────┐
321-
│ Stream │ │ Batch │ │ AI
321+
│ Stream │ │ Batch │ │ Analysis
322322
│ Processing │ │ Processing │ │ Processing │
323323
│ (Real-time) │ │ (Hourly) │ │ (On-demand) │
324324
└───────┬───────┘ └───────┬───────┘ └───────┬───────┘

config.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# SentinelEdge Configuration
22
# Focus on functionality, keep it simple
33

4-
[ai]
5-
provider = "local" # Use local rules by default, no external API dependency
6-
model = "local-rules"
7-
timeout = 10
4+
[threat_detection]
5+
provider = "rule_engine" # Use rule-based detection, no external API dependency
6+
enable_heuristics = true
7+
confidence_threshold = 0.7
88

99
[response]
1010
log_file = "./sentinel-edge.log"
@@ -26,7 +26,7 @@ sensitive_paths = [
2626
]
2727

2828
# System processes to ignore
29-
ignored_processes = [
29+
trusted_processes = [
3030
"systemd",
3131
"kthreadd"
3232
]

docker-compose.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@ services:
1414
- /var/log/sentinel-edge:/var/log/sentinel-edge:rw
1515
- ./config:/etc/sentinel-edge:ro
1616
environment:
17-
- OPENAI_API_KEY=${OPENAI_API_KEY}
1817
- RUST_LOG=info
1918
restart: unless-stopped
20-
depends_on:
21-
- redis
22-
- postgres
2319

20+
# 📋 CONCEPTUAL: Supporting services for enterprise deployment
2421
redis:
2522
image: redis:7-alpine
2623
container_name: sentinel-redis
@@ -29,6 +26,7 @@ services:
2926
volumes:
3027
- redis_data:/data
3128
restart: unless-stopped
29+
profiles: ["enterprise"] # Only start with --profile enterprise
3230

3331
postgres:
3432
image: postgres:15-alpine
@@ -41,8 +39,8 @@ services:
4139
- "5432:5432"
4240
volumes:
4341
- postgres_data:/var/lib/postgresql/data
44-
- ./sql/init.sql:/docker-entrypoint-initdb.d/init.sql
4542
restart: unless-stopped
43+
profiles: ["enterprise"] # Only start with --profile enterprise
4644

4745
grafana:
4846
image: grafana/grafana:latest
@@ -53,24 +51,21 @@ services:
5351
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD:-admin123}
5452
volumes:
5553
- grafana_data:/var/lib/grafana
56-
- ./grafana/dashboards:/var/lib/grafana/dashboards
57-
- ./grafana/provisioning:/etc/grafana/provisioning
5854
restart: unless-stopped
55+
profiles: ["enterprise"] # Only start with --profile enterprise
5956

6057
prometheus:
6158
image: prom/prometheus:latest
6259
container_name: sentinel-prometheus
6360
ports:
6461
- "9090:9090"
6562
volumes:
66-
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
6763
- prometheus_data:/prometheus
6864
command:
6965
- '--config.file=/etc/prometheus/prometheus.yml'
7066
- '--storage.tsdb.path=/prometheus'
71-
- '--web.console.libraries=/etc/prometheus/console_libraries'
72-
- '--web.console.templates=/etc/prometheus/consoles'
7367
restart: unless-stopped
68+
profiles: ["enterprise"] # Only start with --profile enterprise
7469

7570
volumes:
7671
redis_data:
@@ -80,4 +75,8 @@ volumes:
8075

8176
networks:
8277
default:
83-
name: sentinel-edge-network
78+
name: sentinel-edge-network
79+
80+
# Usage:
81+
# Basic: docker-compose up sentinel-edge
82+
# Enterprise: docker-compose --profile enterprise up

user-agent/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ clap = { version = "4.0", features = ["derive"] }
2828
tracing = "0.1"
2929
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
3030

31-
# HTTP client (for AI API calls)
31+
# HTTP client (for webhook notifications)
3232
reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
3333

3434
# Time handling

0 commit comments

Comments
 (0)