Security and your data

Your alerts stay on your servers. Here is exactly what leaves.

DHRUVA is software you run yourself, not a cloud service. This page explains what it touches, what crosses your network edge and when, and where its protections stop. Where something has limits, we say so.

Data flow

One alert, start to finish

  1. Wazuh collects and alerts. Your Wazuh agents send logs to your Wazuh manager, which raises alerts and stores them in its indexer.
  2. DHRUVA reads the alerts. It reads them from your indexer, adds context and keeps its decisions, incidents and audit trail in your own PostgreSQL database.
  3. The anonymizer swaps identifiers for tokens. Hostnames, internal IPs, usernames and Windows account fields become tokens before any prompt goes to a model.
  4. The model of your choice answers. Either a model you host with Ollama inside your network, or a cloud API (Anthropic Claude, OpenAI or Groq) with your own key. The answer comes back, the tokens are mapped back to real names, and your analysts see the result.
  5. Nothing goes to Secure Sleuths. We do not receive your logs, alerts, prompts or verdicts.

Threat-intel feeds are the one inbound flow: DHRUVA downloads lists of known-bad indicators. If you turn on the optional AbuseIPDB, VirusTotal or OTX lookups, indicators found in alerts, such as external IPs and file hashes, are sent to those services to check their reputation.

How data flows through DHRUVA Inside a boundary marked "your servers": Wazuh agents feed the Wazuh manager and indexer, which feeds DHRUVA, which passes prompts through the anonymizer. From the anonymizer, option 1 is a local model inside the boundary; option 2 is a cloud model API outside it, reached with tokenized prompts. Threat-intel feeds outside the boundary send indicator lists in. Secure Sleuths, outside the boundary, receives nothing. YOUR SERVERS your hardware or cloud account Wazuh agents on your hosts send logs to the Wazuh manager Wazuh manager and indexer turn logs into alerts and store them ALERTS DHRUVA adds context, triages, groups incidents records kept in your PostgreSQL Anonymizer identifiers become tokens on the way out, real names again on the way back OPTION 1 Local model via Ollama, no external call tokenized prompt out, verdict back Threat-intel feeds indicator lists come in; optional lookups send IPs out OPTION 2 Cloud model API Claude, OpenAI or Groq Secure Sleuths receives nothing: no logs, alerts, prompts or verdicts
Option 1 keeps every AI call inside your network. Option 2 sends tokenized prompts to the provider you pick.

Deployment

Where it runs, and on what

Your hardware or your cloud account

DHRUVA runs with Docker Compose on a server you control, on premises or in your own cloud account, in the region you choose. It reads from your existing Wazuh manager and indexer and stores its records in PostgreSQL 16 or newer. A bundled PostgreSQL is available for a single server.

The model is your choice

Use Anthropic Claude, OpenAI or Groq with your own API key, or run a model yourself through Ollama so that no AI call leaves your network. Each deployment uses one provider end to end. If it fails, DHRUVA does not quietly fall back to a different provider.

Alert text is treated as untrusted

An attacker can control parts of an alert, such as a command line. DHRUVA escapes alert content before it goes into a prompt, so a crafted alert cannot close the untrusted-data section and slip in its own instructions.

Paid code is not in the free build

Community builds have the paid modules physically removed, not just switched off. Feature checks also run on the server, so the dashboard cannot unlock something your licence does not include.

Anonymization

Exactly what is hidden from the model, and what is not

Before any prompt goes to a model, DHRUVA swaps identifiers for tokens (salted SHA-256 hashes). It does this on every AI path: triage, plain-English questions, threat hunting and fixing proposed Wazuh rules. The AI's stored reasoning keeps the tokens. Your analysts see real names.

Replaced with tokens

  • Hostnames
  • Internal IP addresses
  • Usernames
  • Windows account fields: TargetUserName, SubjectUserName, WorkstationName

Redacted in free text

  • Email addresses
  • Phone numbers in common formats
  • US Social Security numbers
  • Indian Aadhaar and PAN numbers

This is pattern matching. Other countries' ID formats, and unusual formats, can get through.

Sent as they are, by design

  • Command lines
  • File paths
  • Process names and images
  • External IP addresses
  • MITRE ATT&CK technique IDs

Spotting malware and misuse of built-in tools depends on the exact text. These fields often contain usernames, for example C:\Users\jdoe\....

In one line: identifiers in identity fields are tokenized. That is not the same as “no personal data ever reaches the model”. If that difference matters to you, run a model yourself through Ollama.

Access, audit and approval

Who can do what, and what gets written down

Roles run from admin to senior_analyst to analyst to read_only. Each role can do everything the roles below it can. The server checks the role on every request; the dashboard mirrors those checks and never grants more.

Examples of what each role adds
RoleAdds
read_onlyViews dashboards and incidents. Cannot change anything.
analystRecords the first human verdict on an alert, with a reason. Claims unowned incidents and escalates them. Proposes a response action.
senior_analystApproves and runs proposed response actions. Reverses an IP block early. Reviews proposed Wazuh rule changes.
adminChanges a verdict that a person has already recorded. Deploys and rolls back rule changes on a single-tenant install. Manages settings.

An audit trail for every decision

For each AI decision, DHRUVA stores the inputs it used, the model, the prompt and guidance versions, and how long it took. Changing a verdict or an incident's status requires a reason, and the reason is stored with it.

Human-approved response by default

Response actions (Enterprise) are proposed into a queue and run only after a senior analyst approves them. Every action, manual or automatic, is logged with who, what, why and when. Actions are sent only to Wazuh agents, never to the Wazuh manager itself, and only from a fixed list of allowed commands.

One automatic action, off by default

The only action that can ever run without a person is blocking an external IP. It stays off unless you turn it on. When on, it needs a true-positive verdict above a confidence floor plus a threat-intel match on that exact IP. It is rate-limited, expires after a set time, and refuses internal, reserved and allowlisted addresses.

Isolation between clients, for MSSPs

In Enterprise multi-tenant mode, each client's settings and secrets are encrypted at rest. Every query is filtered by client in the application and again by PostgreSQL row-level security. DHRUVA refuses to start in this mode if its database user could bypass those rules, and refuses to fall back to shared credentials if a client's settings cannot be decrypted.

What we do not claim

  • Not “no personal data reaches the AI”. Command lines, file paths and process names are sent as they are, and they can contain usernames. Free-text redaction covers a fixed set of formats.
  • No accuracy, false-positive or time-saved figures. We will only publish numbers we have measured on real deployments.
  • Not “the AI decides”. Low-confidence verdicts always go to a person, and response actions wait for approval by default.
  • Prompt-injection risk is reduced, not removed. Escaping alert text closes one known route. It is not a guarantee against every attack on a language model.
  • No compliance on its own. DHRUVA helps you produce evidence. It does not make you compliant with anything. See the compliance page.

Responsible disclosure

Found a security issue?

Please tell us privately before you share it, by email to info@securesleuths.in or through the Secure Sleuths contact page. The same contact is listed in /.well-known/security.txt.

Walk through it with your security team

Bring your questions about data flows, models and access. We will answer them on a live Wazuh feed.