Skip to content

fix(soc-framework-nist-ir): repoint MTTI at a verdict anchor that exists - #1172

Merged
scottbrumley merged 1 commit into
mainfrom
fix/nist-ir-mtti-anchor
Sep 24, 2026
Merged

scottbrumley merged 1 commit into
mainfrom
fix/nist-ir-mtti-anchor

Conversation

@scottbrumley

Copy link
Copy Markdown
Contributor

MTTI returned null on every case. Two defects in one query.

The verdict anchor did not exist. It filtered event_type = "analysis_complete", which is never written to xsiam_socfw_ir_execution_raw — the same root cause as the MTTD fix in #1169. Now anchored on phase = Assessment, which makes it producer-agnostic like MTTD.

The start anchor was too narrow. It counted only commands in phase Analysis — 14 rows across 5 cases. Investigation commands are emitted under Enrichment. The anchor now spans both.

cases value
before 0 null
after 1,843 1.29 min

Against the 58s baseline that is the same order of magnitude, which is the sanity check the notes call for.

The max-based structure — last investigation command rather than first — was already correct and is unchanged.

Verification

check_contribution including the upload step, green. Both candidate start anchors measured on a reference tenant before choosing.

MTTI returned null on every case. Two defects, one query:

- the verdict anchor was event_type = "analysis_complete", which is never
  written to xsiam_socfw_ir_execution_raw. Same root cause as the MTTD fix
  in #1169. Now anchored on phase = Assessment, so it is producer-agnostic.
- the start anchor counted only commands in phase Analysis, which is 14 rows
  across 5 cases. Investigation commands are emitted under Enrichment. The
  anchor now spans Analysis and Enrichment.

Measured on a reference tenant: 0 cases before, 1,843 cases at 1.29 min
after. Against the 58s baseline that is the same order of magnitude, which
is the sanity check the notes call for.

The max-based structure was already correct and is unchanged.
@scottbrumley scottbrumley added the version:patch Bug fix or hotfix → x.x.N label Sep 24, 2026
@scottbrumley
scottbrumley merged commit 01fae38 into main Sep 24, 2026
15 of 24 checks passed
@scottbrumley
scottbrumley deleted the fix/nist-ir-mtti-anchor branch September 24, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version:patch Bug fix or hotfix → x.x.N

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant