Skip to content

Commit

Permalink
Add proper config parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mvbrock committed Nov 18, 2024
1 parent 01f946a commit e3aa0d4
Show file tree
Hide file tree
Showing 4 changed files with 392 additions and 373 deletions.
12 changes: 3 additions & 9 deletions api/proto/teleport/legacy/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7795,14 +7795,8 @@ message OktaOptions {
message AccessGraphSync {
// AWS is a configuration for AWS Access Graph service poll service.
repeated AccessGraphAWSSync AWS = 1 [(gogoproto.jsontag) = "aws,omitempty"];
// PollInterval is the frequency at which to poll for AWS resources
google.protobuf.Duration PollInterval = 2 [
(gogoproto.jsontag) = "poll_interval,omitempty",
(gogoproto.nullable) = false,
(gogoproto.stdduration) = true
];
// Azure is a configuration for the Azure Access Graph service poll service.
repeated AccessGraphAzureSync Azure = 3 [(gogoproto.jsontag) = "azure,omitempty"];
// Azure is a configuration for Azure Access Graph service poll service.
repeated AccessGraphAzureSync Azure = 2 [(gogoproto.jsontag) = "aws,omitempty"];
}

// AccessGraphAWSSync is a configuration for AWS Access Graph service poll service.
Expand All @@ -7819,6 +7813,6 @@ 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 UMIClientID = 3 [(gogoproto.jsontag) = "umi_client_id,omitempty"];
string Integration = 4 [(gogoproto.jsontag) = "integration,omitempty"];
}
Loading

0 comments on commit e3aa0d4

Please sign in to comment.