Khavion Architecture Review
v0.1.1Cited cloud best practices and a rules-based review of Terraform, CloudFormation, and Kubernetes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lookup_citation Look up a cited best practice
Find the cloud provider's own documentation for a service. Returns up to 5 rules for the service, each with a verbatim quote from the provider's docs and the page link. Free, offline, and complete. Use it to ground a recommendation in a primary source before you state it.
| Parameter | Type | Description |
|---|---|---|
service * | string | The service, by name or id. Examples: S3, Amazon RDS, Lambda, Key Vault, Cloud Run. |
pillar | string | Limit results to one Well-Architected pillar. Omit to search all pillars. |
question | string | What you want to know, in a sentence. Used only to rank the matches by shared keywords. |
review_iac Review infrastructure as code
Review Terraform, CloudFormation, or Kubernetes files against cited cloud best practices. Pass the file contents. Without an API key it returns the top 3 findings by severity plus counts for the rest. With KHAVION_API_KEY set in the server's environment and valid, it returns every finding, the quote total, the recommended next step, and a report link. File contents stay on this machine; only the key, rule ids, and a count of services are sent to Khavion.
| Parameter | Type | Description |
|---|---|---|
files * | array | The infrastructure files to review. |
review_stack Review a list of services
Review a stack described as a list of services, such as s3, rds, lambda. Optionally add a sentence about the workload. Same output rules as review_iac: the top 3 findings without a valid API key, everything with one. Nothing but the key, rule ids, and a count of services leaves this machine.
| Parameter | Type | Description |
|---|---|---|
tokens * | array | Service ids or names. Examples: s3, rds, Amazon EC2, Key Vault. |
intent | string | One or two sentences about the workload, for example whether it is public-facing. |
explain_finding Explain a finding
Explain one finding by rule id (for example aws-sec-encryption-at-rest) or by the 8-character id used in report links. Returns why it matters, the fix, and the verbatim citation with its link. Free and offline.
| Parameter | Type | Description |
|---|---|---|
id * | string | A rule id, or an 8-character hexadecimal report id. |