Skip to content

Commit 0550380

Browse files
authored
AWS IC: Add user_sync_labels_filter proto settings (#51348)
1 parent c1829e2 commit 0550380

File tree

2 files changed

+939
-513
lines changed

2 files changed

+939
-513
lines changed

api/proto/teleport/legacy/types/types.proto

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6835,6 +6835,30 @@ message PluginAWSICSettings {
68356835
// CredentialsSource indicates how the Identity Center plugin should source
68366836
// its AWS login credentials
68376837
AWSICCredentialsSource credentials_source = 7;
6838+
6839+
// UserSyncLabelsFilter specifies a map of key-value pairs used to filter users
6840+
// based on their metadata labels. These filtered users will be provisioned
6841+
// from Teleport to AWS IC via SCIM provisioning.
6842+
// If multiple user_sync_filters are provided the match is combined with OR operator.
6843+
//
6844+
// Example:
6845+
// If Okta is used as the Identity Source and only users originating from Okta
6846+
// should be synced, set the filter to:
6847+
// [{
6848+
// "okta/org": "https://trial-123456.okta.com",
6849+
// "teleport.dev/origin": "okta"
6850+
// }]
6851+
//
6852+
// If AWS IC uses Teleport as the Identity Provider, the filter should remain empty.
6853+
//
6854+
// NOTE: System users are always filtered out by default and will not be provisioned to AWS IC.
6855+
repeated AWSICUserSyncFilter user_sync_filters = 8 [(gogoproto.jsontag) = "user_sync_filters,omitempty"];
6856+
}
6857+
6858+
// UserSyncFilter is a map of key-value pairs used to filter users based on their metadata labels.
6859+
message AWSICUserSyncFilter {
6860+
option (gogoproto.equal) = true;
6861+
map<string, string> labels = 8 [(gogoproto.jsontag) = "labels,omitempty"];
68386862
}
68396863

68406864
// AWSICProvisioningSpec holds provisioning-specific Identity Center settings

0 commit comments

Comments
 (0)