Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Azure resource fetching in the Discovery service #48843

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
1883230
Adding Azure integration gRPC messages and RPC methods
mvbrock Nov 7, 2024
b113b78
Make derive
mvbrock Nov 8, 2024
92c1979
More PR feedback and generating protobuf code
mvbrock Nov 8, 2024
abaeebb
Make derive
mvbrock Nov 8, 2024
9e66e46
Adding identities field to principals, condition to role assignments,…
mvbrock Nov 13, 2024
6cf5e40
Rebase conflicts
mvbrock Nov 13, 2024
081a526
Did not fully fetch from origin/master when rebasing
mvbrock Nov 13, 2024
c51afd1
Removing azure config field and keeping poll_interval as-is
mvbrock Nov 13, 2024
3faf1f1
Correct from parent branch
mvbrock Nov 18, 2024
61f3335
Adding Azure integration gRPC messages and RPC methods
mvbrock Nov 7, 2024
34d6b4f
More PR feedback and generating protobuf code
mvbrock Nov 8, 2024
e76cc02
Adding partial implementation
mvbrock Nov 8, 2024
577cee6
Adding more fetching
mvbrock Nov 12, 2024
3779998
Adding Azure role definitions and assignments clients
mvbrock Nov 7, 2024
974617b
Creating local consumer interface for Azure clients in the sync package
mvbrock Nov 12, 2024
2f2c6ef
Using the common deduplication function, and unit testing azure recon…
mvbrock Nov 13, 2024
0c33017
Adding unit test for azure sync
mvbrock Nov 14, 2024
6184486
Add proper config parsing
mvbrock Nov 16, 2024
edf5ac9
Initializing Azure watcher and fixing Azure creds
mvbrock Nov 18, 2024
0d54f2a
Post-rebase grpc and derived
mvbrock Nov 18, 2024
e2b2e23
Fixing rebase
mvbrock Nov 18, 2024
8194d1d
Make derived
mvbrock Nov 18, 2024
bbfc3b8
Fix imports
mvbrock Nov 18, 2024
8a47506
Fix grpc/derived after rebase
mvbrock Nov 18, 2024
e1b7ab2
Make grpc
mvbrock Dec 2, 2024
bf049cc
Fix error handling for bidi client
mvbrock Dec 2, 2024
0eb22d2
Go mod tidy on integrations
mvbrock Dec 2, 2024
e1d6ecf
Fixing race condition in error collection
mvbrock Dec 2, 2024
fad9a52
Fixing json mistake in grpc
mvbrock Dec 2, 2024
f327038
Linting
mvbrock Dec 2, 2024
c900515
Adding license
mvbrock Dec 2, 2024
dde6053
Godoc
mvbrock Dec 5, 2024
3c7e908
Removing UMI client ID
mvbrock Dec 5, 2024
21da3f3
PR feedback
mvbrock Dec 6, 2024
38b6f65
Update lib/srv/discovery/fetchers/azure-sync/virtualmachines.go
mvbrock Dec 16, 2024
98b65ba
PR feedback
mvbrock Dec 17, 2024
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
10 changes: 9 additions & 1 deletion api/proto/teleport/legacy/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8025,12 +8025,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"];
mvbrock marked this conversation as resolved.
Show resolved Hide resolved
}

// AccessGraphAWSSync is a configuration for AWS Access Graph service poll service.
Expand All @@ -8042,3 +8044,9 @@ 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 {
string SubscriptionID = 2 [(gogoproto.jsontag) = "subscription_id,omitempty"];
string Integration = 3 [(gogoproto.jsontag) = "integration,omitempty"];
}
108 changes: 67 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
Loading