Skip to content

Commit d3c62c7

Browse files
committed
Adds account filter to IC plugin settings
1 parent c8d8c21 commit d3c62c7

File tree

2 files changed

+1001
-519
lines changed

2 files changed

+1001
-519
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6853,6 +6853,28 @@ message PluginAWSICSettings {
68536853
//
68546854
// NOTE: System users are always filtered out by default and will not be provisioned to AWS IC.
68556855
repeated AWSICUserSyncFilter user_sync_filters = 8 [(gogoproto.jsontag) = "user_sync_filters,omitempty"];
6856+
6857+
// AwsAccounts is an optional allow-list of AWS accounts to import and manage.
6858+
// An empty list implies that all accounts managed by the Identity Center
6859+
// instance will be imported and managed.
6860+
repeated AWSICAccountFilter aws_accounts = 9;
6861+
}
6862+
6863+
// AWSICAccountFilter is an entry in the AWS IC plugin settings' allow-list of
6864+
// accounts to import. The filter can specify inclusion either by account ID or
6865+
// regex on the account name.
6866+
message AWSICAccountFilter {
6867+
option (gogoproto.equal) = true;
6868+
6869+
// Filter describes the AWS Account filter to apply
6870+
oneof filter {
6871+
// Id indicates that the account should be filtered by ID
6872+
string id = 1;
6873+
6874+
// Name indicates that the account should be included if it matches the
6875+
// supplied regex.
6876+
string name = 2;
6877+
}
68566878
}
68576879

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

0 commit comments

Comments
 (0)