57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
# Network AI Orchestrator Configuration
|
|
elasticsearch:
|
|
host: "192.168.100.85:9200"
|
|
index: "netflow-*"
|
|
verify_certs: false
|
|
timeout: 30
|
|
|
|
analysis:
|
|
interval_minutes: 60
|
|
window_hours: 168
|
|
min_traffic_bytes: 1000000
|
|
|
|
pr_creation:
|
|
enabled: true
|
|
frequency: "smart" # Options: weekly, daily, manual, smart
|
|
triggers:
|
|
- high_traffic anomaly #Create PR if traffic spike
|
|
- security_event #Create PR if security issue
|
|
- scheduled: "weekly"
|
|
thresholds:
|
|
traffic_spike: 200 #200% increase triggers PR
|
|
new_hosts: 10 #10+ new IPs triggers PR
|
|
day_of_week: "saturday" # 0=Monday, 6=Sunday
|
|
hour_of_day: 22 # 24-hour format (9 = 9 AM)
|
|
skip_if_pending: true # Don't create if PR already open
|
|
min_days_between: 7 # Minimum days between PRs
|
|
|
|
gitea:
|
|
url: "https://git.salmutt.dev"
|
|
repo: "sal/srx-config"
|
|
token: "${GITEA_TOKEN}" # Use actual token
|
|
branch: "main"
|
|
labels: ["ai-generated", "auto-config", "pending-review"]
|
|
|
|
srx:
|
|
host: "192.168.100.1"
|
|
port: 830
|
|
username: "netops"
|
|
ssh_key: "/home/netops/.ssh/srx_key"
|
|
|
|
shared_storage:
|
|
path: "/shared/ai-gitops"
|
|
|
|
state_tracking:
|
|
enabled: true
|
|
state_file: '/shared/ai-gitops/state/orchestrator_state.json'
|
|
track_pr_history: true
|
|
|
|
ai:
|
|
request_timeout: 120
|
|
max_retries: 3
|
|
|
|
logging:
|
|
level: "INFO"
|
|
max_file_size: "100MB"
|
|
retention_days: 30
|