Skip to content

Commit 0f1536d

Browse files
authored
Merge pull request #162 from SpecterOps/BED-7200
fix: remove collection of AzureRM Device owner (BED-7200)
2 parents bcf6de5 + b607836 commit 0f1536d

File tree

4 files changed

+0
-236
lines changed

4 files changed

+0
-236
lines changed

cmd/list-azure-ad.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ func listAllAD(ctx context.Context, client client.AzureClient) <-chan interface{
8787

8888
// Enumerate Devices and DeviceOwners
8989
pipeline.Tee(ctx.Done(), listDevices(ctx, client), devices, devices2)
90-
deviceOwners := listDeviceOwners(ctx, client, devices2)
9190

9291
// Enumerate Groups, GroupOwners and GroupMembers
9392
pipeline.Tee(ctx.Done(), listGroups(ctx, client), groups, groups2, groups3)
@@ -121,7 +120,6 @@ func listAllAD(ctx context.Context, client client.AzureClient) <-chan interface{
121120
appOwners,
122121
appRoleAssignments,
123122
apps,
124-
deviceOwners,
125123
devices,
126124
groupMembers,
127125
groupOwners,

cmd/list-device-owners.go

Lines changed: 0 additions & 131 deletions
This file was deleted.

cmd/list-device-owners_test.go

Lines changed: 0 additions & 102 deletions
This file was deleted.

enums/kind.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const (
2424
KindAZAppMember Kind = "AZAppMember"
2525
KindAZAppOwner Kind = "AZAppOwner"
2626
KindAZDevice Kind = "AZDevice"
27-
KindAZDeviceOwner Kind = "AZDeviceOwner"
2827
KindAZGroup Kind = "AZGroup"
2928
KindAZGroupMember Kind = "AZGroupMember"
3029
KindAZGroupOwner Kind = "AZGroupOwner"

0 commit comments

Comments
 (0)