Menu Blue team and MCP & tools

Guides

Blue team and MCP & tools

Third-party MCP servers and read-only data sources (Wazuh, Elastic, OpenSearch, Splunk, log files) managed from the dashboard, detection checks for engagements, Sigma detection rules as code (`indra detect`, with thresholds as correlation rules), indicators and STIX export, a shift summary, a timeline, what changed and silent hosts, and agents that triage logs, hunt, respond to incidents, check coverage, validate detections and plan hardening.

MCP & tools gives indra's agents any third-party tool you need. It also connects to your SIEM read-only, and indra adds defensive skills and commands for detection engineering and the SOC.

PieceWhat it does
MCP & tools ([[tool]])Any MCP server: EDR, threat intel, ticketing, scanners, a vendor's own SIEM server. Also read-only data sources: Wazuh, Elastic, OpenSearch, Splunk, log files. Managed in Settings > MCP & tools
Check detections on an engagementWhich of the engagement's steps your SIEM alerted on: detected, missed, and the ATT&CK techniques its rules named
sh-detection-rulesDrafts Sigma rules for what was missed, with the log source each needs, noise counted against your real logs, and a test for each. Never deploys them
sh-log-triageTriages alerts and hunts in logs: incidents, timelines, indicators, verdicts with evidence. Takes no response action
sh-hardeningTurns findings, a threat model and detection gaps into an ordered plan of fixes, each with how to verify it
sh-threat-huntHypothesis-driven hunts in your logs, from a starter library of hunts, with a hunt log. Read-only
sh-purple-teamValidates your detections: plans test cases per ATT&CK technique, and runs them only inside an authorized engagement
sh-fixTurns verified findings into root-cause fixes with regression tests, on a branch. Never commits to the default branch, never pushes
sh-autopilotOne request in, the right skills run in order, with a check after each step. See autopilot
sh-incident-responseScopes an incident, builds a timeline, plans containment, eradication and recovery, drafts status updates and the post-incident review. Also writes response playbooks. Takes no response action
sh-detection-coverageCompares your rules with the ATT&CK techniques that matter, checks the logs exist, and writes a prioritised backlog and a Navigator layer
indra detectSigma rules as code: new scaffolds a rule, lint, test against fixtures, convert to Lucene or SPL, backtest on a data source, ATT&CK coverage, built-in field maps (maps). Thresholds as correlation rules. No LLM, no network except a read-only backtest
indra iocextract indicators from any text (as a table, JSON, CSV or a STIX 2.1 bundle), sweep a data source for them. Read-only
indra siem summaryA shift-handover summary of a source: events by rule, host, technique, level and hour, with noisy rules flagged
indra siem timeline, compare, silentThe events of an investigation in time order, what changed against last week, and hosts that stopped sending. Read-only

MCP & tools

Settings > MCP & tools (admins) lists every tool. Start from a template, or Add tool. Test checks that a tool works:

The same list in indra.toml:

# Any MCP server started on the agent's machine. The vendor's docs give the command and variables.
[[tool]]
name = "intel"
kind = "mcp"
category = "threat-intel"              # siem | edr | threat-intel | ticketing | scanner | cloud | identity | other
command = "<the server's command>"
args = ["<its>", "<arguments>"]
env = { API_KEY = "secret:intel-key" } # indra secret set intel-key  (scope it to tool:intel)
profiles = ["blue"]                    # agents of these profiles get it; "*" for every Claude Code agent

# An MCP server reached over HTTP.
[[tool]]
name = "edr"
kind = "mcp"
category = "edr"
url = "https://edr.example.com/mcp"
headers = { Authorization = "secret:edr-token" }   # the whole value, "Bearer ..." included

# Read-only data sources.
[[tool]]
name = "wazuh"
kind = "wazuh"                         # wazuh | elastic | opensearch | splunk | files
url = "https://wazuh-indexer:9200"     # the Wazuh indexer (OpenSearch), not the manager API on 55000
username = "indra-ro"
password = "secret:wazuh-ro"
ca_file = "/etc/indra/wazuh-root-ca.pem"
profiles = ["blue"]

[[tool]]
name = "elastic"
kind = "elastic"
url = "https://es.internal:9200"
api_key = "secret:elastic-ro"
index = ".alerts-security.alerts-*,logs-*"

