Platform scripts, MCP servers, deployment and docs for the KAB runs
- Scripts to run workflows from a YAML context or run inputs (kab_run_workflow.py, with --input name=@file), store per-project discovery connections, bootstrap agent MCP keys, refresh the KAB token, publish reports and build estate snapshots. - Hyperscaler discovery servers extended in place; cloud-knowledge folded into them. - deploy/crucible-kab-dev.yaml: the Discovery package agent and the Assessment agents. - Platform issue write-ups and current-wiring notes under docs/platform-issues/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,12 +5,13 @@ server_id: gcp-discovery
|
||||
name: Google Cloud Discovery
|
||||
description: Read-only discovery of a customer's Google Cloud estate - servers, workloads, Kubernetes clusters,
|
||||
networks, data stores, policies and Recommender findings - through Cloud Asset Inventory.
|
||||
version: 0.1.1
|
||||
version: 0.1.4
|
||||
port: 8113
|
||||
verify_tool: gcp_check_connection
|
||||
shared_code:
|
||||
- _common/tool_support.py
|
||||
- _common/gcp_support.py
|
||||
- _common/knowledge_support.py
|
||||
extra_requirements:
|
||||
- google-auth==2.62.0
|
||||
- requests==2.32.5
|
||||
@@ -20,10 +21,20 @@ connection_fields:
|
||||
description: 'What may be read: organizations/<id>, folders/<id> or projects/<id>.'
|
||||
required: true
|
||||
secret: false
|
||||
- name: quota_project
|
||||
title: Quota project
|
||||
description: Optional. The project Google bills Recommender and guidance calls to, for a user token; defaults to a projects/<id> scope root. The caller needs serviceusage.services.use on it.
|
||||
required: false
|
||||
secret: false
|
||||
- name: service_account_json
|
||||
title: Service account key
|
||||
description: The read-only service account's JSON key.
|
||||
required: true
|
||||
required: false
|
||||
secret: true
|
||||
- name: access_token
|
||||
title: Access token
|
||||
description: For a short trial only, instead of the key. A token from gcloud auth print-access-token. It expires within about an hour and carries that person's rights.
|
||||
required: false
|
||||
secret: true
|
||||
tools:
|
||||
- name: gcp_check_connection
|
||||
@@ -253,3 +264,19 @@ tools:
|
||||
return _refuse("outside_scope", "project_id isn't under this connection's scope")
|
||||
url = f"{GCP_RECOMMENDER_API}/projects/{project_id}/locations/{location}/recommenders/{recommender}/recommendations"
|
||||
return await _gcp_page("gcp_list_recommendations", arguments, url, {}, "recommendations", _gcp_recommendation)
|
||||
- name: gcp_search_well_architected
|
||||
display_name: Search Well-Architected guidance
|
||||
description: Search the Google Cloud Well-Architected Framework's guidance by pillar and topic. Both come from fixed lists, so no customer detail
|
||||
leaves the platform. Uses this connection's own credential.
|
||||
parameters:
|
||||
- name: pillar
|
||||
type: string
|
||||
description: reliability, security, cost, operations, performance or sustainability.
|
||||
required: true
|
||||
- name: topic
|
||||
type: string
|
||||
description: One of the fixed topics; an invalid value lists them.
|
||||
required: true
|
||||
ai_implementation: |
|
||||
async def gcp_search_well_architected(arguments: Dict[str, Any]) -> Dict[str, Any]:
|
||||
return await _knowledge_tool("gcp", "gcp_search_well_architected", arguments, get_connection(), await _gcp_auth(True))
|
||||
|
||||
Reference in New Issue
Block a user