parent
e13896ef41
commit
3d876da2dc
|
@ -133,8 +133,8 @@ export default class GraphContainer extends Component {
|
|||
this.initializeSigma();
|
||||
|
||||
this.doQueryNative({
|
||||
//statement:'MATCH (n:Group) WHERE n.objectsid =~ "(?i)S-1-5.*-512" WITH n MATCH (n)<-[r:MemberOf*1..]-(m) RETURN n,r,m',
|
||||
statement: 'MATCH (n)-[r:AdminTo]->(m) RETURN n,r,m LIMIT 5',
|
||||
statement:'MATCH (n:Group) WHERE n.objectsid =~ "(?i)S-1-5.*-512" WITH n MATCH (n)<-[r:MemberOf*1..]-(m) RETURN n,r,m',
|
||||
//statement: 'MATCH (n)-[r:AdminTo]->(m) RETURN n,r,m LIMIT 5',
|
||||
//statement: 'MATCH p=(n:Domain)-[r]-(m:Domain) RETURN p',
|
||||
allowCollapse: false,
|
||||
props: {}
|
||||
|
|
|
@ -191,10 +191,15 @@
|
|||
{
|
||||
"name": "Shortest Paths to High Value Targets",
|
||||
"queryList": [
|
||||
{
|
||||
"final": false,
|
||||
"title": "Select a Domain",
|
||||
"query": "MATCH (n:Domain) RETURN n.name ORDER BY n.name DESC"
|
||||
},
|
||||
{
|
||||
"final": true,
|
||||
"query":
|
||||
"MATCH (n),(m),p=shortestPath((n)-[r:{}*1..]->(m)) WHERE m.highvalue=true AND NOT m = n RETURN p",
|
||||
"MATCH (n),(m),p=shortestPath((n)-[r:{}*1..]->(m)) WHERE m.domain={result} AND m.highvalue=true AND NOT m = n RETURN p",
|
||||
"allowCollapse": true,
|
||||
"endNode": "{}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue