diff --git a/src/components/SearchContainer/Tabs/AZManagementGroupNodeData.jsx b/src/components/SearchContainer/Tabs/AZManagementGroupNodeData.jsx index ed8f16d27..361fa3035 100644 --- a/src/components/SearchContainer/Tabs/AZManagementGroupNodeData.jsx +++ b/src/components/SearchContainer/Tabs/AZManagementGroupNodeData.jsx @@ -106,13 +106,21 @@ const AZManagementGroupNodeData = ({}) => {
- +
(n:AZManagementGroup)' + } + distinct + /> + (n:AZSubscription)' @@ -120,7 +128,7 @@ const AZManagementGroupNodeData = ({}) => { distinct /> (n:AZResourceGroup)' @@ -128,10 +136,26 @@ const AZManagementGroupNodeData = ({}) => { distinct /> (n:AZVM)' + 'MATCH p=(o:AZManagementGroup {objectid: $objectid})-[r:AZContains*1..]->(n:AZAutomationAccount)' + } + distinct + /> + (n:AZContainerRegistry)' + } + distinct + /> + (n:AZFunctionApp)' } distinct /> @@ -143,6 +167,46 @@ const AZManagementGroupNodeData = ({}) => { } distinct /> + (n:AZLogicApp)' + } + distinct + /> + (n:AZManagedCluster)' + } + distinct + /> + (n:AZVM)' + } + distinct + /> + (n:AZVMScaleSet)' + } + distinct + /> + (n:AZWebApp)' + } + distinct + />
diff --git a/src/components/SearchContainer/Tabs/AZResourceGroupNodeData.jsx b/src/components/SearchContainer/Tabs/AZResourceGroupNodeData.jsx index 8f8cd31a0..548f66289 100644 --- a/src/components/SearchContainer/Tabs/AZResourceGroupNodeData.jsx +++ b/src/components/SearchContainer/Tabs/AZResourceGroupNodeData.jsx @@ -74,26 +74,81 @@ const AZResourceGroupNodeData = () => {
- +
(n:AZVM)' + 'MATCH p=(o:AZResourceGroup {objectid: $objectid})-[r:AZContains*1..]->(n:AZAutomationAccount)' } - end={label} + distinct /> (n:AZKeyVault)' + 'MATCH p=(o:AZResourceGroup {objectid: $objectid})-[r:AZContains*1..]->(n:AZContainerRegistry)' + } + distinct + /> + (n:AZFunctionApp)' + } + distinct + /> + (n:AZKeyVault)' + } + distinct + /> + (n:AZLogicApp)' + } + distinct + /> + (n:AZManagedCluster)' + } + distinct + /> + (n:AZVM)' + } + distinct + /> + (n:AZVMScaleSet)' + } + distinct + /> + (n:AZWebApp)' } - end={label} distinct /> diff --git a/src/components/SearchContainer/Tabs/AZSubscriptionNodeData.jsx b/src/components/SearchContainer/Tabs/AZSubscriptionNodeData.jsx index 2e00152ab..85146a3b0 100644 --- a/src/components/SearchContainer/Tabs/AZSubscriptionNodeData.jsx +++ b/src/components/SearchContainer/Tabs/AZSubscriptionNodeData.jsx @@ -104,24 +104,40 @@ const AZSubscriptionNodeData = () => {
- +
(n:AZVM)' + 'MATCH p=(o:AZSubscription {objectid: $objectid})-[r:AZContains*1..]->(n:AZResourceGroup)' } distinct /> (n:AZResourceGroup)' + 'MATCH p=(o:AZSubscription {objectid: $objectid})-[r:AZContains*1..]->(n:AZAutomationAccount)' + } + distinct + /> + (n:AZContainerRegistry)' + } + distinct + /> + (n:AZFunctionApp)' } distinct /> @@ -133,6 +149,46 @@ const AZSubscriptionNodeData = () => { } distinct /> + (n:AZLogicApp)' + } + distinct + /> + (n:AZManagedCluster)' + } + distinct + /> + (n:AZVM)' + } + distinct + /> + (n:AZVMScaleSet)' + } + distinct + /> + (n:AZWebApp)' + } + distinct + />
diff --git a/src/components/SearchContainer/Tabs/AZTenantNodeData.jsx b/src/components/SearchContainer/Tabs/AZTenantNodeData.jsx index effdb9c9e..f7fe9b427 100644 --- a/src/components/SearchContainer/Tabs/AZTenantNodeData.jsx +++ b/src/components/SearchContainer/Tabs/AZTenantNodeData.jsx @@ -89,18 +89,18 @@ const AZTenantNodeData = () => { (n:AZSubscription)' + 'MATCH p=(o:AZTenant {objectid: $objectid})-[r:AZContains*1..]->(n:AZManagementGroup)' } distinct /> (n:AZVM)' + 'MATCH p=(o:AZTenant {objectid: $objectid})-[r:AZContains*1..]->(n:AZSubscription)' } distinct /> @@ -112,6 +112,30 @@ const AZTenantNodeData = () => { } distinct /> + (n:AZAutomationAccount)' + } + distinct + /> + (n:AZContainerRegistry)' + } + distinct + /> + (n:AZFunctionApp)' + } + distinct + /> { distinct /> (n:AZUser)' + 'MATCH p=(o:AZTenant {objectid: $objectid})-[r:AZContains*1..]->(n:AZLogicApp)' + } + distinct + /> + (n:AZManagedCluster)' + } + distinct + /> + (n:AZVM)' + } + distinct + /> + (n:AZVMScaleSet)' + } + distinct + /> + (n:AZWebApp)' + } + distinct + /> + (n:AZApp)' + } + distinct + /> + (n:AZDevice)' } distinct /> @@ -136,6 +208,30 @@ const AZTenantNodeData = () => { } distinct /> + (n:AZRole)' + } + distinct + /> + (n:AZServicePrincipal)' + } + distinct + /> + (n:AZUser)' + } + distinct + />