{
  "repo": "tidbcloud/infra-api",
  "scan_version": "4.4",
  "scan_status": "completed",
  "scan_at": "2026-03-25T05:20:18.434452",
  "file_count": 556,
  "language": "Go",
  "repo_kind": "multi_service",
  "type": "multi_service",
  "binaries": [
    {
      "name": "patch-snippets",
      "path": "cmd/patch-snippets/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        }
      },
      "role": "admin_cli"
    },
    {
      "name": "config-manager",
      "path": "cmd/config-manager/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "http_api": {
          "source": "cmd",
          "health": true
        },
        "webhook": {
          "source": "controller-runtime",
          "admission": true
        }
      },
      "role": "primary_service"
    },
    {
      "name": "audit",
      "path": "cmd/audit/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "cobra"
        },
        "http_api": {
          "source": "subcommand server",
          "metrics": true
        }
      },
      "role": "worker"
    },
    {
      "name": "infra-provider",
      "path": "cmd/infra-provider/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "http_api": {
          "source": "cmd",
          "metrics": true,
          "health": true
        }
      },
      "role": "primary_service"
    },
    {
      "name": "debug",
      "path": "cmd/debug/main.go",
      "language": "Go",
      "interfaces": {
        "cli": {
          "framework": "stdlib"
        },
        "http_api": {
          "source": "cmd"
        }
      },
      "role": "primary_service"
    }
  ],
  "summary": {
    "total_binaries": 5,
    "has_cli": true,
    "has_http": true,
    "has_grpc": false,
    "binary_names": [
      "patch-snippets",
      "config-manager",
      "audit",
      "infra-provider",
      "debug"
    ],
    "interfaces": [
      "cli",
      "http_api"
    ],
    "build_manifests": [
      "makefile"
    ]
  }
}
