Merge remote-tracking branch 'origin/2.4/dev' into bravo

This commit is contained in:
Josh Patterson
2026-02-05 10:21:39 -05:00
2 changed files with 49 additions and 9 deletions

View File

@@ -1494,10 +1494,19 @@ soc:
branch: main branch: main
folder: securityonion-normalized folder: securityonion-normalized
assistant: assistant:
apiUrl: https://onionai.securityonion.net
healthTimeoutSeconds: 3
systemPromptAddendum: "" systemPromptAddendum: ""
systemPromptAddendumMaxLength: 50000 systemPromptAddendumMaxLength: 50000
adapters:
- name: SOAI
protocol: securityonion_ai_cloud
apiUrl: https://onionai.securityonion.net
healthTimeoutSeconds: 5
- name: Gemini
protocol: gemini
apiKey: ""
serviceAccountJSON: ""
serviceAccountLocation: ""
healthTimeoutSeconds: 5
salt: salt:
queueDir: /opt/sensoroni/queue queueDir: /opt/sensoroni/queue
timeoutMs: 45000 timeoutMs: 45000
@@ -2659,6 +2668,7 @@ soc:
contextLimitLarge: 1000000 contextLimitLarge: 1000000
lowBalanceColorAlert: 500000 lowBalanceColorAlert: 500000
enabled: true enabled: true
adapter: SOAI
- id: qwen-235b - id: qwen-235b
displayName: QWEN 235B ($) displayName: QWEN 235B ($)
origin: China origin: China
@@ -2666,3 +2676,4 @@ soc:
contextLimitLarge: 256000 contextLimitLarge: 256000
lowBalanceColorAlert: 500000 lowBalanceColorAlert: 500000
enabled: true enabled: true
adapter: SOAI

View File

@@ -650,13 +650,6 @@ soc:
label: Folder label: Folder
airgap: *pbRepos airgap: *pbRepos
assistant: assistant:
apiUrl:
description: The URL of the AI gateway.
global: True
healthTimeoutSeconds:
description: Timeout in seconds for the Onion AI health check.
global: True
advanced: True
systemPromptAddendum: systemPromptAddendum:
description: Additional context to provide to the AI assistant about this SOC deployment. This can include information about your environment, policies, or any other relevant details that can help the AI provide more accurate and tailored assistance. Long prompts may be shortened. description: Additional context to provide to the AI assistant about this SOC deployment. This can include information about your environment, policies, or any other relevant details that can help the AI provide more accurate and tailored assistance. Long prompts may be shortened.
global: True global: True
@@ -666,6 +659,40 @@ soc:
description: Maximum length of the system prompt addendum. Longer prompts will be truncated. description: Maximum length of the system prompt addendum. Longer prompts will be truncated.
global: True global: True
advanced: True advanced: True
adapters:
description: Configuration for AI adapters used by the Onion AI assistant.
global: True
advanced: True
forcedType: "[]{}"
syntax: json
uiElements:
- field: name
label: Adapter Name
regex: "^(?!.*@).+$"
regexFailureMessage: Adapter name cannot contain the '@' character
required: True
- field: protocol
label: Protocol
required: True
options:
- securityonion_ai_cloud
- gemini
- field: apiUrl
label: API URL
required: False
- field: apiKey
label: API Key
required: False
- field: serviceAccountJSON
label: Service Account JSON
required: False
multiline: True
- field: serviceAccountLocation
label: Service Account Location
required: False
- field: healthTimeoutSeconds
label: Health Timeout Seconds
required: False
client: client:
assistant: assistant:
enabled: enabled:
@@ -704,6 +731,8 @@ soc:
- field: id - field: id
label: Model ID label: Model ID
required: True required: True
regex: "^(?!.*@).+$"
regexFailureMessage: Model ID cannot contain the '@' character
- field: displayName - field: displayName
label: Display Name label: Display Name
required: True required: True