Skip to main content
Glama

get_terraform_snippet

Generate Terraform HCL code snippets to remediate security vulnerabilities by fixing relationships between AWS assets, using graph-based attack path analysis.

Instructions

Get Terraform code snippet for a specific remediation. Args: source_name: Name of the source asset target_name: Name of the target asset relationship_type: Type of relationship (e.g., "CAN_ASSUME", "ALLOWS_TRAFFIC_TO") snapshot_id: Optional snapshot ID (default: latest) Returns: Terraform HCL code snippet for the remediation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_nameYes
target_nameYes
relationship_typeYes
snapshot_idNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tsyrulb/cyntrisec'

If you have feedback or need assistance with the MCP directory API, please join our Discord server