Skip to content

Commit

Permalink
OKTA-700220: IdP Discovery Policy not returned in listPolicyRules() (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindkrishnakumar-okta authored Mar 29, 2024
1 parent 5d25f6d commit 0c75262
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion src/swagger/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0c75262

Please sign in to comment.