Skip to content

Commit

Permalink
Protobuf and configuration for Access Graph Azure Discovery (#50364)
Browse files Browse the repository at this point in the history
* Protobuf and configuration for Access Graph Azure Discovery

* Adding godoc and removing Integration field from fileconf
  • Loading branch information
mvbrock authored Dec 18, 2024
1 parent b2dc107 commit ef7a93f
Show file tree
Hide file tree
Showing 7 changed files with 794 additions and 465 deletions.
12 changes: 11 additions & 1 deletion api/proto/teleport/legacy/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8026,12 +8026,14 @@ 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
// PollInterval is the frequency at which to poll for resources
google.protobuf.Duration PollInterval = 2 [
(gogoproto.jsontag) = "poll_interval,omitempty",
(gogoproto.nullable) = false,
(gogoproto.stdduration) = true
];
// Azure is a configuration for Azure Access Graph service poll service.
repeated AccessGraphAzureSync Azure = 3 [(gogoproto.jsontag) = "azure,omitempty"];
}

// AccessGraphAWSSync is a configuration for AWS Access Graph service poll service.
Expand All @@ -8043,3 +8045,11 @@ message AccessGraphAWSSync {
// Integration is the integration name used to generate credentials to interact with AWS APIs.
string Integration = 4 [(gogoproto.jsontag) = "integration,omitempty"];
}

// AccessGraphAzureSync is a configuration for Azure Access Graph service poll service.
message AccessGraphAzureSync {
// SubscriptionID Is the ID of the Azure subscription to sync resources from
string SubscriptionID = 1 [(gogoproto.jsontag) = "subscription_id,omitempty"];
// Integration is the integration name used to generate credentials to interact with AWS APIs.
string Integration = 2 [(gogoproto.jsontag) = "integration,omitempty"];
}
107 changes: 66 additions & 41 deletions api/types/discoveryconfig/derived.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ef7a93f

Please sign in to comment.