Skip to content

Commit

Permalink
Created hosts edges
Browse files Browse the repository at this point in the history
  • Loading branch information
DrieVlad committed Oct 2, 2024
1 parent 0f589d6 commit 859d897
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 228 deletions.
2 changes: 1 addition & 1 deletion src/components/Menu/MenuContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const IngestFuncMap = {
ous: NewIngestion.buildOuJsonNew,
gpos: NewIngestion.buildGpoJsonNew,
containers: NewIngestion.buildContainerJsonNew,
IPAcomputers: NewIngestion.buildIPAComputerJsonNew,
IPAhosts: NewIngestion.buildIPAHostJsonNew,
IPAusers: NewIngestion.buildIPAUserJsonNew,
azure: NewIngestion.convertAzureData,
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/SearchContainer/SearchRow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const SearchRow = ({ item, search }) => {
case 'IPAUser':
icon.className = 'fa fa-user';
break;
case 'IPAComputer':
case 'IPAHost':
icon.className = 'fa fa-desktop';
break;
case 'AZUser':
Expand Down
12 changes: 6 additions & 6 deletions src/components/SearchContainer/TabContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import DomainNodeData from './Tabs/DomainNodeData';
import GpoNodeData from './Tabs/GPONodeData';
import OuNodeData from './Tabs/OUNodeData';
import IPAUserNodeData from './Tabs/IPAUserNodeData';
import IPAComputerNodeData from './Tabs/IPAHostNodeData';
import IPAHostNodeData from './Tabs/IPAHostNodeData';
import AZGroupNodeData from './Tabs/AZGroupNodeData';
import AZUserNodeData from './Tabs/AZUserNodeData';
import AZContainerRegistryNodeData from './Tabs/AZContainerRegistryNodeData';
Expand Down Expand Up @@ -52,7 +52,7 @@ class TabContainer extends Component {
ouVisible: false,
containerVisible: false,
IPAuserVisible: false,
IPAcomputerVisible: false,
IPAhostVisible: false,
azGroupVisible: false,
azUserVisible: false,
azContainerRegistryVisible: false,
Expand Down Expand Up @@ -98,7 +98,7 @@ class TabContainer extends Component {
this._ouNodeClicked();
} else if (type === 'GPO') {
this._gpoNodeClicked();
} else if (type === 'IPAComputer') {
} else if (type === 'IPAHost') {
this._computerNodeClicked();
} else if (type === 'IPAUser') {
this._computerNodeClicked();
Expand Down Expand Up @@ -242,7 +242,7 @@ class TabContainer extends Component {
});
}

_IPAcomputerNodeClicked() {
_IPAhostNodeClicked() {
this.clearVisible()
this.setState({
computerVisible: true,
Expand Down Expand Up @@ -431,7 +431,7 @@ class TabContainer extends Component {
!this.state.gpoVisible &&
!this.state.ouVisible &&
!this.state.IPAuserVisible &&
!this.state.IPAcomputerVisible &&
!this.state.IPAhostVisible &&
!this.state.azGroupVisible &&
!this.state.azUserVisible &&
!this.state.azContainerRegistryVisible &&
Expand Down Expand Up @@ -464,7 +464,7 @@ class TabContainer extends Component {
<GpoNodeData visible={this.state.gpoVisible} />
<OuNodeData visible={this.state.ouVisible} />
<ContainerNodeData visible={this.state.containerVisible} />
<IPAComputerNodeData visible={this.state.IPAcomputerVisible} />
<IPAHostNodeData visible={this.state.IPAhostVisible} />
<IPAUserNodeData visible={this.state.IPAuserVisible} />
<AZGroupNodeData visible={this.state.azGroupVisible} />
<AZUserNodeData visible={this.state.azUserVisible} />
Expand Down
Loading

0 comments on commit 859d897

Please sign in to comment.