{
  "repo": "tidbcloud/dbaas",
  "scan_version": "4.4",
  "scan_status": "completed",
  "scan_at": "2026-03-25T05:20:11.897298",
  "file_count": 1084,
  "language": "Go",
  "repo_kind": "multi_service",
  "type": "multi_service",
  "binaries": [
    {
      "name": "push_pipeline",
      "path": "metrics/cmd/push_pipeline/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "cobra"
        },
        "http_api": {
          "source": "otel_collector_runtime"
        }
      },
      "role": "worker"
    },
    {
      "name": "scrape_gateway",
      "path": "metrics/cmd/scrape_gateway/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "http_api": {
          "source": "cmd",
          "health": true
        }
      },
      "role": "primary_service"
    },
    {
      "name": "core-server",
      "path": "core/cmd/server/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "grpc": {
          "source": "cmd",
          "mode": "server",
          "services": "CoreService"
        }
      },
      "role": "primary_service"
    },
    {
      "name": "client",
      "path": "core/cmd/client/main.go",
      "language": "Go",
      "interfaces": {},
      "role": "unknown"
    },
    {
      "name": "billing2-server",
      "path": "billing2/cmd/server/main.go",
      "language": "Go",
      "interfaces": {
        "http_api": {
          "source": "cmd"
        }
      },
      "role": "primary_service"
    },
    {
      "name": "billing2-worker",
      "path": "billing2/cmd/worker/main.go",
      "language": "Go",
      "interfaces": {
        "http_api": {
          "source": "cmd"
        }
      },
      "role": "worker"
    },
    {
      "name": "admin-server",
      "path": "admin/cmd/server/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "http_api": {
          "source": "gin"
        }
      },
      "role": "primary_service"
    },
    {
      "name": "internalportal-server",
      "path": "internalportal/cmd/server/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "http_api": {
          "source": "gin"
        }
      },
      "role": "primary_service"
    },
    {
      "name": "central-server",
      "path": "central/cmd/server/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "http_api": {
          "source": "grpc_gateway",
          "metrics": true
        },
        "grpc": {
          "source": "cmd",
          "mode": "server"
        }
      },
      "role": "primary_service"
    }
  ],
  "summary": {
    "total_binaries": 9,
    "has_cli": true,
    "has_http": true,
    "has_grpc": true,
    "binary_names": [
      "push_pipeline",
      "scrape_gateway",
      "core-server",
      "client",
      "billing2-server",
      "billing2-worker",
      "admin-server",
      "internalportal-server",
      "central-server"
    ],
    "interfaces": [
      "cli",
      "grpc",
      "http_api"
    ],
    "build_manifests": [
      "dockerfile",
      "makefile"
    ]
  }
}
