curl --request GET \
--url https://bloodhound.specterops.io/openapi.json/api/v2/graphs/shortest-path \
--header 'Authorization: Bearer <token>'{
"data": {
"nodes": {},
"edges": [
{
"source": "<string>",
"target": "<string>",
"label": "<string>",
"kind": "<string>",
"lastSeen": "2023-11-07T05:31:56Z",
"properties": {}
}
]
}
}A graph of the shortest path from start_node to end_node.
curl --request GET \
--url https://bloodhound.specterops.io/openapi.json/api/v2/graphs/shortest-path \
--header 'Authorization: Bearer <token>'{
"data": {
"nodes": {},
"edges": [
{
"source": "<string>",
"target": "<string>",
"label": "<string>",
"kind": "<string>",
"lastSeen": "2023-11-07T05:31:56Z",
"properties": {}
}
]
}
}Authorization: Bearer $JWT_TOKEN
Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.
The start node objectId
The end node objectId
The contains predicate checks a property against the values in a given comma separated list.
in checks if the property matches an element in the given comma separated list.
in:Contains,GetChangesAll,MemberOfnin checks if the property does not match an element in the given comma separated list.
nin:LocalToComputer,MemberOfLocalGroupA graph of the shortest path from start_node to end_node.
Show child attributes