Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

test(api): MSSP isolation fixtures seed the live case table

Alexandru Mateescu021cb1e107d9
diff --git a/services/api/tests/test_mssp_portfolio_isolation.py b/services/api/tests/test_mssp_portfolio_isolation.py
index 55d7156e9..b3a811516 100644
--- a/services/api/tests/test_mssp_portfolio_isolation.py
+++ b/services/api/tests/test_mssp_portfolio_isolation.py
@@ -408,7 +408,7 @@ async def test_mttr_is_null_rather_than_zero_when_nothing_closed(db) -> None:
"INSERT INTO aisoc_cases (tenant_id, case_number, title, status, created_at, closed_at) "
"VALUES (:a, :num, 'closed case', 'closed', now() - interval '30 minutes', now())"
),
- {"a": str(TENANT_A), "num": f"ISO-{uuid.uuid4().hex[:8]}"},
+ {"a": TENANT_A, "num": f"ISO-{uuid.uuid4().hex[:8]}"},
)
await db.commit()