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.

Format the one file that landed between the ruff migration and its merge (#868)

Beenu Arora8a8f683484eb
diff --git a/scripts/check_comment_paths.py b/scripts/check_comment_paths.py
index a6e5f00d8..9f442eb5f 100644
--- a/scripts/check_comment_paths.py
+++ b/scripts/check_comment_paths.py
@@ -184,26 +184,21 @@ ACCEPTED: dict[tuple[str, str], str] = {
"path that exists would lose the only record of the migration."
),
("infra/fly/managed/provision.sh", "infra/fly/managed/tenants/acme.yaml"): (
- "A placeholder tenant file in the usage line. Real tenant descriptors are supplied by the "
- "operator and are not committed."
- ),
- ("infra/fly/managed/render.sh", "infra/fly/managed/tenants/acme.yaml"): (
- "Same usage line in the sibling script, same placeholder."
+ "A placeholder tenant file in the usage line. Real tenant descriptors are supplied by the operator and are not committed."
),
+ ("infra/fly/managed/render.sh", "infra/fly/managed/tenants/acme.yaml"): ("Same usage line in the sibling script, same placeholder."),
("scripts/audit_runbook_links.py", "docs/runbooks/foo.md"): (
"An illustrative path in a docstring explaining which link shapes the gate accepts."
),
("scripts/check_competitor_names.py", "docs/connectors/x.md"): (
- "An illustrative path in a docstring explaining glob semantics: 'docs/connectors/** matches "
- "docs/connectors/x.md'."
+ "An illustrative path in a docstring explaining glob semantics: 'docs/connectors/** matches docs/connectors/x.md'."
),
("scripts/check_gate_contract.py", "scripts/foo.py"): (
"An illustrative path in a docstring showing what shlex returns for a quoted path inside an "
"echo. Naming a real script would make the example read as a claim about that script."
),
("scripts/check_repo_self_links.py", "services/api/app/api/deps.py"): (
- "Prose recording the dead link that motivated that gate — the path moved under v1/, and the "
- "sentence is about it having moved."
+ "Prose recording the dead link that motivated that gate — the path moved under v1/, and the sentence is about it having moved."
),
("tools/detection_import/splunk_importer.py", "detections/cloud/foo.yml"): (
"An illustrative path in a docstring showing how a category is derived from a rule path."