[[tool]]
name = "splunk"
kind = "splunk"
url = "https://splunk.internal:8089"   # the management port
token = "secret:splunk-ro"

[[tool]]
name = "logs"
kind = "files"
paths = ["/var/log/auth.log", "/var/log/nginx/*.log"]

How an agent gets its tools:

Secrets:

Certificates: for a data source with its own certificate authority, Wazuh's default among them, point ca_file at that authority's certificate. insecure_tls = true skips the check, but prefer ca_file.

Read-only by construction

SourceWhat indra sends
Wazuh, Elastic, OpenSearchOnly POST <index>/_search
SplunkOnly search "term" "term" | head N: every word is quoted, so a pipe or a command in a query is just text to look for
Log filesOnly the configured paths, read and never written

Requests go through curl, with the credentials on its standard input, never on a command line. Results are untrusted data for the agents that read them: siem_search, siem_alerts, siem_summary, siem_ioc_sweep, siem_timeline, siem_compare and siem_silent return them between two markers that carry a random nonce made for that one answer, with a note that what is inside is data from the source, never instructions. Text inside cannot close the frame early, since it cannot know the nonce. indra's workflow MCP server frames the workflow files it reads from repositories the same way, and indra traffic show and replay frame what a target sent back.

Search from the terminal

indra siem list
indra siem search wazuh 'rule.level:>=10 AND agent.name:web-01' --since 24h
indra siem search splunk '10.20.0.7 "failed password"' --since 7d --json

Times are Unix seconds or 15m, 24h, 7d ago. Wazuh, Elastic and OpenSearch take Lucene query syntax. Splunk and log files take terms and "quoted phrases", all of which must match.

Outside indra

To give the data sources to a Claude Code you run yourself:

claude mcp add indra-siem -- indra siem mcp

Check detections (purple team)

After an engagement's agents have run, open the engagement and click Check detections:

  1. indra takes the engagement's steps: the tool calls the guard allowed that named a host.
  2. It asks every SIEM source for its events over that time.
  3. A step counts as detected when an event from a minute before it to 15 minutes after it names one of its hosts.

The result shows:

Export CSV downloads it. It is also saved as engagements/<id>/detections.json and recorded in the engagement's audit log.

Draft rules for the missed starts an agent with sh-detection-rules and the missed steps. It writes draft Sigma rules to detections/<id>/ for a defender to review and deploy.

Detection as code (indra detect)

Keep rules as Sigma files in a Git repository, with a test for each. indra detect checks them without a SIEM. It is plain code: no LLM, no network.

Layout:

detections/
  whoami/
    whoami-by-web-server.yml              # the rule
    whoami-by-web-server.match.jsonl      # events that must fire it
    whoami-by-web-server.nomatch.jsonl    # near misses that must not

For rule.yml, the fixtures sit next to it. rule.match.jsonl holds events, one JSON object per line, that must fire the rule. rule.nomatch.jsonl holds near misses that must not. Blank lines and lines starting with # are skipped.

Start a rule with indra detect new. It writes the rule and its two fixture files and refuses to overwrite anything:

indra detect new detections/downloads --title "Certutil download" --technique T1105 --level high
wrote detections/downloads/certutil-download.yml
wrote detections/downloads/certutil-download.match.jsonl
wrote detections/downloads/certutil-download.nomatch.jsonl
next: fill in the detection, falsepositives and description, add events to the fixtures, then run `indra detect lint ...` and `indra detect test ...`

--logsource takes key=value pairs (default category=process_creation,product=windows) and --technique can be repeated. The new rule has a fresh id, status: experimental, today's date and a placeholder detection. Lint warns until the description and falsepositives hold real text.

A small rule:

title: Whoami Run by a Web Server Process
id: 6f2a9a3e-3b4c-4d6e-8f1a-2b3c4d5e6f70
status: test
description: A web server worker spawning whoami.exe is a classic sign of a web shell running discovery commands.
date: 2026-11-29
tags:
  - attack.discovery
  - attack.t1033
logsource:
  category: process_creation
  product: windows
detection:
  selection_parent:
    ParentImage|endswith:
      - '\w3wp.exe'
      - '\httpd.exe'
      - '\nginx.exe'
      - '\php-cgi.exe'
  selection_child:
    Image|endswith: '\whoami.exe'
  filter_health:
    CommandLine|contains: '/healthcheck'
  condition: all of selection_* and not filter_health
