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.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
fix(ci): set deploy-api build context to services/api (#165)
Beenu Arora044ea568a814
diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.ymlindex ef71dfb44..c4abad91b 100644--- a/.github/workflows/deploy-api.yml+++ b/.github/workflows/deploy-api.yml@@ -6,6 +6,10 @@ on:paths:- "services/api/**"- "packages/types/**"+ - "marketplace/**"+ - "plugins/**"+ - "scripts/build_marketplace.py"+ - "infra/fly/api/**"- ".github/workflows/deploy-api.yml"workflow_dispatch:@@ -30,10 +34,32 @@ jobs:- name: Install flyctluses: superfly/flyctl-actions/setup-flyctl@master- - name: Deploy to Fly+ - name: Set up Python+ uses: actions/setup-python@v5+ with:+ python-version: "3.11"++ # Mirror infra/fly/fly-demo-deploy.sh::stage_marketplace_index. The api+ # Dockerfile does `COPY . .` against services/api/, so anything outside+ # that dir is invisible to the image. /api/v1/marketplace returns 503+ # without index.json present at /app/marketplace/index.json in the image.+ - name: Stage marketplace/index.json into services/api+ run: |+ python3 -m pip install --quiet pyyaml+ python3 scripts/build_marketplace.py+ mkdir -p services/api/marketplace+ cp marketplace/index.json services/api/marketplace/index.json+ ls -la services/api/marketplace/++ # The api Dockerfile was written assuming build context = services/api/+ # (it does `COPY pyproject.toml ./` and `COPY . .`). flyctl deploy uses+ # its cwd as the build context, so we cd into services/api/ and pass an+ # absolute path to the fly.toml so flyctl still finds it. This mirrors+ # the deploy_app() helper in infra/fly/fly-demo-deploy.sh.+ - name: Deploy to Fly (context=services/api)+ working-directory: services/apirun: |flyctl deploy \--remote-only \- --dockerfile services/api/Dockerfile \- --config infra/fly/api/fly.toml \- .+ --config "${GITHUB_WORKSPACE}/infra/fly/api/fly.toml" \+ --app aisoc-demo-api