Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions packages/go/ein/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -1957,11 +1957,7 @@ func ConvertAzureRoleEligibilityScheduleInstanceToRel(instance models.RoleEligib
id := strings.ToUpper(fmt.Sprintf("%s@%s", instance.RoleDefinitionId, instance.TenantId))

relationships := make([]IngestibleRelationship, 0)
//If the scope is not the directory, we are going to skip creating the edges for now until later work is done
//This isn't necessarily the best spot for this, but it works and it makes testing simple, since none of our azure convertors are exported
if instance.DirectoryScopeId != "/" {
return relationships
}

relationships = append(relationships, NewIngestibleRelationship(
IngestibleEndpoint{
Value: strings.ToUpper(instance.PrincipalId),
Expand Down
Loading