falsepositives:
  - Web application health scripts that call whoami (rare)
level: high

Its .match.jsonl:

{"ParentImage":"C:\\Windows\\System32\\inetsrv\\w3wp.exe","Image":"C:\\Windows\\System32\\whoami.exe","CommandLine":"whoami /all"}
{"ParentImage":"C:\\php\\PHP-CGI.EXE","Image":"C:\\Windows\\System32\\WHOAMI.EXE","CommandLine":"whoami"}

Its .nomatch.jsonl (an admin shell, and the health check):

{"ParentImage":"C:\\Windows\\System32\\cmd.exe","Image":"C:\\Windows\\System32\\whoami.exe","CommandLine":"whoami"}
{"ParentImage":"C:\\Windows\\System32\\inetsrv\\w3wp.exe","Image":"C:\\Windows\\System32\\whoami.exe","CommandLine":"whoami /healthcheck"}

What is supported. Field tests with the modifiers contains, startswith, endswith, all, cased, re, cidr, exists, gt, gte, lt, lte, base64, base64offset and windash. Keyword lists. Conditions with and, or, not, brackets, 1 of, any of and all of.

Thresholds and sequences as correlation rules: see Thresholds and correlation rules.

What is not. Aggregations in a condition (the old | count() ... syntax), timeframe (use a correlation rule), correlation aliases, nested correlations, multi-document rule files that hold no correlation rule, and the modifiers fieldref, expand, utf16* and wide. Lint warns about them, and test, convert and backtest refuse such a rule.

Field maps. Sigma names fields like CommandLine. Your data may not. --map renames them. It takes a TOML file:

[fields]
CommandLine = "process.command_line"
Image = "process.executable"
ParentImage = "process.parent.executable"

or the name of a built-in map, ecs (Elastic Common Schema) or wazuh (the fields the Wazuh indexer stores for Sysmon and Windows event data, and Linux audit):

indra detect maps                # list the built-in maps
indra detect maps ecs > map.toml # print one as TOML, to copy and extend
indra detect backtest detections --source wazuh-prod --map wazuh --config indra.toml
ecs      37 field(s)  Elastic Common Schema (Elastic Agent, Beats, Sysmon and Windows integrations)
wazuh    59 field(s)  Wazuh indexer: Sysmon and Windows event data (data.win.*) and Linux audit (data.audit.*)

A file that exists on disk wins over a built-in name. A field a map does not name passes through unchanged. --map works with test, convert and backtest. With --map, test also maps the rule for the fixtures, so they must then use your data's field names. Keep fixtures in Sigma's names and run test without --map, except with --events, where the events are your data.

Lint

indra detect lint detections            # a rule file, or folders searched for *.yml and *.yaml
3 rule file(s): 0 error(s), 0 warning(s)

Errors are things like a missing logsource, a bad level, a condition naming an unknown identifier or a bad CIDR. Warnings are things like no ATT&CK tag, no falsepositives, no fixtures or an unsupported construct. A sloppy rule looks like this:

bad/sloppy.yml: error: logsource names none of category, product, service
bad/sloppy.yml: error: level "severe" is not one of informational|low|medium|high|critical
bad/sloppy.yml: warning: no ATT&CK technique tag (attack.t1234 or attack.t1234.001)
bad/sloppy.yml: warning: an aggregation in the condition (`| count() ...`) is not supported by indra detect
bad/sloppy.yml: warning: no fixtures (sloppy.match.jsonl or sloppy.nomatch.jsonl)
2 rule file(s): 4 error(s), 9 warning(s)

Lint also warns about a rule that matches only an indicator: a selection whose only tests are literal IP addresses, hash values or a user-agent string. An attacker changes those for free:

ioc/c2.yml: warning: the rule matches only an indicator; add the behaviour or expect it to stop matching (it keys on: literal IP addresses)

Indicators belong in a sweep (indra ioc sweep). A rule should describe the behaviour.

It exits 1 on an error. --strict exits 1 on a warning too. --format picks the output: text (the default), json (also --json), github or junit. See In CI.

Test

