Repository navigation
AiSOC v23.7.0
Security
- A malformed compressed frame can no longer panic the ingest receiver
(GO-2026-6865 / CVE-2026-116591).services/ingestpinned
github.com/klauspost/compress v1.20.1(indirect), whose fse/huff0
decoders panic on crafted two-block frames — and govulncheck traced the
vulnerable calls as reachable fromotlp.Receiver.writeProtothrough the
compressing response writer, on the one service that takes events off the
network. Bumped to the fixed v1.20.2: before the bump the scan reported
"affected by 24 vulnerabilities from 1 module and the Go standard
library"; after it, zero module findings remain (the stdlib entries track
the builder's Go patch level, which the image's floatinggolang:1.26
base picks up at build time). All 17 ingest test packages pass on the new
pin. Below the audit's high/critical fail threshold by policy, fixed
anyway because the path is attacker-reachable.
Added
-
A DLP alert normalizes into one finding, whatever vendor raised it.
Netskope's DLP alerts, Purview DLP and -
Bounded hunting campaigns with governed selection (migration 179). A campaign is a sequence of
distinct closed-schema plans — the model still never writes query text —
each derived from a scrubbed summary of the previous step (counts and
pseudonymized top values; a hosted model never sees rows), with budgets
for steps, rows, model calls and wall clock checked BEFORE each step.
It is not a retry loop: the one-correction rule holds, a repeated
question stops the campaign, an identical plan under new words stops it
too. Outcomes stay apart: ranked leads; a no-finding carrying a coverage
statement naming the sources, fields and time range actually searched;
or could-not-check. The hypothesis scheduler selects campaigns per
tenant — opt-in, cadenced, budgeted, every selection recorded with its
reason before the campaign starts — from approved hunt requests (an
unapproved request is never selected; one request launches one
campaign). Leads are verified by the investigation agent under their own
runs, capped, and a productive campaign opens a DRAFT detection proposal
through the governed path — the wiring that finally assigns the
long-declared, never-assignedproposal_id(source: hunt-campaign;
nothing auto-promotes). 14 unit cases; the closed-schema boundary gate
unchanged and green. -
AI security at runtime: session sequences, runaway sessions, refused
assets, MCP drift, shadow AI, prompt classes (migration 176). Session-scoped sequences: inside one
AI session, an injection/guardrail finding, then a secret-bearing prompt,
then an egress-capable tool is one high finding — through the real
windowed engine, with the negative fixture (same events, two sessions)
refusing to fire because the session is the claim, and a template-
coupling pin that fails by name if the ai ingest templates stop mapping
any field a rule reads. Runaway sessions: per-session
tool-call flood, and the SDK's prompt hash — emitted "precisely so
detection can ask: the same prompt fifty times?" and never consumed —
consumed: fifty identical hashes fire, sixty distinct ones do not.
Refused assets: the recorder's flush no longer overwrites a
sanction-judged risk score with its sanction-blind one (the defect was
the upsert's ownEXCLUDED.risk_score; the fix is the SQL's CASE,
proven live both ways), and a refused asset observed again now raises a
high-severity triage alert citing the sanction decision — once per
flush, through the ordinary fusion path. MCP manifest drift:
the SDK ships tool names + description SHA-256s hashed in the customer's
process (one ≤80-char snippet, only for a description that already
tripped an instruction pattern); the recorder versions manifests per
(tenant, server) and drift — a moved hash, a new state-changing tool,
instruction-shaped text — is a triage alert naming what moved. Shadow
AI: SWG/DNS events become AI-estate sightings against a
shipped catalog whose every row is a vendor's own documented product
domain with per-row provenance; the sighting statescannot_see_prompts
outright. Prompt classes: an opt-in, local, counts-only
classifier (personal/health/payment/source-code); off by default means
the field is absent, and the standing prompt-content-never-leaves claim
stays exactly true. 8 + 2 + 27 unit cases, 5 live-Postgres cases in
integration.yml, negative controls on the judged-score guard and the
drift hash comparison. -
SIEM detection engineering on the customer's SIEM: inventory, health,
outbound translation and the governed tuning arm (migration 180). A read-only, versioned, per-tenant
inventory of the SIEM's own detection content — Splunk
scheduled/correlation searches and Elastic Security rules through the
vendors' documented admin APIs, content-hashed so drift is a fact (an
unchanged hash advanceslast_seen; a changed one bumpsversionand
keeps the prior hash), refreshed on a schedule and from the console's
new SIEM-content tab (honest empty/error/not-measured states). Rule
health comes from outcomes this platform attributed: FP rate over the
DISPOSED denominator with zero reading "not measured" never 0.0, vendor
execution state only where the listing exposed it. Outbound translation
(packages/aisoc-migrate/outbound.py) renders native rules to SPL, KQL
and EQL strictly within the subset the inbound parser reads back
identically — every fixture roundtrips through the real
inbound.translate— refusing with the roundtrip reason everything
else, with AQL explicitly render-only. SIEM-rule tuning proposals land
as DRAFTs on the same governed detection-proposal path native rules
use, applied (after review) through the fixed per-vendor
sync_detection_ruleverb with content read-back verification.
Sentinel/QRadar inventory legs, the silent-sources monitor and
the federated backtest plug into seams named in the PR and are recorded
follow-ups. 7 + 3 + 3 unit/mock-vendor cases, 3 live-Postgres cases in
integration.yml, negative control on drift versioning. -
The co-managed operating model: shifts, responsibility, routing,
review (migrations 173–175). Shift
handoffs from real rows: shifts are tenant configuration
(local wall-clock minutes in an IANA timezone — an overnight shift
belongs to the day it started, DST changes an occurrence's UTC length
and never its local clock), and a handoff is a snapshot of the tenant's
real open work at shift end — open alerts by severity, unowned/overdue
cases, pending approvals, running investigations — generated
idempotently, acknowledged by the incoming shift; a section whose store
cannot answer sayscould_not_check, never zeros; the console's Shifts
page now calls the real API, and the fabricated shift board the absence
test pinned stays deleted, the pin deliberately superseded to pin the
property that made it a defect (no module-level domain data). The
responsibility matrix: which party — provider, customer,
shared — owns triage, approval and action per alert class, severity and
verb; enforcement runs after the ordinary permission check at both human
chokepoints (playbook-step dispatch, approval decide) and narrows
only — a row can refuse what the role allowed, never grant what it
refused; an unreadable matrix degrades to the base authorization rather
than refusing tenant-wide. Per-tenant escalation routing:
overdue unowned cases escalate to the tenant's own outbound webhooks —
enqueue_event's first production caller, the wiring the escalations
bridge's own docstring named as missing — once per case per route,
severity-floored, optionally matrix-filtered; the deployment-wide bridge
stays as the operator fallback. The service review: the
weekly tick now also builds a per-tenant review from the tenant's own
rows where every mean carries the count it averaged (QA agreement over
its reviewed denominator; MTTD/MTTR/MTTC per severity with per-severity
totals) — no denominator readsnot measured, never zero — persisted
as its own artefact and delivered throughservice.reviewwebhook
events, closing the generated-for-months-delivered-never gap. 22 unit
cases, 4 live-Postgres cases inintegration.yml, negative controls on
the narrow-only rule and the escalation dedup. -
Phishing: the vendor door, interaction scoping, BEC signals, reporter
feedback and the org-level block (gap-closure program;
migration 177). Email-security vendor alerts (Proofpoint, Mimecast,
Abnormal, Sublime, Defender for O365) become a fourth intake door
joining the SAME campaigns user reports join — published vendor fields
only, an alert naming no message refused rather than invented.
Recipient scoping answers clicked / replied / credential-submitted per
recipient under the three-outcome discipline per check —norequires
connected telemetry that answered, absent telemetry names the missing
sources — and response proposals scale revocation and reset with
established credential risk only. BEC signals (lookalike domains, VIP
display-name borrowing against the new VIP list, pipeline-scoped
first-seen senders, Reply-To mismatch) attach as evidence that never
closes anything alone; domain-age is refused with its reason rather
than invented. Reporter feedback is policy-gated OFF by default, a
fixed template through the outbound-webhook queue. And the org-level
gateway block exists as the real vendor verb: a Mimecast Blocked
Senders policy behind new governed capabilitiesblock_sender_org/
unblock_sender_org(MODERATE impact, analyst approval, readback
probes, rollback by policy id), refused by name for vendors publishing
only per-mailbox blocks, proposed from scoping only when the tenant's
switch is on. 14 unit cases; negative control on the telemetry-absence
discipline. -
A DLP alert normalizes into one finding, whatever vendor raised it. Netskope's DLP alerts, Purview DLP and
insider-risk alerts riding Defender'salerts_v2, and the M365 audit
trail'sDlpRuleMatchevents each arrived as their vendor shaped them,
readable only throughraw_event.app/services/dlp_finding.pyderives
the shared vocabulary — policy, rule, data classes/sensitivity labels,
file (name, hash, size), channel, destination and its class, what the
DLP product itself already did (blocked|warned|allowed|audited), user
and device — through per-source profiles that map only vendor-documented
fields (Netskope's published alert sample; the O365 DLP schema with its
EnforcementMode ladder 1=audit/2–3=warn/4=block/5=allow; Graph evidence
objects). An absent vendor fact stays empty, a destination class is
derived only from Netskope's explicitmanaged_app, Purview's unstated
per-event outcome stays null, and a source without a profile yields no
finding rather than a best-effort parse. Served at
GET /alerts/{id}/dlp-findingwithfinding: nullas the honest non-DLP
answer. 15 cases over the vendors' own shapes; the negative control
corrupts one enforcement mapping and watches two fail. -
A completed response action can now actually be undone. Every
destructive executor capturedrollback_dataand every platform-reversible
verb's contract named areverse_capability, but no route or worker ever
invoked an executor'srollback()— the reversal the docs promised was
reachable only from tests.POST /api/v1/actions/{action_id}/undo
(session-authenticated,actions:execute) resolves the tenant's stored
integration server-side — the request body cannot carry credentials, since
unknown fields are refused — and drives the actions service's new
POST /actions/{action_id}/rollback, which grades the undo against the
reverse capability's own contract through the same approval matrix as
forward dispatch: an analyst-tier reversal queues in the approvals inbox
and is re-driven at decide time with the deciding identity bound as
approver (the requester cannot approve their own undo), a prohibited one
never runs. The reversal is claimed with one conditional UPDATE
(completed → rolling_back) before any vendor is contacted, so two undo
requests elect one executor; an action that never executed or was already
rolled back is refused with the reason. The outcome is honest: only a
reversal the executor confirms moves the record torolled_back(stamping
rolled_back_at/rolled_back_byand the vendor outcome); a vendor
refusal is a failed undo that leaves the actioncompleted— in
force and retryable — never a success. Proven end to end against a mock
Splunk management API: async_detection_ruleexecuted through the real
vendor arm, then restored to its captured prior definition through the
route, with the credential-incapable legacy reversals refused up front
rather than simulated. -
The insider watchlist is a control, not a checkbox.
user_risk_profiles.is_watchlistedexisted since
migration 014 and the console wrote it — and nothing consumed it: no
elevation, no expiry, no review. Now (migration 168): a watchlist row is
never indefinite (reason + future expiry required; a sweep worker
flips expired rows); a watchlisted identity's alerts are tagged
insider-watchlistand flooredinfo/low→mediumthrough the
existing business-context path — a machine-ownedmanaged_yaml
document beside the analyst's verbatimyaml_texton the same row, same
engine, same auto-triage application point, parsed independently so a
syntax error in either document never withdraws the other's rules, and
guarded so the floor can never downgradehigh/critical; the
transition onto the list opens a departure-review case counting
exfil-shaped lake activity per event type (an unreachable lake reads
"unknown, not zero", never 0) beside the identity's recent alerts; and
the HR door — per-tenant opt-in, default off — watches
workforce_membersfor terminated/last-day members and lists them with
the HR fact as the reason and last-day-plus-grace as the expiry,
idempotently, never shortening a manual row. The two grammar
implementations (console loader, agents worker) are held together by a
golden fixture both suites parse. Proven by 21 API cases, 8 agents
cases and a live-Postgres suite (expiry exclusion is the SQL's own
WHERE; the two upserts own one column each; RLS under the NOBYPASSRLS
role; the HR door end to end). -
The M365 audit connector's
DLP.Allstream is a real per-instance
switch. The module docstring had
promised "DLP can be re-enabled per-instance later viaconnector_config"
while_DEFAULT_CONTENT_TYPESwas hard-coded and the constructor accepted
no such setting — the aspirational-comment family. The schema now declares
include_dlp(boolean, default off, rendered by the wizard and persisted
on the instance row); coercion follows the house rule that a boolean from
the wizard and a string from a hand-written row mean the same thing and an
unparseable value means off, because a collector that defaults to on
when it cannot read its own switch is a poll the tenant did not ask for.
Proven at the wire:test_m365_audit_dlp_toggle.py(15 cases) drives the
real fetch path against a mock Management API and reads the content-type
selection off the HTTP requests — default polls exactly the fourAudit.*
types, opt-in addsDLP.All. The connector docs page now states the
default honestly (it had claimed "subscribes to all five content types")
and names the stricterActivityFeed.ReadDlppermission that
sensitive-data details require. -
revoke_file_share: a leaked document's sharing grants are now a
governed action across all four file-sharing estates — Google Drive, OneDrive/SharePoint (Microsoft
Graph), Box and Dropbox, as four arms of one capability. The contract's
three properties, proven per vendor against stateful mock servers
(test_revoke_file_share_vendor_arms.py, 14 cases): prior grants are
captured before every write (none of these APIs has a permissions
recycle bin — the pre-write listing is the only record of what to
restore); the write is verified by read-back, so a vendor answering
2xx on the DELETE while still listing the grant fails the action naming
what it still sees; and rollback restores the captured grants
through each vendor's own re-grant shape (Graph invite without mail,
Box collaboration, Dropbox quiet add, Drive exact permission) —
returning False when the vendor refuses, and stating the one honest
limit instead of papering over it: Graph, Box and Dropbox mint a new
URL when a sharing link is re-created, so a link rollback restores
access shape, never the circulating URL (Drive'sanyonegrant is an
ordinary permission and restores exactly). ANALYST approval on both
governance doors;grantee/links/allscoping always spares
ownership; a dry run strips credentials so the vendor sees zero
requests; nothing-matched is a failure, not a silent success. Executor
arms 168 → 172. -
The archive tier: long-term retention in an open format (migrations 170–172). The lake's 400-day TTL is a
hard ceiling nothing exempts, so everything older exists only if it was
exported first — and now it can be, trustworthily. Archive:
closed(tenant, month)partitions export to the tenant's own
S3-compatible bucket as Parquet with a signed manifest (row count,
event-time bounds, schema + OCSF version, per-file SHA-256), written and
verified inside ClickHouse (s3()Parquet / RawBLOB) so there is no
second data path; "exported" is a claim, "verified" means the bucket was
read back and matched — a corrupted object fails by name, including the
sharp case a count check cannot see (same rows, different bytes: the
checksum leg alone catches it, proven live). Per-tenant policy, default
off; credentials vault-encrypted; WORM reported as declared by
operator, not verified. Rehydration: estimate first (bytes,
files, months from manifests; retrieval cost null unless a price is
configured), then an audited load — requester and reason required —
into an expiring scratch table the lake explorer queries under the same
tenant predicateraw_eventsgets, with foreign-tenant rows evicted
after landing because a bucket is not a tenancy boundary.
Portability: Parquet + signed manifest + schema document to
a bucket the tenant names, readable with no AiSOC code — the CI gate
opens it with DuckDB. Scoped legal holds: holds gain a time
window, and auser/host/iphold now exempts exactly its own
rows from the retention purge (Postgres via the affected-* arrays,
ClickHouse via user/hostname/IP columns, every value a bind) while the
rest of the tenant purges on schedule — superseding the recorded
whole-tenant freeze, which a tenant-wide hold still gets because that is
what it means. A per-tenant retention attestation reports each tier
from its own store, "not measured" where a store cannot answer. A new
hourly sweep worker exports, verifies and expires; 9 live cases against
real ClickHouse + MinIO + Postgres wired intointegration.yml. -
Every open case has an accountable owner and a next-action clock
(completing the resolution-not-escalation workstream). An owner is a person
(assigned_to_id) or an agent run (owner_agent_run_id, migration 167):
launching an investigation claims an unowned case for the run — and never
steals one a person already holds, pinned by a negative control that
removes the two predicates and watches the test fail.next_action_due_at
is PATCHable (null clears it), andGET /cases/attentionfeeds the
operations dashboard — and the shift handoff next — with open cases
that are unowned or overdue, each row naming itsowner_kindand carrying
overdue_secondsas null until the due time passes, because "not due
yet" and "due exactly now" are different facts and a confident zero would
blur them. -
Five investigator strategies for the reference-service surfaces:
ai-agent-misuse(the confused-deputy
chase — session timeline, the agent identity's grants and calls, egress
matched to tool calls),data-handling(business-context triage of DLP
hits: the user's own history for this data class and destination, role
and HR context, prior dispositions as precedent, "blocked means
attempted"),bec-payment-fraud(mailbox rules and delegations,
session-vs-owner, counterpart and lookalike search — BEC rarely drops a
payload, so the mailbox is the crime scene),saas-oauth-abuse(the
grant that survives the password reset: scopes, consenting accounts,
what the app actually did), andcloud-exposure(who changed it, what
reached it while open, whether it is one of a series). Each declares the
pivots the depth gate grades it on (15 strategies, every pivot resolving
to a real tool in both directions) and has its own selection row;
technique match still outranks keywords. Keywords chosen not to collide
with the existing ten (verified by the full selection matrix). -
A case reaches
resolvedonly through the tenant's resolution
contract.resolvedwas a free
transition: the PATCH gate checked only the status ladder, the war-room
chat decision and the inbound Jira/ServiceNow mirror checked nothing, and
the hourly sweep then auto-closed whatever arrived. One shared checker
(case_resolution.resolution_gaps, the waycase_statusis the one
vocabulary) now governs every writer: the PATCH gate refuses with a 422
naming each unmet requirement; the war-room resolve becomes a refusal
note without a status write; a vendor-side resolve that fails the
contract lands ascontainedwith the gaps in the system note, because
a webhook cannot be 422'd but must not be the door that skips the
contract. The contract: containment verified by a named probe/action
reference or waived with a reason; eradication and recovery recorded;
root cause determined or undetermined (a hypothesis is an unverified
lead and is refused in those words — the root-cause record's statuses
doing their job);
at least one affected entity, derived from the case's own observable
graph and its alerts' affected-* arrays, never self-attested; customer
notified with channel and time together. Off by default per tenant
(migration 166; no policy row means no enforcement), with per-requirement
toggles behindsettings:write— an analyst records facts, an admin
decides whether resolve is gated. The console pre-flights the Resolve
button throughGET /cases/{id}/resolution/gaps, the same checker the
gate runs, so the answer cannot drift from the refusal; a customer-facing
resolution summary renders from persisted rows only (a hypothesis stays
labelled, an absent fact says "not recorded") and rides the evidence
bundle as its new optionalresolutionsection (bundle schema 1.1).
Measured by 16 unit cases driving all three writers plus a live-Postgres
suite (opt-in default as the real absent-row state, unique-constraint
upserts, JSONB entity arithmetic, RLS under the NOBYPASSRLS role);
negative control forces the checker to answer no-gaps and watches two
cases fail. -
A case's root cause is an evidence-backed record, not a prose field.
The only root-cause artifact was
root_cause_hypothesis, a free string on the forensic agent's run state,
rendered as-is — a reader could not tell "we walked the chain back to the
09:02 delivery, here is the ledger entry" apart from "the model wrote a
plausible sentence". Migration 165 adds one record per case
(case_root_cause_records+case_root_cause_citations, RLS on both,
one-per-case by constraint) with a status that keeps the three answers
distinct:determinedrequires at least one cited event, every
citation names an Investigation Ledger entry by(run_id, seq)and must
resolve (a citation that resolves to nothing is decoration — refused
naming the shortfall);hypothesisis stored as the unverified lead it
is;undeterminedmust name the telemetry that was missing. New
GET/PUT /cases/{id}/root-causeroutes enforce the contract with
analyst-readable 422s, and the post-mortem gains a root-cause section
that labels a hypothesis as a hypothesis and renders an honest "no
root-cause record" absence — never a synthesis from the agent's prose.
Measured by 11 unit cases through the real handlers plus a live-Postgres
isolation suite (upsert-replaces-not-duplicates, citations against real
ledger rows, DB CHECK vocabulary, RLS under the NOBYPASSRLS runtime
role); the negative control disables the determined-requires-citation
rule and watches two cases fail. -
The bundled gateway's nine model aliases accept per-alias overrides
without editing the mounted YAML: each alias reads its own environment
variable, inherits its FAST/DEEP tier when unset or blank, and accepts a
differing model only under the same recognized provider prefix as the
effective tier — a mismatch logs the setting names (never the operator's
model string) and inherits, so a typo degrades to the tier instead of
taking the gateway down. Contributed by @knowlet.
Changed
-
Moved
web-pushto 4.0.0 inservices/realtime; v4 is ESM with named exports only, so the module import becameimport * as webpush, keeping every call site unchanged. -
Moved
fastapito>=0.117,<0.166(resolving 0.165.0) across all thirteen service pyprojects and the five CI install surfaces in one change, the only form the single-pin gate accepts; the API suite (5,623 tests), the import floor test and the generated OpenAPI spec were all verified unchanged on the new version, and the thirteen poetry locks were regenerated with CI's own Poetry so fastapi (with its coupled starlette) is the only resolution that moves. -
Folded the root-lockfile dev-tooling Dependabot wave into one change:
vite8.3.8,turbo2.11.13,@playwright/test1.65.1 and@storybook/test-runner0.26.1, regeneratingpnpm-lock.yamlonce instead of four conflicting times; beyond the four packages only vite's own transitive rolldown matrix moves. -
Internal planning labels no longer appear outside pull-request titles.
Code comments, docstrings, the published OpenAPI spec, workflow step
comments and this changelog cited workstream ids and brief-internal rule
numbers that nothing in the tree defined, so a reader of the published
spec or these notes hit an opaque label. Each citation is replaced by the
behaviour it referred to, the spec is regenerated from the corrected
docstrings, anddocs/roadmap/capability-program.mdnow indexes the
program's workstreams against their merged pull requests — the one place
such ids are defined.
Fixed
-
Source-built images now report their real version: the API and agents Dockerfiles declare an
AISOC_VERSIONbuild argument that the release workflow fills, but compose'sbuild:blocks never passed it, somake up UP_FLAGS=--buildproduced a/health, OpenAPIinfo.versionand startup log that all saidunknown. The two build blocks now passAISOC_BUILD_VERSION, whichmake upfills from theVERSIONfile — verified live: a rebuilt stack reports 23.6.1 on/healthand in the console footer. -
The post-merge sweep removed a duplicated phishing test module that ran its 223 lines twice, and scrubbed the workstream labels that rode the program's earlier merges into code comments, docstrings, migration COMMENTs, test names and the generated OpenAPI spec — labels stay in PR titles and the neutral capability index only.
-
make upgradenow compares the checkout's SQL migration filenames and
SHA-256 hashes with the API image before invoking the runner in that same
container, then requires every expected migration to be recorded before
starting services. A stalelatestimage can no longer report a successful
upgrade merely because its older migration set has no pending files. -
Investigation reports now render linked alert timestamps from their source records instead of asking the model to construct a timeline from the number of forensic entries. The forensic prompt also carries a bounded selection of linked alert metadata.
-
Every actionable destination the marketing site shipped now exists
(2026-11-22 QA pass). Fetching every link the web app publishes found
four classes of dead destination, each verified against the authority
that owns it: the footer's Discord invite answered "Unknown Invite" from
Discord's own API (the invite page serves HTTP 200, which is why a
status-code check never caught it); the footer's X link named an account
x.com answers 404 for; seventeenmailto:links across ten marketing
pages (hello@, press@, privacy@, security@, legal@) lived at a domain
that publishes no MX record, so every enquiry — including the privacy
page's deletion-request route and a "security disclosures" contact that
contradicted SECURITY.md's actual private-reporting flow — bounced; and
the hero's and why-open-source page's "Open the demo" buttons deep-linked
a hosted case at a host that now redirects every path to the repository
front page. Each surface now points at a venue verified live: GitHub
Discussions (the channel SUPPORT.md names), the published quickstart for
the seeded demo, and SECURITY.md's private vulnerability reporting. The
mesh page also stops defaulting its hub to a host that is NXDOMAIN (no
MESH_HUB_URLnow means no doomed fetch, same honest placeholders), and
the mesh doc and service docstring stop claiming a community hub "runs
at" that host.tests/test_dead_destination_links.pypins the dead
destinations out of the shipped sources, and the hosted-hostname gate's
allow-list was ratcheted down to match (15 entries dropped, 4 lowered) so
a re-add is a deliberate decision against the recorded evidence. -
A threat-intel sink that refuses documents no longer has them marked as
stored (found on a live stack whose OpenSearch sat behind a disk
flood-stage block).bulk_index_iocsusedasync_bulk(raise_on_error=False),
which reports per-item rejections by returning them — so a cluster-block
429 came back through the no-exception path, the pipeline recorded its
per-sink dedup keys for documents the sink had refused, and every later
poll read them as duplicates: the KEV corpus lived in Qdrant and Neo4j
whilethreatintel-iocsheld zero documents, permanently — the index
match_ioc_values(actor attribution) reads. The writer now returns the
rejected document ids and the vendor's reasons (the warning log used to
say only "4 bulk errors", hiding the one string an operator needed), and
the pipeline withholds exactly the refused documents from its dedup record
so they are re-offered on the next poll once the sink recovers — writes
are idempotent upserts, so the backfill costs re-requests, never
duplicates. -
The Zscaler connector reads a feed ZIA actually serves. It POSTed
startTime/endTime/pageSizeto/api/v1/webApplicationRules— in
Zscaler's published API that path is Cloud App Control policy CRUD
(the only POST creates a rule), so the request matched no route and the
stream had never returned an event on any deployment; independently, its
key obfuscation skipped half of Zscaler's published algorithm, so even
authentication could never have succeeded. ZIA publishes no pull API for
web transaction logs (NSS push only); the one documented pull feed is the
admin audit log report, and the connector now drives it end to end —
create the report for the window, pollstatusIdtoCOMPLETE, download
and parse the CSV (preamble rows, admin-timezone timestamps, id-less rows
given a stable digest id) — with an event-time cursor plus one-interval
overlap (#1970/#1971), continuation across the vendor's 1,000-record
report cap with the cap announced when the page bound binds, and no
invented severity (audit entries publish none). The connector-paging debt
ceiling falls 48 → 47. -
A crashed realtime Kafka consumer is disconnected before it is
replaced. The supervisor reattached correctly (16/16 over a four-day
soak) but never tore the crashed instance down, so each kafkajs crash
(offset-managerTypeError, fetch timeouts) leaked a consumer's sockets
and timers into the process for its lifetime. -
sync_detection_rulereaches the vendor it names, verifies by
read-back, and rolls back for real.
The Splunk adapter described creating a Splunk saved search while
delegating to an executor that only ever built an Elastic client — with
Splunk credentials the call could only simulate, and
SplunkClient.create_or_update_correlation_searchhad no caller. The
rollback logged "would disable rule" and returned True without acting,
and the contract declared no verification probe because no client could
read a stored definition back. Each vendor now has its own arm; both
clients gained the read half (get_saved_search,
get_detection_rule) plus deletes; the prior definition (or its
absence) is captured before every write; the write is verified by
comparing the stored definition with the normalized intended content —
a vendor that stored different content fails the action naming the
fields, because existence is the wrong check for this verb; rollback
restores the captured prior version, deletes a rule the action created,
and answers False on a vendor refusal; and the contract declares the
probe, now registered in the post-action verifier as an independent
read-back. Measured through the real builtins against mock vendor
servers (11 cases); the negative control reverts the Splunk arm and the
reach test fails with zero Splunk requests.