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
| Name | Required | Description | Default |
|---|---|---|---|
| relationship_type | No | ||
| source_name | No | ||
| target_name | No | ||
| max_relationships | No | ||
| snapshot_id | No |