Skip to content

Commit

Permalink
Added ESC9
Browse files Browse the repository at this point in the history
  • Loading branch information
ly4k committed Aug 3, 2022
1 parent 9b1eb95 commit 1697837
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ npm-debug.log
*.csv
graph.json
.DS_Store
.idea
.idea
build.sh
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bloodhound",
"version": "4.2.0",
"version": "4.2.0-ly4k",
"description": "Graph Theory for Active Directory",
"prettier": {
"tabWidth": 4,
Expand Down
4 changes: 2 additions & 2 deletions src/components/SearchContainer/Tabs/TemplateNodeData.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const TemplateNodeData = () => {
property='First Degree Enrollment Rights'
target={objectid}
baseQuery={
'MATCH p=(n)-[r:AutoEnroll|Enroll]->(u1:CertificateTemplate {objectid: $objectid}) WHERE r.isacl=true'
'MATCH p=(n)-[r:AutoEnroll|Enroll|GenericAll]->(u1:CertificateTemplate {objectid: $objectid}) WHERE r.isacl=true'
}
end={label}
distinct
Expand All @@ -148,7 +148,7 @@ const TemplateNodeData = () => {
property='Group Delegated Enrollment Rights'
target={objectid}
baseQuery={
'MATCH p=(n)-[r:MemberOf*1..]->(g:Group)-[r1:AutoEnroll|Enroll]->(u:CertificateTemplate {objectid: $objectid}) WITH LENGTH(p) as pathLength, p, n WHERE NONE (x in NODES(p)[1..(pathLength-1)] WHERE x.objectid = u.objectid) AND NOT n.objectid = u.objectid'
'MATCH p=(n)-[r:MemberOf*1..]->(g:Group)-[r1:AutoEnroll|Enroll|GenericAll]->(u:CertificateTemplate {objectid: $objectid}) WITH LENGTH(p) as pathLength, p, n WHERE NONE (x in NODES(p)[1..(pathLength-1)] WHERE x.objectid = u.objectid) AND NOT n.objectid = u.objectid'
}
end={label}
distinct
Expand Down

0 comments on commit 1697837

Please sign in to comment.