Onion AI assistant in Security Onion Pro

Onion AI is a disabled-by-default Pro assistant that queries and acts on local events, cases and detections, with approval for changes. Plan the adapter, credits and data handling before enabling it.

On this page

What the Onion AI assistant in Security Onion Pro does for analysts

Onion AI is a natural-language assistant built into the Security Onion Console for Security Onion Pro, and it is disabled by default. When an analyst or security lead enables it, the assistant can answer questions about local events, cases, detections and alerts by calling tools that query and act on that data. Nothing changes in the grid until someone turns the feature on, so the first decision is whether your Pro license and governance allow it at all, and which users get access.

The tools fall into two groups, and the approval model depends on which group a call belongs to. Read-only tools can be auto-approved, so an analyst asking for a count of failed logins or a summary of open cases gets an answer without an extra click. Tools that change data, such as updating a case or altering a detection, need explicit approval from the user before they run. Decide with your SOC lead which read-only tools are acceptable to auto-approve, and confirm in your own environment how the approval prompts appear and who can change these settings.

Use Onion AI for drafting queries, summarizing a case history, or finding the detections related to an alert when the analyst already knows the question but not the syntax. Work directly in the console when the investigation depends on exact field values, when you must show an auditor precisely what was searched, or when a change to detections or cases needs a deliberate review. The assistant is a convenience layer over the same data, not a replacement for documented analyst steps. Before rollout, pick the adapter that matches your data handling rules, which is covered in the sections on SOAI, Gemini and OpenAI-compatible adapters, and check the Onion AI documentation for the current setup steps.

Which tools Onion AI can use and how approval works

Onion AI acts on the events, cases and detections stored on your own Security Onion grid, and what it can change depends on the tool it calls. The cards below separate read-only lookups from changes that need a person to approve them, and list what a reviewer should check before saying yes.

Event query tools

These tools let Onion AI search the events and alerts already stored in your local Security Onion data and summarize the results in the conversation. Because they only read, they are the tools most often set to auto-approve. Check which indices and time ranges the assistant can reach, since a broad query over a large grid can be slow and return sensitive network metadata to the chat. Ask your team to confirm exactly which read paths are exposed before enabling auto-approval.

Onion AI docs

Case lookup tools

Case tools let Onion AI read existing cases, observables and attached notes so it can answer questions about an investigation in progress. Reading case history is low risk, but cases often hold evidence and personal data from an incident, so the assistant's view of them should match the analyst's own access. Confirm that role-based permissions in the console apply to what the assistant returns, not only to what the user sees on screen.

Detection read tools

Detection tools expose NIDS, Sigma and YARA rules and their tuning state, including suppressions and thresholds. Reading them helps Onion AI explain why an alert fired or whether a rule is already suppressed. Treat the rule set itself as sensitive, because it reveals what your monitoring can and cannot see. Verify that the assistant reports rule content accurately against the Detections interface before relying on its explanations during triage.

Write tools need explicit approval

Any tool that changes data, such as creating or updating a case, closing an alert or editing a detection, waits for an explicit decision from the user. This is the control that keeps the assistant from altering evidence or monitoring without a person in the loop. Make sure analysts understand that a click on the chat prompt is the approval point, and that the change happens only after they accept it. Plan who is allowed to approve write actions in your SOC procedures.

Review case changes before approval

Before approving a case change, check the target case ID, the exact fields being modified, and whether any attached evidence or observables will be altered or removed. Compare the proposed text against the source events the assistant cited, since a model summary can misstate a timestamp, host or IP address. Confirm the change is recorded in case history so a later reviewer can see who approved it and what the assistant proposed.

Review detection changes before approval

A detection change can silence a rule for an entire grid, so review it more strictly than a case note. Check the rule name, whether the change is a suppression, a threshold or a modification, the scope of any filter, and the expiry or review date for the change. Test the effect against recent traffic where possible, and record the business reason so the suppression does not outlive the problem that justified it.

Choosing an Onion AI adapter: SOAI, Gemini or OpenAI-compatible APIs

