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

[v17] AWS IC: Add groups filter #51543

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 21 additions & 0 deletions api/proto/teleport/legacy/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6821,6 +6821,27 @@ message PluginAWSICSettings {
//
// NOTE: System users are always filtered out by default and will not be provisioned to AWS IC.
repeated AWSICUserSyncFilter user_sync_filters = 8 [(gogoproto.jsontag) = "user_sync_filters,omitempty"];

// GroupSyncLabelsFilter is used to specify filters that determine which AWS groups
// should be included during synchronization.
repeated AWSICResourceFilter group_sync_filters = 10 [(gogoproto.jsontag) = "group_sync_filters,omitempty"];
}

// AWSICResourceFilter is an entry in the AWS IC plugin settings' allow-list of
// resources to import. The filter can specify inclusion either by account ID or
// regex on the resource name.
message AWSICResourceFilter {
option (gogoproto.equal) = true;

// Include describes the AWS Resource filter to apply
oneof include {
// Id indicates that the resource should be filtered by ID
string id = 1 [(gogoproto.jsontag) = "id,omitempty"];

// NameRegex indicates that the resource should be included its name matches
// the supplied regex.
string name_regex = 2 [(gogoproto.jsontag) = "name_regex,omitempty"];
}
}

// UserSyncFilter is a map of key-value pairs used to filter users based on their metadata labels.
Expand Down
Loading
Loading