indra detect test detections
PASS  detections/encoded-ps/powershell-encoded-command.yml  (2 match, 2 nomatch)
PASS  detections/ssh-brute/sshd-failed-password.yml  (2 match, 2 nomatch)
PASS  detections/whoami/whoami-by-web-server.yml  (2 match, 3 nomatch)
3 rule(s): 3 passed, 0 failed, 0 without fixtures, 0 could not be evaluated

A failing line is named by its line number. Exit 1 on a failed fixture or a rule that cannot be evaluated. --strict makes a rule without fixtures fail too. --format takes the same values as for lint.

To estimate noise, run every rule over a log sample instead (--events FILE: JSON lines or one JSON array, - for stdin):

indra detect test detections --events logs/endpoint.jsonl --map map.toml
     1 hit(s)  12.50%  detections/encoded-ps/powershell-encoded-command.yml
         first: {"@timestamp":"2026-11-29T15:11:11Z","host":{"name":"wks-07"}, ...
     4 hit(s)  50.00%  detections/whoami/whoami-by-web-server.yml
         first: {"@timestamp":"2026-11-29T16:11:11Z","host":{"name":"web-01"}, ...
8 event(s) (1 line(s) skipped: not JSON objects), 3 rule(s)

A rule that fires on half the sample is noise to tune.

Thresholds and correlation rules

Some detections are a count or a sequence, not one event: five failed logins from one address in five minutes, or a login followed by sudo. indra detect reads these as Sigma correlation rules. A correlation rule is a YAML document with a correlation: map. It names base rules, and the base rules say what one event looks like.

TypeFires when
event_countthe base rules match at least (or at most, condition) N times for one group within timespan
value_countN distinct values of condition.field are seen for one group within timespan
temporalevery listed base rule fires for one group within timespan, in any order
temporal_orderedthe same, in the order listed

The keys: rules (base rules, by name or id), group-by (a list of fields), timespan (30s, 5m, 1h, 1d) and condition (one of gte, gt, lte, lt, eq, with a number, and field for value_count).

A base rule that carries a name:

title: Failed SSH login
id: 0b3a4d1e-2c5f-4a6b-9c8d-7e6f5a4b3c2d
name: ssh_failed_login
status: experimental
description: A failed password for an SSH login
date: 2026-12-01
logsource:
  product: linux
  service: sshd
detection:
  sel:
    message|contains: Failed password
  condition: sel
level: low
tags:
  - attack.t1110
falsepositives:
  - A user mistyping a password

and the correlation rule on top of it, ssh-brute.yml:

title: SSH brute force (5 in 5 minutes)
id: 1b3a4d1e-2c5f-4a6b-9c8d-7e6f5a4b3c2d
name: ssh_bruteforce
status: experimental
description: Five failed SSH logins from one address within five minutes
date: 2026-12-01
level: high
tags:
  - attack.credential_access
  - attack.t1110.001
falsepositives:
  - A script with a stale password
correlation:
  type: event_count
  rules:
    - ssh_failed_login
  group-by:
    - src_ip
  timespan: 5m
  condition:
    gte: 5

Give lint, test and the other commands the folder, so the base rule is found among the paths. A rule and its correlation may also share one file, separated by ---.

Fixtures. For a correlation rule, ssh-brute.match.jsonl is one event sequence. All its lines together, ordered by their time, must make the rule fire at least once. ssh-brute.nomatch.jsonl is one sequence that must never fire it. Each event needs a time, the first of @timestamp, timestamp, _time, time or ts (ISO 8601, or Unix seconds or milliseconds). Its .match.jsonl:

{"@timestamp":"2026-12-01T10:00:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
{"@timestamp":"2026-12-01T10:01:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
{"@timestamp":"2026-12-01T10:02:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
{"@timestamp":"2026-12-01T10:03:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
{"@timestamp":"2026-12-01T10:04:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
{"@timestamp":"2026-12-01T10:20:00Z","message":"Failed password for root from 10.0.0.2","src_ip":"10.0.0.2","user":"root"}

Its .nomatch.jsonl has failures that alternate between two addresses, and a pause, so no address reaches five in five minutes:

{"@timestamp":"2026-12-01T10:00:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
{"@timestamp":"2026-12-01T10:01:00Z","message":"Failed password for root from 10.0.0.2","src_ip":"10.0.0.2","user":"root"}
{"@timestamp":"2026-12-01T10:02:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
{"@timestamp":"2026-12-01T10:03:00Z","message":"Failed password for root from 10.0.0.2","src_ip":"10.0.0.2","user":"root"}
{"@timestamp":"2026-12-01T10:04:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
{"@timestamp":"2026-12-01T10:06:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
{"@timestamp":"2026-12-01T10:07:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
{"@timestamp":"2026-12-01T10:08:00Z","message":"Failed password for root from 10.0.0.1","src_ip":"10.0.0.1","user":"root"}
indra detect lint rules
indra detect test rules
2 rule file(s): 0 error(s), 0 warning(s)
PASS  rules/ssh-brute.yml  (6 match, 8 nomatch)
PASS  rules/ssh-fail.yml  (1 match, 1 nomatch)
2 rule(s): 2 passed, 0 failed, 0 without fixtures, 0 could not be evaluated

Lint checks the type, that every named base rule is among the files given, that group-by is a list, the timespan and the condition. A mistake looks like this:

bad.yml: error: group-by must be a list of field names
bad.yml: error: timespan "5" needs a unit: s, m, h, d or w (30s, 5m, 1h, 1d)
bad.yml: error: a value_count condition needs `field:` (the field whose distinct values are counted)
bad.yml: error: rule `nope` is not among the rule files given (a base rule is found by its name or id)

On real events. test --events and backtest on a files source evaluate correlation rules locally and print each rule's count and its first group:

indra detect test rules --events auth.jsonl
    11 hit(s)  78.57%  rules/ssh-fail.yml
         first: {"@timestamp":"2026-12-01T10:00:00Z","message":"Failed password for root from 10.0.0.1", ...

correlation rules/ssh-brute.yml  SSH brute force (5 in 5 minutes)
  event_count fired 1 time(s) over 11 matching event(s)
  first: group [src_ip=10.0.0.1] count 5 from 2026-12-01T10:00:00Z to 2026-12-01T10:04:00Z
14 event(s), 1 rule(s)

A burst counts once, not once per event.

Where it stops.

Convert

indra detect convert detections/whoami/whoami-by-web-server.yml --to lucene
((Image:*\\whoami.exe AND (ParentImage:*\\w3wp.exe OR ParentImage:*\\httpd.exe OR ...)) AND NOT CommandLine:*\/healthcheck*)

--to lucene is for Elastic, OpenSearch and the Wazuh indexer. --to splunk prints SPL. The query goes to stdout. A note goes to stderr: the conversion is an untested draft. Check it against real data before use. Lucene compares keyword fields with case and Sigma does not, so a value in another case can be missed. A regex cannot become SPL: add | regex by hand.

Backtest

Count what rules would have matched on a data source over a time range:

indra detect backtest detections --source endpoint-logs --map map.toml --since 30d --config indra.toml
detections/whoami/whoami-by-web-server.yml  Whoami Run by a Web Server Process
  hits: 3
  per day (UTC): 2026-11-27 1, 2026-11-28 1, 2026-11-29 1
  top hosts: web-01 (2), web-02 (1)
  newest:
    2026-11-29T16:11:11Z  web-01  {"@timestamp":"2026-11-29T16:11:11Z","host":{"name":"web-01"}, ...

A backtest only reads. It never writes to a data source.

Coverage

indra detect coverage detections --want T1110,T1059.003,T1021.001 --navigator layer.json
3 rule(s), 5 technique(s) covered

discovery
  T1033      1 rule(s)  high
  T1505.003  1 rule(s)  high
...
Wanted:
  T1021.001  missing
  T1059.003  missing
  T1110      covered

The tags of the rules say which techniques are covered, by tactic, with the rule count and the highest level. A technique that only has experimental rules is marked. --want takes a list (repeatable or comma-separated). A rule for a sub-technique covers its parent. Each wanted technique is reported as covered, parent only (you asked for a sub-technique such as T1059.001 and the rules are tagged with its parent T1059) or missing. --navigator FILE writes an ATT&CK Navigator layer, for the matrix view. --json prints JSON.

From an engagement's detection check. --detections FILE takes the result of Check detections, engagements/<id>/detections.json (repeatable). The techniques its alerts named count as seen by your SIEM. indra reports which of them have no rule in your folders, and how many steps were detected and missed:

indra detect coverage detections --detections engagements/eng-1/detections.json
SIEM detection check (1 file(s)): 6 step(s), 4 detected, 2 missed
  techniques the SIEM named: 3 (T1059, T1110.001, T1190)
  with no rule in these folders: T1059, T1190

These are techniques the SIEM already alerts on with a rule that is not in your repository. Write them down as rules, so they are tested and kept. If the alerts named no technique ids, indra says so and exits 0.

In CI

A rules repository needs two commands. Both exit 1 on a problem:

indra detect lint detections --strict
indra detect test detections --strict

In GitHub Actions, --format github turns each problem into an annotation on the file:

indra detect lint detections --strict --format github
indra detect test detections --strict --format github
::warning file=rules/ssh-fail.yml,title=indra detect lint::no fixtures (ssh-fail.match.jsonl or ssh-fail.nomatch.jsonl)

--format junit prints one XML document, a test suite per rule file, for CI systems that read JUnit. For a correlation rule, test --events lists no result with github or junit (text and JSON do).

This is a note only. indra's own workflows do not run them.

Indicators (indra ioc)

Pull indicators out of any text: a report, an alert, a ticket, an email.

echo 'saw hxxp://evil[.]example/a from 203.0.113.9 and 10.0.0.5, cve-2024-3094' | indra ioc extract
TYPE    VALUE                 COUNT  NOTE
ip      10.0.0.5                  1  private
ip      203.0.113.9               1  documentation
url     http://evil.example/a     1  
cve     CVE-2024-3094             1  
4 indicator(s)

To share indicators with a threat-intelligence platform, --format stix prints a STIX 2.1 bundle:

printf 'saw 203.0.113.9 and cve-2024-3094' | indra ioc extract --format stix --public-only
{
  "id": "bundle--9fcb994c-7c94-4e0d-a7c0-bf2564b7381d",
  "objects": [
    {
      "id": "indicator--ec449b04-bae4-4f67-a901-b7d21fca29eb",
      "name": "203.0.113.9",
      "pattern": "[ipv4-addr:value = '203.0.113.9']",
      "pattern_type": "stix",
      "spec_version": "2.1",
      "type": "indicator",
      ...
    },
    {
      "id": "vulnerability--697267af-a3e2-443c-abc8-59ca97bb8376",
      "name": "CVE-2024-3094",
      "external_references": [{ "external_id": "CVE-2024-3094", "source_name": "cve" }],
      "type": "vulnerability",
      ...
    }
  ],
  "type": "bundle"
}

Each IP, domain, URL, hash and e-mail address becomes an indicator with a STIX pattern. Each CVE id becomes a vulnerability. The bundle holds every indicator found, so use --types or --public-only to share only some. The output has not been checked with a STIX validator: validate it before you rely on it.

Then sweep a data source for them:

indra ioc sweep endpoint-logs --iocs iocs.txt --since 30d --config indra.toml
Swept endpoint-logs for 2 indicator(s), 2026-10-30T17:18:19Z to 2026-11-29T17:18:19Z (UTC), at most 100 events each.

  HITS  TYPE   INDICATOR       FIRST SEEN           LAST SEEN            HOSTS
     1  ip     198.51.100.7    2026-11-29T15:07:51Z 2026-11-29T15:07:51Z bastion

1 indicator(s) with no hit: 8.8.8.8

A hit says the value appears in the logs. It does not say the host is compromised. The sh-log-triage and sh-incident-response skills read the events around each hit.

Summary for a shift handover (indra siem summary)

indra siem --config indra.toml summary endpoint-logs --since 24h
endpoint-logs: 8 event(s), 2026-10-30T17:18:19Z to 2026-11-29T17:18:19Z (UTC)
Noisy (each 20% or more of the events, worth tuning): (no rule)

By host (top 4 of 4):
      2  25.0%  bastion
      2  25.0%  web-01
...
Per hour (UTC):
  2026-11-29T15:00Z     4  ##############################

It reads the events of a source and counts them by rule, host, ATT&CK technique, level and hour. A rule that is 20% or more of the events is flagged as noisy: tune it first. --since defaults to 24h, --min-level sets a floor (a Wazuh rule level or a severity), --limit caps the events read (at most 2000), and --json prints JSON. --config goes before summary.

Timeline, what changed, and silent hosts

Three read-only commands for an investigation and for the start of a shift. --config goes before the subcommand, as for summary.

indra siem timeline <source> [query] lists events oldest first, with the time (UTC), host, level, the rule or the start of the message, and ATT&CK ids:

indra siem --config indra.toml timeline logs --host web-01 --since 30d --limit 8
logs: 8 event(s), 2026-11-02T18:40:53Z to 2026-12-02T18:40:53Z (UTC), oldest first, host web-01
2026-12-02T12:42:52Z  web-01           5   Web scan | probe  [T1595]
2026-12-02T12:43:52Z  web-01           5   Web scan | probe  [T1595]
  --- 2h 31m with no events ---
2026-12-02T15:13:52Z  web-01           12  Webshell detected  [T1505.003]
indra siem --config indra.toml timeline logs --around 2026-12-02T15:13:52Z --window 2h --host web-01 --format md
Timeline of logs, 2026-12-02T13:13:52Z to 2026-12-02T17:13:52Z (UTC), oldest first, host web-01.

| Time (UTC) | Host | Level | Event | ATT&CK |
|---|---|---|---|---|
| 2026-12-02T15:13:52Z | web-01 | 12 | Webshell detected | T1505.003 |

indra siem compare <source> sets the last --since (default 24h) against the --baseline (default 7d) right before it, and reports:

indra siem --config indra.toml compare logs --since 12h --baseline 7d
logs: current window against its baseline
current : 41 event(s), 2026-12-02T06:41:09Z to 2026-12-02T18:41:09Z (UTC)
baseline: 84 event(s), 2026-11-25T06:41:09Z to 2026-12-02T06:41:08Z (UTC)

Rules seen now and never in the baseline (1)
  L12       2x  Webshell detected  (2 host(s), T1505.003)

Hosts seen now and never in the baseline (1)
       2x  newhost-9  (2 rule(s))

Rules at 3x the baseline's hourly rate or more (5+ events now) (1)
   210.0x  Web scan | probe  (2.50/h now, 30 events; 0.01/h baseline, 2 events)

Rules in the baseline and absent now (1)
       4x  Old VPN alert  (last seen 2026-11-30T06:13:52Z)

--min-level sets a floor, --limit caps the events read per window, --json prints JSON.

indra siem silent <source> lists hosts that sent events in the baseline and none in the last --since. It is the telemetry-gap check: an agent that died, a log shipper that broke.

indra siem --config indra.toml silent logs --since 12h --baseline 7d
logs: hosts seen in the baseline and silent now
current : 41 event(s), 2026-12-02T06:41:09Z to 2026-12-02T18:41:09Z (UTC)
baseline: 84 event(s), 2026-11-25T06:41:09Z to 2026-12-02T06:41:08Z (UTC)

Silent hosts, of 4 in the baseline (1)
  db-02                          last seen 2026-12-01T02:13:52Z      10 event(s) in the baseline

Limits. Each window reads at most 2000 events, newest first. When a window hits that, the report says so and the counts are lower bounds. A host listed as silent may then have older events in the current window. Events without a time, a rule or a host are left out of the comparison.

Triage, incident response, coverage and hardening

Ask in plain words, or start them from Run an agent:

triage the high Wazuh alerts from the last 24 hours on web-01
hunt for password spraying against the VPN this week
sweep the Wazuh logs of the last 30 days for the addresses in this report
we think a CI token leaked: scope it, build a timeline and plan the response
write a playbook for a compromised cloud key
what are we not detecting for the threat model of this repo?
make a Navigator layer from the rules in detections/
make a hardening plan from the last review and its threat model
what changed in the Wazuh alerts since last week?
which hosts stopped sending logs?
hunt for beaconing to rare domains in the proxy logs
we have no detection for web shells: which of our rules would fire? plan a test
fix the verified SQL injection findings and add regression tests

To run several of these in order from one request, use sh-autopilot: see autopilot.

API

CallWhat it does
GET /api/integrationsMCP & tools, with no secret values (only which keys are set)
POST /api/integrations/{name}/test (admins)Search a data source, or start an MCP server and list its tools
POST /api/procs with "tools": [names]Start an agent with these tools on top of its profile's
POST /api/engagements/{id}/detections {sources?, slack?} (operators)Run the detection check