-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Adding Azure integration protobuf messages and gRPC methods #48628
Conversation
ba0b726
to
fe10587
Compare
@tigrato I added a few more items to the proto spec:
|
6c2c286
to
7d10b7c
Compare
Co-authored-by: Tiago Silva <[email protected]>
Co-authored-by: Tiago Silva <[email protected]>
Co-authored-by: Tiago Silva <[email protected]>
… and role name to role definitions
7d10b7c
to
61e626b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me once the comments are addressed
string subscription_id = 2; | ||
google.protobuf.Timestamp last_sync_time = 3; | ||
string display_name = 4; | ||
repeated string member_of = 5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this member of? are they groups, policies?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Groups and directories, per https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#relationships
Co-authored-by: Tiago Silva <[email protected]>
* Adding Azure integration gRPC messages and RPC methods * Make derive * Update proto/accessgraph/v1alpha/azure.proto Co-authored-by: Tiago Silva <[email protected]> * Update proto/accessgraph/v1alpha/azure.proto Co-authored-by: Tiago Silva <[email protected]> * Update proto/accessgraph/v1alpha/azure.proto Co-authored-by: Tiago Silva <[email protected]> * PR feedback * More PR feedback and generating protobuf code * Make derive * Adding identities field to principals, condition to role assignments, and role name to role definitions * Rebase conflicts * Did not fully fetch from origin/master when rebasing * Removing azure config field and keeping poll_interval as-is * Correct from parent branch * Apply suggestions from code review Co-authored-by: Tiago Silva <[email protected]> * PR feedback * Adding doc comments to access graph proto * Adding object type to principals * Adding location to Azure virtual machines * Update proto/accessgraph/v1alpha/access_graph_service.proto Co-authored-by: Tiago Silva <[email protected]> * Moving Azure Discovery protobuf config to the Azure Discovery PR * Make grpc --------- Co-authored-by: Tiago Silva <[email protected]>
Part of of https://github.com/gravitational/access-graph/issues/640 to provide visibility of Azure resource in the Access Graph, and originating from the Azure integration POC branch master...mvbrock/azure-integration-poc. This PR creates the protobuf messages and gRPC methods to transmit Azure resources from the Discovery service to the Access Graph, per https://github.com/gravitational/access-graph/issues/1312.