From 0c752629935dacfc436aa61242333436704fc9ee Mon Sep 17 00:00:00 2001 From: Arvind Krishnakumar <61501885+arvindkrishnakumar-okta@users.noreply.github.com> Date: Fri, 29 Mar 2024 14:12:42 -0500 Subject: [PATCH] OKTA-700220: IdP Discovery Policy not returned in listPolicyRules() (#996) --- src/swagger/api.yaml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/src/swagger/api.yaml b/src/swagger/api.yaml index d33a6b8522e..e1b0f4904db 100644 --- a/src/swagger/api.yaml +++ b/src/swagger/api.yaml @@ -26251,6 +26251,34 @@ components: userName: type: string maxLength: 100 + IdpDiscoveryPolicy: + allOf: + - $ref: '#/components/schemas/Policy' + - type: object + properties: + conditions: + $ref: '#/components/schemas/IdpDiscoveryPolicyRuleCondition' + IdpDiscoveryPolicyRule: + allOf: + - $ref: '#/components/schemas/PolicyRule' + - type: object + properties: + actions: + $ref: '#/components/schemas/IdpPolicyRuleAction' + conditions: + $ref: '#/components/schemas/IdpDiscoveryPolicyRuleCondition' + IdpDiscoveryPolicyRuleCondition: + allOf: + - type: object + properties: + app: + $ref: '#/components/schemas/AppAndInstancePolicyRuleCondition' + network: + $ref: '#/components/schemas/PolicyNetworkCondition' + userIdentifier: + $ref: '#/components/schemas/UserIdentifierPolicyRuleCondition' + platform: + $ref: '#/components/schemas/PlatformPolicyRuleCondition' IdpPolicyRuleAction: type: object properties: @@ -28692,11 +28720,11 @@ components: propertyName: type mapping: ACCESS_POLICY: '#/components/schemas/AccessPolicyRule' - IDP_DISCOVERY: '#/components/schemas/AccessPolicyRule' PASSWORD: '#/components/schemas/PasswordPolicyRule' PROFILE_ENROLLMENT: '#/components/schemas/ProfileEnrollmentPolicyRule' RESOURCE_ACCESS: '#/components/schemas/AuthorizationServerPolicyRule' SIGN_ON: '#/components/schemas/OktaSignOnPolicyRule' + IDP_DISCOVERY: '#/components/schemas/IdpDiscoveryPolicyRule' PolicyRuleActions: type: object PolicyRuleActionsEnroll: