get_relationships
Retrieve relationships between assets with optional filters for type, source, and target. Use to analyze attack paths and asset connections in security audits.
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
| Name | Required | Description | Default |
|---|---|---|---|
| relationship_type | No | ||
| source_name | No | ||
| target_name | No | ||
| max_relationships | No | ||
| snapshot_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||