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.

style(threatintel): ruff-format the opencti scheduler registration

beenuar2c56634a6699
diff --git a/services/threatintel/app/main.py b/services/threatintel/app/main.py
index f09719244..88a4c66d5 100644
--- a/services/threatintel/app/main.py
+++ b/services/threatintel/app/main.py
@@ -263,9 +263,7 @@ async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
if opencti_client and _airgap_check_feed_url("opencti", settings.OPENCTI_URL):
scheduler.register(
feed_name="opencti",
- handler=partial(
- handle_opencti_feed, client=opencti_client, pipeline=pipeline
- ),
+ handler=partial(handle_opencti_feed, client=opencti_client, pipeline=pipeline),
interval_seconds=settings.OPENCTI_POLL_INTERVAL,
)