This table compares the three Onion AI adapter paths by where prompts go, whether credits apply, what they depend on and how they fit regulated networks. Read each row against your data handling rules, since the adapter you pick determines which external party, if any, receives prompt content from your SOC. Only SOAI usage consumes credits, so the credit row matters only for that path.

Decision factorSOAI hosted gatewayGemini or OpenAI-compatible APIs
Where prompts goTo Security Onion's hosted gateway, then onward to the model serviceDirectly to the Gemini service or to the OpenAI-compatible endpoint you configure
Credits applyYesNo
Licensing dependencyTied to your Security Onion Pro license and its creditsDepends on your Pro license for Onion AI, plus your own model provider account
Who holds the model contractSecurity Onion Solutions manages the gateway accessYour organization or its provider holds the API relationship
Local or private model supportNoPossible when the endpoint is an OpenAI-compatible service you run inside your network
Fit for regulated networksConfirm data handling with the vendor before use on restricted dataFits networks where an approved internal endpoint is the only permitted destination
Usage visibilityToken usage and conversations appear on the AI Metrics page for superusersSame AI Metrics page, but provider billing and retention sit outside Security Onion
What to confirm firstGateway data terms, region and retention with the vendorEndpoint URL, API type (Responses or Chat), and provider retention settings

Enabling Onion AI in a Security Onion Pro grid

This sequence takes a Security Onion Pro grid from licensed but idle to a working Onion AI assistant, with the adapter chosen, approval rules set, metrics access granted and a test conversation confirmed.

  1. Confirm Pro licensing on the grid

    Before anything else, confirm that the grid runs a Security Onion Pro license, since Onion AI is a Pro feature and is disabled by default. The administrator who holds the license or the console admin account checks the license status in the Console. The step is complete when the Pro features, including Onion AI, are visible to the administrator. If they are not, stop here and resolve licensing with your Security Onion contact before configuring anything else.

  2. Choose and configure the adapter

    Select one adapter for Onion AI: SOAI, the hosted gateway that consumes credits tied to the Pro license; Gemini; or an OpenAI-compatible Responses or Chat API, which can point to a model you host. Record which adapter you chose, who owns its credentials and where prompts will be processed, since that decision drives your data handling review. Confirm the adapter settings against the Onion AI documentation. The step is complete when the assistant accepts a request through the chosen adapter without an authentication error.

  3. Set the approval policy for tools

    Decide which tools the assistant may run without a prompt. Read-only tools that query events, cases, detections and alerts can be auto-approved, while tools that change data need explicit approval from a user. Most teams start with read-only auto-approval and require a human to confirm every change. Write the policy down so analysts and reviewers know what the assistant can do unattended. The step is complete when a read-only query runs without a prompt and a change request waits for approval.

  4. Assign superuser access for AI Metrics

    Assign superuser access to the people who will review token usage and conversations on the AI Metrics page. Keep this group small and tied to your oversight duties, such as the SOC lead or the compliance reviewer, because superusers can see conversation content. Confirm the assignment against your role model and the Security Onion access controls. The step is complete when an assigned superuser opens the AI Metrics page and sees usage data, while a standard analyst account cannot.

  5. Run a test conversation

    Start a conversation with a question whose answer you already know, such as asking the assistant to summarize a recent alert or count open cases in a test period. Confirm that the tool calls match the approval policy and that the answer matches the Console data. Check that the conversation appears in local storage and on the AI Metrics page for a superuser. Delete or label the test conversation according to your retention policy. The step is complete when the answer is correct, the tool calls are logged and the conversation is visible to the reviewers you assigned.

  6. Document the configuration for review

    Record the adapter, its hosting location, the approval policy, the superuser list and the test results in your change record or system security plan. Include the Security Onion release running on the grid, since release notes changed the agent memory defaults in 3.3.0. Ask your compliance and security teams to review the record before wider rollout. The step is complete when the documented configuration is approved and stored with the other grid records.

How credits, conversation storage and token metrics work

