From e3b41da05b361fc9c154df96410d0063a321b080 Mon Sep 17 00:00:00 2001 From: claire bontempo <68122737+hellobontempo@users.noreply.github.com> Date: Thu, 13 Feb 2025 16:29:42 -0800 Subject: [PATCH] update openapi for auth-config/ldap (#29642) --- .../helpers/openapi/expected-auth-attrs.js | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/ui/tests/helpers/openapi/expected-auth-attrs.js b/ui/tests/helpers/openapi/expected-auth-attrs.js index 1032786121..5c09f673be 100644 --- a/ui/tests/helpers/openapi/expected-auth-attrs.js +++ b/ui/tests/helpers/openapi/expected-auth-attrs.js @@ -898,6 +898,13 @@ const ldap = { fieldGroup: 'default', type: 'string', }, + disableAutomatedRotation: { + editType: 'boolean', + fieldGroup: 'default', + helpText: + 'If set to true, will deregister all registered rotation jobs from the RotationManager for the plugin.', + type: 'boolean', + }, discoverdn: { editType: 'boolean', helpText: 'Use anonymous bind to discover the bind DN of a user (optional)', @@ -962,6 +969,27 @@ const ldap = { 'Timeout, in seconds, for the connection when making requests against the server before returning back an error.', fieldGroup: 'default', }, + rotationPeriod: { + editType: 'number', + fieldGroup: 'default', + helpText: + 'TTL for automatic credential rotation of the given username. Mutually exclusive with rotation_schedule', + type: 'number', + }, + rotationSchedule: { + editType: 'string', + fieldGroup: 'default', + helpText: + 'CRON-style string that will define the schedule on which rotations should occur. Mutually exclusive with rotation_period', + type: 'string', + }, + rotationWindow: { + editType: 'number', + fieldGroup: 'default', + helpText: + 'Specifies the amount of time in which the rotation is allowed to occur starting from a given rotation_schedule', + type: 'number', + }, starttls: { editType: 'boolean', helpText: 'Issue a StartTLS command after establishing unencrypted connection (optional)',