-
Notifications
You must be signed in to change notification settings - Fork 54
/
customqueries.json
49 lines (49 loc) · 1.31 KB
/
customqueries.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"queries": [
{
"name": "Find all users who have the Global Administrator role",
"queryList": [
{
"final": true,
"query": "MATCH p =(n)-[r:AZGlobalAdmin*1..]->(m) RETURN p"
}
]
},
{
"name": "Find all paths to an Azure VM",
"queryList": [
{
"final": true,
"query": "MATCH p = (n)-[r]->(g: AZVM) RETURN p"
}
]
},
{
"name": "Find all paths to an Azure KeyVault",
"queryList": [
{
"final": true,
"query": "MATCH p = (n)-[r]->(g:AZKeyVault) RETURN p"
}
]
},
{
"name": "Find all paths to an Azure Resource Group",
"queryList": [
{
"final": true,
"query": "MATCH p = (n)-[r]->(g:AZResourceGroup) RETURN p"
}
]
},
{
"name": "Find Owners of Azure Groups",
"queryList": [
{
"final": true,
"query": "MATCH p = (n)-[r:AZOwns]->(g:AZGroup) RETURN p"
}
]
},
]
}