Onion AI runs on one of several adapters, and only one of them spends credits. SOAI, Security Onion's hosted gateway, uses credits tied to your Security Onion Pro license. Gemini and OpenAI-compatible Responses or Chat APIs do not consume SOAI credits, so their cost is whatever your contract with that provider says. Before you enable the assistant, confirm which adapter each team will use, how many credits your license includes, and who in procurement owns the bill for a third-party model key. Ask Security Onion Solutions how credit balances are shown and what happens when they run out, because the answer determines whether an analyst's workflow stops mid-investigation.

Conversation data is kept on your own grid rather than sent to Security Onion to be stored. The Onion AI documentation states that this data is not used to train models. Treat that as a vendor statement to verify, not a control you can rely on by default. Your data handling policy should define how long conversations are kept, who can read them (analysts who wrote them, superusers, or both), how they are included in backups, and how they are deleted when a case closes. Conversations can contain IP addresses, usernames, hostnames and file hashes pulled from events, so classify them at the same level as the events they quote. Confirm these points with the vendor and test them in a lab grid before you rely on them in production.

Superusers can review token usage and conversations on the AI Metrics page. That page is your main tool for checking cost and misuse, so decide early who holds the superuser role and who reviews the metrics. Set a regular review cadence, compare token usage against the credit balance for SOAI, and check whether any conversations contain material that should not be in a chat log. Record the review in your SOC or compliance evidence so an auditor can see that AI usage is monitored. If your organization needs conversations to be deleted on a schedule, confirm with the vendor whether that is possible through the console and document the manual steps if it is not.

How an Onion AI request moves through the tools, approval and adapter

The request starts with the analyst's prompt in the Security Onion Console and passes to the Onion AI tool layer, which queries local events, cases, detections and alerts. Read-only tools can be auto-approved, but any tool that changes data waits for an explicit user approval before it runs. The selected adapter, either SOAI with its Pro license credits, Gemini or an OpenAI-compatible endpoint, is what sends the request to a model. Check which adapter is selected, which tools need approval, and where conversation data is kept before you enable the feature.

Onion AI request flow from analyst prompt through approval to the chosen adapter.

Security risks when an AI assistant can act on your SOC data

An assistant that reads events, cases and detections, and can change them, widens what an attacker or a careless prompt can reach. The cards below cover the risks that follow from that design, and each one pairs the risk with a control your team can check before and after rollout.

Prompt steering a change tool

A prompt, or text inside an event or case note the assistant reads, may try to persuade it to edit a detection, close a case or suppress an alert. Onion AI only requires explicit user approval for tools that change data, so the approval step is the control that matters. Test with planted instructions in sample events and confirm that every write action shows a prompt you can refuse, and that read-only tools are the only ones auto-approved.

Onion AI docs

Over-broad superuser metrics access

The AI Metrics page lets superusers review token usage and conversations, which can expose analyst questions about live incidents. Limit who holds the superuser role, and confirm in a test grid which accounts can open conversation history. Decide whether analysts should see only their own conversations and document that decision in your access review.

Investigation data sent to external adapters

Gemini and OpenAI-compatible adapters send prompts and tool results to a service outside your network. Event data can include internal hostnames, user names, IP addresses and file names. Before enabling any external adapter, confirm with your legal and data protection owners what may leave the environment, and verify with the provider the retention and training terms that apply to your account.

Continuity tied to Pro licensing

Onion AI is a Pro feature, so a lapsed license removes the assistant from workflows that analysts may have come to rely on. SOAI usage also draws on credits tied to the Pro license. Record which adapter each SOC workflow depends on, define a manual fallback for hunts and triage, and ask the vendor how credits are consumed and what happens to the feature at renewal.

Conversation data stored on the grid

Conversation data is stored locally, and the documentation states it is not used to train models. Those conversations may still contain sensitive investigation details, so they fall under your retention and backup rules. Confirm where the data sits on each node, who can read the backups, and how long conversations are kept before you approve the feature for production use.

Unreviewed feature changes between releases

