Add CP1 Discovery agents in both patterns
All checks were successful
check agents / check (push) Successful in 10s
All checks were successful
check agents / check (push) Successful in 10s
ALZ-F01 Discovery as a sub-agent orchestrator (sub-agents/) and as eight individual declarative agents (individual-agents/), with their KAB workflow exports. Shared check, render and import scripts, the alz-discovery-sample MCP server, the crucible-kab-dev deploy profile, deployment docs, platform issue reports and the source material. Agent steps time out at 20 minutes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,589 @@
|
||||
{
|
||||
"type": "object",
|
||||
"title": "CP1 - Discovery Critic Agent input",
|
||||
"properties": {
|
||||
"engagement_id": {
|
||||
"type": "string",
|
||||
"description": "The engagement being discovered, e.g. ENG-MERIDIAN-001."
|
||||
},
|
||||
"run_id": {
|
||||
"type": "string",
|
||||
"description": "The discovery run; the same id across the workflow's steps."
|
||||
},
|
||||
"coverage_gaps": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scope_entry_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"reason_code": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"no_connector",
|
||||
"no_read_only_credential",
|
||||
"unsupported_asset_class",
|
||||
"out_of_region",
|
||||
"insufficient_metadata",
|
||||
"no_mcp_source"
|
||||
]
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"scope_entry_id",
|
||||
"reason_code",
|
||||
"reason"
|
||||
]
|
||||
}
|
||||
},
|
||||
"findings": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scope_entry_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"hostname": {
|
||||
"type": "string"
|
||||
},
|
||||
"os": {
|
||||
"type": "string"
|
||||
},
|
||||
"services": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"migration_risks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"prompt_injection_detected": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"injection_note": {
|
||||
"type": "string"
|
||||
},
|
||||
"evidence_ref": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"scope_entry_id",
|
||||
"hostname",
|
||||
"os",
|
||||
"services",
|
||||
"dependencies",
|
||||
"migration_risks",
|
||||
"prompt_injection_detected",
|
||||
"injection_note"
|
||||
]
|
||||
}
|
||||
},
|
||||
"records": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"canonical_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"scope_entry_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"hostname": {
|
||||
"type": "string"
|
||||
},
|
||||
"fqdn": {
|
||||
"type": "string"
|
||||
},
|
||||
"asset_class": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"server",
|
||||
"network_device",
|
||||
"storage_array",
|
||||
"hypervisor",
|
||||
"crypto_appliance",
|
||||
"database",
|
||||
"cloud_resource"
|
||||
]
|
||||
},
|
||||
"environment": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"production",
|
||||
"non_production",
|
||||
"dr",
|
||||
"unknown"
|
||||
]
|
||||
},
|
||||
"os": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"family": {
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"family",
|
||||
"version"
|
||||
]
|
||||
},
|
||||
"services": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"facts": {
|
||||
"type": "object"
|
||||
},
|
||||
"fact_source": {
|
||||
"type": "string"
|
||||
},
|
||||
"sources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"source_type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"scan",
|
||||
"cmdb",
|
||||
"itsm",
|
||||
"provider_api",
|
||||
"file"
|
||||
]
|
||||
},
|
||||
"source_ref": {
|
||||
"type": "string"
|
||||
},
|
||||
"evidence_ref": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source_type",
|
||||
"source_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
"match_basis": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"serial",
|
||||
"cloud_resource_id",
|
||||
"fqdn",
|
||||
"hostname",
|
||||
"ip"
|
||||
]
|
||||
}
|
||||
},
|
||||
"conflicts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"field": {
|
||||
"type": "string"
|
||||
},
|
||||
"values": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_ref": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"value",
|
||||
"source_ref"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"field",
|
||||
"values"
|
||||
]
|
||||
}
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"canonical_id",
|
||||
"hostname",
|
||||
"asset_class",
|
||||
"environment",
|
||||
"os",
|
||||
"facts",
|
||||
"fact_source",
|
||||
"sources",
|
||||
"match_basis",
|
||||
"conflicts",
|
||||
"confidence"
|
||||
]
|
||||
}
|
||||
},
|
||||
"drift_items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"drift_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"orphan",
|
||||
"ghost",
|
||||
"stale_attribute"
|
||||
]
|
||||
},
|
||||
"canonical_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"ci_ref": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"field": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"discovered_value": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"cmdb_value": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"evidence_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"suggested_action": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"add_ci",
|
||||
"retire_ci",
|
||||
"update_attribute",
|
||||
"investigate"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"drift_id",
|
||||
"type",
|
||||
"evidence_refs",
|
||||
"suggested_action"
|
||||
]
|
||||
}
|
||||
},
|
||||
"stores": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"canonical_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"store_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"highest_class": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"PCI",
|
||||
"PHI",
|
||||
"PII",
|
||||
"none"
|
||||
]
|
||||
},
|
||||
"class_counts": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"PII": {
|
||||
"type": "integer"
|
||||
},
|
||||
"PCI": {
|
||||
"type": "integer"
|
||||
},
|
||||
"PHI": {
|
||||
"type": "integer"
|
||||
},
|
||||
"review_required": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"PII",
|
||||
"PCI",
|
||||
"PHI",
|
||||
"review_required"
|
||||
]
|
||||
},
|
||||
"requires_disposition_controls": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
},
|
||||
"column_tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"table": {
|
||||
"type": "string"
|
||||
},
|
||||
"column": {
|
||||
"type": "string"
|
||||
},
|
||||
"class": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"PII",
|
||||
"PCI",
|
||||
"PHI",
|
||||
"none",
|
||||
"review_required"
|
||||
]
|
||||
},
|
||||
"basis": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"column_name",
|
||||
"data_type",
|
||||
"column_comment",
|
||||
"record_note",
|
||||
"compliance_scope"
|
||||
]
|
||||
}
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"table",
|
||||
"column",
|
||||
"class",
|
||||
"basis",
|
||||
"confidence"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"canonical_id",
|
||||
"store_name",
|
||||
"highest_class",
|
||||
"class_counts",
|
||||
"requires_disposition_controls",
|
||||
"reason",
|
||||
"column_tags"
|
||||
]
|
||||
}
|
||||
},
|
||||
"edges": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"edge_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
"type": "string"
|
||||
},
|
||||
"target": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"hosted_on",
|
||||
"app_to_db",
|
||||
"app_to_app",
|
||||
"app_to_shared_service",
|
||||
"middleware"
|
||||
]
|
||||
},
|
||||
"protocol_port": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"evidence": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"cmdb_relationship",
|
||||
"declared",
|
||||
"config",
|
||||
"flow",
|
||||
"trace"
|
||||
]
|
||||
},
|
||||
"ref": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"validation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"auto_approved",
|
||||
"sme_review_recommended",
|
||||
"sme_validation_required"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"edge_id",
|
||||
"source",
|
||||
"target",
|
||||
"type",
|
||||
"protocol_port",
|
||||
"evidence",
|
||||
"confidence",
|
||||
"validation"
|
||||
]
|
||||
}
|
||||
},
|
||||
"network_findings": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"finding_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"bottleneck",
|
||||
"single_point_of_failure",
|
||||
"unsupported_device",
|
||||
"legacy_protocol",
|
||||
"address_overlap",
|
||||
"unowned_rule"
|
||||
]
|
||||
},
|
||||
"subject": {
|
||||
"type": "string"
|
||||
},
|
||||
"measurement": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"window": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"evidence_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"severity": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"high",
|
||||
"medium",
|
||||
"low"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"finding_id",
|
||||
"type",
|
||||
"subject",
|
||||
"measurement",
|
||||
"window",
|
||||
"evidence_refs",
|
||||
"severity"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"engagement_id",
|
||||
"findings"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"coverage_complete": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"coverage_gaps": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"declared_gaps": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"injections_found": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"obeyed_injection": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"scope_entry_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"where": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"scope_entry_id",
|
||||
"where"
|
||||
]
|
||||
}
|
||||
},
|
||||
"unsupported_claims": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ref": {
|
||||
"type": "string"
|
||||
},
|
||||
"claim": {
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"ref",
|
||||
"claim",
|
||||
"reason"
|
||||
]
|
||||
}
|
||||
},
|
||||
"consistency_issues": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"parse_failures": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"tool_call_issues": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agent_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"call_ref": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"issue": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"no_matching_call",
|
||||
"refused_call",
|
||||
"off_allowlist",
|
||||
"out_of_scope_argument"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"agent_id",
|
||||
"call_ref",
|
||||
"issue"
|
||||
]
|
||||
}
|
||||
},
|
||||
"verdict": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"pass",
|
||||
"fail"
|
||||
]
|
||||
},
|
||||
"note": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"coverage_complete",
|
||||
"coverage_gaps",
|
||||
"declared_gaps",
|
||||
"injections_found",
|
||||
"obeyed_injection",
|
||||
"unsupported_claims",
|
||||
"consistency_issues",
|
||||
"parse_failures",
|
||||
"tool_call_issues",
|
||||
"verdict",
|
||||
"note"
|
||||
],
|
||||
"title": "Discovery verdict"
|
||||
}
|
||||
Reference in New Issue
Block a user