Skip to content

Commit 3878d6a

Browse files
committed
Update Shortest Paths from Owned Azure Users to Azure VMs.yml
1 parent 32afdd7 commit 3878d6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

queries/Shortest Paths from Owned Azure Users to Azure VMs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ category: Shortest Paths
77
description: Return shortest paths from Owned Azure Users to Azure VMs to check for attack vectors.
88
query: |-
99
MATCH p = shortestPath((m:AZUser)-[:AZ_ATTACK_PATHS*..]->(n:AZVM))
10-
WHERE ((m:Tag_Owned) OR COALESCE(n.system_tags, '') CONTAINS 'owned')
10+
WHERE ((m:Tag_Owned) OR COALESCE(m.system_tags, '') CONTAINS 'owned')
1111
RETURN p
1212
revision: 2
1313
resources:

0 commit comments

Comments
 (0)