The 3.3.0 release added Advanced Agent Studio and agentic memory, and the 3.3.0 hotfix disabled memory by default. Feature behavior can change between releases, so a control that was tested on one version may not hold on the next. Read the release notes before each upgrade, re-run your prompt injection and approval tests, and confirm memory stays disabled unless your review approves it.

Release notes

What Security Onion 3.3.0 changed about agent memory

Security Onion 3.3.0 added Advanced Agent Studio and agentic memory, and a later 3.3.0 hotfix disabled memory by default. For a team that upgrades to 3.3.0 and then applies the hotfix, the practical result is that Onion AI should not retain memory until someone deliberately turns it on. Do not assume the default you see is the one you wanted. Before the upgrade, record how memory was configured in your environment, then confirm the state on every grid after the upgrade and the hotfix. Treat this as a configuration check that belongs in your change record, not a one-time observation.

Decide whether memory is worth enabling before you change the default. Memory affects what the assistant carries between conversations, so it touches the same data-handling questions you already asked about stored conversations: who can review them, how long they persist, and how they fit your retention and access rules. Read the Security Onion release notes for 3.3.0 and the hotfix before changing any setting, and compare what they say with your own review of Onion AI data handling. If the notes or your testing leave a question open, put it to Security Onion Solutions before enabling memory in production, and record the decision and its owner.

Limits to confirm before rolling Onion AI out

Onion AI is a Pro feature with several moving parts: versions, adapters, credits, data retention and where model traffic goes. Each card below names one item to settle with Security Onion Solutions and in your own environment before analysts start using the assistant.

Version and feature availability

Confirm that the Security Onion version you plan to run includes Onion AI as documented, and check the release notes for changes that affect it. Version 3.0.0 is the current major line with Oracle Linux 9 as its only supported distribution, and 3.3.0 added Advanced Agent Studio and agentic memory. Ask whether any Onion AI behavior depends on a specific release or hotfix, since the 3.3.0 hotfix disabled memory by default.

Release notes

Adapter-specific behavior

SOAI, Gemini and OpenAI-compatible Responses or Chat APIs do not behave the same way for tool calls, context handling and logging. Test each adapter you plan to allow with your own queries and the tools analysts will use. Confirm which adapter features Onion AI relies on, and whether an OpenAI-compatible endpoint supports both the Responses and Chat formats you need.

Credit allocation for your term

Only SOAI usage consumes credits, and those credits are tied to your Pro license. Ask Security Onion Solutions how many credits your license term includes, how usage is counted, what happens when credits run out, and whether unused credits carry over. Estimate expected analyst usage during a trial period before committing, so the team does not discover the limit during an active investigation.

Local conversation retention

Conversation data is stored locally, and superusers can review token usage and conversations on the AI Metrics page. Confirm with Security Onion Solutions where those records sit on disk, how long they persist by default, and how an operator removes them. Decide who may read stored conversations, since analyst prompts can include sensitive case details and indicators.

Model endpoint data residency

When you use Gemini or an OpenAI-compatible endpoint, event data and prompts leave your grid for that provider. Map where each endpoint processes and stores data, which regions it uses, and whether your contract covers those terms. Your compliance team should approve each endpoint against your data residency rules before any production use, and a self-hosted model may be the option that keeps prompts inside your network.

Approval and change controls

Read-only tools can be auto-approved, while tools that change data need explicit user approval. Decide which analyst roles may approve auto-approval for read-only tools, and test that a write action such as changing a case or detection cannot run without a prompt. Record the approval settings in your change process so auditors can see who could let the assistant change data.

Questions buyers ask about Onion AI in Security Onion Pro

Does Onion AI require a Security Onion Pro license?

Yes. Onion AI is a Security Onion Pro feature, so it is only available with a Pro license. Pro is a paid edition sold on 1 to 5 year terms and bundles OIDC single sign-on, LUKS data-at-rest encryption, FIPS mode, OS STIG compliance, the Security Onion API, external notifications, Manager of Managers, the MCP server and professional support. Confirm the current license terms and pricing with Security Onion Solutions before you plan the budget, because the license is the prerequisite for every other Onion AI decision on this page.

