Skip to main content
Glama

get_relationships

Retrieve connections between AWS security assets to analyze attack paths and identify vulnerabilities using graph theory.

Instructions

    Get relationships between assets with optional filtering.

    Args:
        relationship_type: Filter by type (e.g., "CAN_ASSUME", "CAN_REACH", "MAY_ACCESS")
        source_name: Filter by source asset name
        target_name: Filter by target asset name
        max_relationships: Maximum number to return (default: 50)
        snapshot_id: Optional snapshot ID (default: latest)

    Returns:
        List of relationships with source, target, and type.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
relationship_typeNo
source_nameNo
target_nameNo
max_relationshipsNo
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