Skip to content

Commit

Permalink
feat: Add new edges to edge filter
Browse files Browse the repository at this point in the history
  • Loading branch information
andyrobbins committed Apr 18, 2023
1 parent d9bb1a6 commit 69786fa
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
28 changes: 28 additions & 0 deletions src/components/SearchContainer/EdgeFilter/EdgeFilter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ const EdgeFilter = ({ open }) => {
'AZAddOwner',
'AZManagedIdentity',
'AZKeyVaultContributor',
'AZNodeResourceGroup',
'AZWebsiteContributor',
'AZLogicAppContributor',
'AZAutomationContributor',
'AZAKSContributor',
]}
sectionName='azure'
/>
Expand Down Expand Up @@ -176,6 +181,29 @@ const EdgeFilter = ({ open }) => {
<EdgeFilterCheck name='AZAddOwner' />
<EdgeFilterCheck name='AZManagedIdentity' />
<EdgeFilterCheck name='AZKeyVaultContributor' />
<EdgeFilterCheck name='AZNodeResourceGroup' />
<EdgeFilterCheck name='AZWebsiteContributor' />
<EdgeFilterCheck name='AZLogicAppContributor' />
<EdgeFilterCheck name='AZAutomationContributor' />
<EdgeFilterCheck name='AZAKSContributor' />
</div>
<div>
<EdgeFilterSection
title='MS Graph App Roles'
edges={[
'AZMGAddSecret',
'AZMGAddOwner',
'AZMGAddMember',
'AZMGGrantAppRoles',
'AZMGGrantRole',
]}
sectionName='msgraphapproles'
/>
<EdgeFilterCheck name='AZMGAddSecret' />
<EdgeFilterCheck name='AZMGAddOwner' />
<EdgeFilterCheck name='AZMGAddMember' />
<EdgeFilterCheck name='AZMGGrantAppRoles' />
<EdgeFilterCheck name='AZMGGrantRole' />
</div>
</div>
</motion.div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

.container {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr 1fr;
margin-left: 8px;
margin-right: 8px;
white-space: nowrap;
Expand Down
10 changes: 10 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,16 @@ if (typeof conf.get('edgeincluded') === 'undefined') {
HasSIDHistory: true,
CanPSRemote: true,
SyncLAPSPassword: true,
AZMGGrantRole: true,
AZMGAddSecret: true,
AZMGAddOwner: true,
AZMGAddMember: true,
AZMGGrantAppRoles: true,
AZNodeResourceGroup: true,
AZWebsiteContributor: true,
AZLogicAppContributo: true,
AZAutomationContributor: true,
AZAKSContributor: true,
});
}

Expand Down

0 comments on commit 69786fa

Please sign in to comment.