Is Onion AI turned on by default in Security Onion?

No. Onion AI is disabled by default, so an administrator has to enable it and choose an adapter before analysts can use it. Enabling it is a deliberate decision that should be recorded in your change process, since the assistant's tools can query local events, cases, detections and alerts. Review who holds superuser rights before you switch it on, because superusers can also review token usage and conversations on the AI Metrics page.

How long does it take to enable Onion AI, and what drives the effort?

The effort depends less on the switch itself and more on the choices around it. The main drivers are the adapter you select (SOAI, Gemini or an OpenAI-compatible Responses or Chat API), whether the model endpoint must stay inside your network, how many approval owners must sign off on tools that change data, and how many analysts need access. Ask the vendor or your partner for a written effort estimate that lists each of these items, and confirm the work against your own grid, since no duration is published here.

Can our team configure Onion AI without outside help?

A team that already runs Security Onion Pro and administers its console can usually enable and configure Onion AI in-house. The configuration is mostly adapter selection, credential handling and tool approval settings. Teams without an existing AI security review, or those that must document data handling for an assessment, often find the evidence work harder than the configuration. Decide early whether your staff can cover both the setup and the approval policy, and consider a partner for the parts you lack capacity to run.

What does our side need to provide for an Onion AI rollout?

You need a valid Security Onion Pro license, a running Pro console, and an adapter choice that matches your data rules. If you use Gemini or an OpenAI-compatible endpoint, you must supply the endpoint and credentials and confirm that the provider's terms fit your policy. You also need named approval owners for tools that change data, since those actions require explicit user approval. Finally, identify who will review conversation records stored locally and who holds superuser access to usage reports.

Do we need a partner to deploy Onion AI?

A partner is not required, since Onion AI is configured inside the Security Onion console by a Pro license holder. A partner becomes useful when you need the assistant reviewed as part of a security program, when the adapter must run against a private model, or when your team lacks time to write approval rules and test them. DeployOpen can plan, configure and test Security Onion Pro deployments in infrastructure you control, and most engagements are fixed-scope with the scope and deliverables agreed in writing before work starts.

How do credits and costs work for SOAI, and how should we estimate them?

Only SOAI usage consumes credits, and those credits are tied to your Pro license. Gemini and OpenAI-compatible adapters are billed by their own providers, so their costs follow that provider's pricing rather than Security Onion credits. Estimate costs by listing expected analyst sessions, the adapter for each, and whether the model runs locally or hosted. Ask Security Onion Solutions how credits are allotted and replenished, and ask your provider for its per-token rates. Token usage can be reviewed on the AI Metrics page to refine the forecast over time.

How DeployOpen scopes and supports Onion AI

DeployOpen plans the Onion AI rollout inside your Security Onion grid and agrees its scope in writing before any work starts. Because Onion AI is a Security Onion Pro feature that is disabled by default, the first decision is whether it is enabled at all, and on which nodes and for which roles. The written scope should name the adapter (SOAI, Gemini or an OpenAI-compatible endpoint), the users or superuser roles allowed to use it, which tools are auto-approved and which require explicit approval, and where conversation data is stored. Work is fixed-scope, so deliverables and timelines are settled up front and changes go through a written amendment rather than informal additions.

The adapter choice is the decision with the largest effect on data handling and cost. Only SOAI usage consumes credits tied to the Pro license, so the quote should separate any credit consumption from the cost of an external model provider or a local endpoint you run yourself. Confirm with your security and compliance teams where prompts and tool results will travel, how long conversations are kept in the local store, and who can review token usage on the AI Metrics page. DeployOpen documents each of these choices, the approval settings and the review steps so your team can reproduce them after handover. Ongoing support, upgrades and continuous testing are available as a retainer, which suits grids that receive new Security Onion releases and changing approval policies. Ask any provider to show comparable Security Onion work and written references before you rely on them.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.