mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-19 11:00:37 +08:00
SCIM: Add rate limit proto settings (#66826)
This commit is contained in:
@@ -7865,6 +7865,25 @@ message PluginSCIMSettings {
|
||||
// by the SCIM plugin. It enables matching a SAML/OIDC external user
|
||||
// with a SCIM-persisted user, allowing the ephemeral user entry to be updated to SCIM user.
|
||||
ConnectorInfo connector_info = 3 [(gogoproto.jsontag) = "connector_info"];
|
||||
|
||||
// RateLimit configures scim integration rate limiting.
|
||||
PluginSCIMRateLimit rate_limit = 4 [(gogoproto.jsontag) = "rate_limit,omitempty"];
|
||||
}
|
||||
|
||||
// PluginSCIMRateLimit configures per request rate limiting for a SCIM plugin.
|
||||
// If unset, server defaults are applied.
|
||||
message PluginSCIMRateLimit {
|
||||
option (gogoproto.equal) = true;
|
||||
// Average is the maximum average number of requests per period.
|
||||
int64 average = 1 [(gogoproto.jsontag) = "average"];
|
||||
// Burst is the maximum number of requests allowed in a burst above the average.
|
||||
int64 burst = 2 [(gogoproto.jsontag) = "burst"];
|
||||
// PeriodSeconds is the rate limiting window duration in seconds.
|
||||
int64 period_seconds = 3 [(gogoproto.jsontag) = "period_seconds"];
|
||||
// MaxConcurrentMutations limits the number of simultaneous mutating operations
|
||||
// (Create, Update, Delete, Patch) allowed for this integration. Zero means no limit.
|
||||
// Note that List and Read operations are not affected by this limit.
|
||||
int64 max_concurrent_operations = 5 [(gogoproto.jsontag) = "max_concurrent_operations"];
|
||||
}
|
||||
|
||||
// PluginDatadogAccessSettings defines the settings for a Datadog Incident Management plugin
|
||||
|
||||
+1339
-988
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user