routes_to_target
Enumerate the k best distinct routes to a sensitive asset. Reveals whether entry paths share a choke point, showing which single hop removal cuts all access.
Instructions
Enumerate the k best distinct routes that reach a named sensitive asset. Answers 'how many ways in are there, and do they share a choke point' - which single-path views hide. Cutting a hop that every route traverses removes them all; cutting one that appears in a single route removes one. Each route comes with its hops, ready to hand to simulate_fix. It returns the best k and has no further page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | How many distinct routes to return, best first. Fewer routes come back when fewer exist. | |
| from | No | Optional entry point to start from, by name or node id. Omit to consider every internet-exposed entry point. | |
| target | Yes | The sensitive asset to reach, by name or node id: a `name` under get_posture's crownJewels (e.g. 'account-admin (effective)'), or an `id` from search_assets. A target nothing reaches returns an empty list, not an error. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kShortestPaths | No | The distinct routes to the target, most likely first. Empty when nothing reaches it. |