Skip to content

Commit

Permalink
Removing UMI client ID
Browse files Browse the repository at this point in the history
  • Loading branch information
mvbrock committed Dec 14, 2024
1 parent dde6053 commit 3c7e908
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions api/proto/teleport/legacy/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8049,6 +8049,5 @@ message AccessGraphAWSSync {
message AccessGraphAzureSync {
repeated string Regions = 1 [(gogoproto.jsontag) = "regions,omitempty"];
string SubscriptionID = 2 [(gogoproto.jsontag) = "subscription_id,omitempty"];
string UMIClientID = 3 [(gogoproto.jsontag) = "umi_client_id,omitempty"];
string Integration = 4 [(gogoproto.jsontag) = "integration,omitempty"];
string Integration = 3 [(gogoproto.jsontag) = "integration,omitempty"];
}
2 changes: 0 additions & 2 deletions lib/config/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -1760,12 +1760,10 @@ kubernetes matchers are present`)
return trace.BadParameter("missing regions in access_graph.azure")
}
subscriptionID := azureMatcher.SubscriptionID
umiClientID := azureMatcher.UMIClientID
integration := azureMatcher.Integration
tMatcher.Azure = append(tMatcher.Azure, &types.AccessGraphAzureSync{
Regions: regions,
SubscriptionID: subscriptionID,
UMIClientID: umiClientID,
Integration: integration,
})
}
Expand Down
1 change: 0 additions & 1 deletion lib/config/fileconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,6 @@ type AccessGraphAWSSync struct {
type AccessGraphAzureSync struct {
Regions []string `yaml:"regions,omitempty"`
SubscriptionID string `yaml:"subscription_id,omitempty"`
UMIClientID string `yaml:"umi_client_id,omitempty"`
Integration string `yaml:"integration,omitempty"`
}

Expand Down

0 comments on commit 3c7e908

Please sign in to comment.