-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated commit 'ISCCOMPLI-834: move 'alerts' from FullCampaign to S…
…limCampaign (#1497) * ISCCOMPLI-834: move 'alerts' from FullCampaign to SlimCampaign * ISCCOMPLI-834: move 'alerts' from FullCampaign to SlimCampaign * ISCCOMPLI-834: add totalCertifications and completedCertifications * ISCCOMPLI-834: add integer format * ISCCOMPLI-834: move created field from Campaign to SlimCampaign' by github action: 7023526642
- Loading branch information
1 parent
001969a
commit a5a3d91
Showing
25 changed files
with
498 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
post: | ||
operationId: sendKbaAnswers | ||
tags: | ||
- MFA Controller | ||
summary: Authenticate KBA provided MFA method | ||
description: >- | ||
This API Authenticate user in KBA MFA method. | ||
security: | ||
- UserContextAuth: [idn:mfa-kba:authenticate] | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/KbaAnswerRequest.yaml" | ||
example: | ||
{"answers": [ | ||
{ | ||
"questionId": "089899f13a8f4da7824996191587bab9", | ||
"answer": "Your answer" | ||
}, | ||
{ | ||
"questionId": "067899f13a8f4da7824996191587bab9", | ||
"answer": "Your answer1" | ||
} | ||
] | ||
} | ||
|
||
responses: | ||
"200": | ||
description: KBA authenticated status. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/KbaAuthResponse.yaml" | ||
example: | ||
{ | ||
"kbaAuthResponseItem": [ | ||
{ | ||
"questionId": "089899f13a8f4da7824996191587bab9", | ||
"IsVerified": false | ||
}, | ||
{ | ||
"questionId": "089899f13a8f4da7824996191587bda8", | ||
"IsVerified": true | ||
} | ||
], | ||
"status": "PENDING" | ||
} | ||
"400": | ||
$ref: "../../v3/responses/400.yaml" | ||
"401": | ||
$ref: "../../v3/responses/401.yaml" | ||
"403": | ||
$ref: "../../v3/responses/403.yaml" | ||
"429": | ||
$ref: "../../v3/responses/429.yaml" | ||
"500": | ||
$ref: "../../v3/responses/500.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
post: | ||
operationId: pingVerificationStatus | ||
tags: | ||
- MFA Controller | ||
summary: Polling MFA method by VerificationPollRequest | ||
description: >- | ||
This API poll the VerificationPollRequest for the specified MFA method. | ||
A token with ORG_ADMIN authority is required to call this API. | ||
security: | ||
- UserContextAuth: [idn:mfa:poll] | ||
parameters: | ||
- in: path | ||
name: method | ||
schema: | ||
type: string | ||
example: okta-verify | ||
required: true | ||
description: >- | ||
The name of the MFA method. | ||
The currently supported method names are 'okta-verify', 'duo-web', 'kba','token', 'rsa' | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/VerificationPollRequest.yaml" | ||
example: | ||
{ | ||
"requestId": "089899f13a8f4da7824996191587bab9" | ||
} | ||
|
||
responses: | ||
"200": | ||
description: MFA VerificationPollRequest status an MFA method. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/VerificationResponse.yaml" | ||
example: | ||
{ | ||
"requestId": "089899f13a8f4da7824996191587bab9", | ||
"status": "PENDING", | ||
"error" : "" | ||
} | ||
"400": | ||
$ref: "../../v3/responses/400.yaml" | ||
"401": | ||
$ref: "../../v3/responses/401.yaml" | ||
"403": | ||
$ref: "../../v3/responses/403.yaml" | ||
"429": | ||
$ref: "../../v3/responses/429.yaml" | ||
"500": | ||
$ref: "../../v3/responses/500.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
post: | ||
operationId: sendTokenAuthRequest | ||
tags: | ||
- MFA Controller | ||
summary: Authenticate Token provided MFA method | ||
description: >- | ||
This API Authenticate user in Token MFA method. | ||
security: | ||
- UserContextAuth: [idn:mfa:verify] | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/TokenAuthRequest.yaml" | ||
example: | ||
{ | ||
"token": "12345", | ||
"userAlias": "will.albin", | ||
"deliveryType": "EMAIL_WORK" | ||
} | ||
|
||
responses: | ||
"200": | ||
description: Token authenticated status. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/TokenAuthResponse.yaml" | ||
example: | ||
{ | ||
"status": "PENDING" | ||
} | ||
"400": | ||
$ref: "../../v3/responses/400.yaml" | ||
"401": | ||
$ref: "../../v3/responses/401.yaml" | ||
"403": | ||
$ref: "../../v3/responses/403.yaml" | ||
"429": | ||
$ref: "../../v3/responses/429.yaml" | ||
"500": | ||
$ref: "../../v3/responses/500.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
post: | ||
operationId: createSendToken | ||
tags: | ||
- MFA Controller | ||
summary: Create and send user token | ||
description: | ||
This API send token request. | ||
security: | ||
- UserContextAuth: [idn:mfa:send] | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/SendTokenRequest.yaml" | ||
example: | ||
{ | ||
"userAlias": "will.albin", | ||
"deliveryType": "EMAIL_WORK" | ||
} | ||
|
||
responses: | ||
"200": | ||
description: Token send status. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../schemas/SendTokenResponse.yaml" | ||
example: | ||
{ | ||
"requestId": "089899f13a8f4da7824996191587bab9", | ||
"status": "SUCCESS", | ||
"errorMessage": "" | ||
} | ||
"400": | ||
$ref: "../../v3/responses/400.yaml" | ||
"401": | ||
$ref: "../../v3/responses/401.yaml" | ||
"403": | ||
$ref: "../../v3/responses/403.yaml" | ||
"429": | ||
$ref: "../../v3/responses/429.yaml" | ||
"500": | ||
$ref: "../../v3/responses/500.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
type: object | ||
properties: | ||
answers: | ||
nullable: false | ||
type: array | ||
items: | ||
$ref: "../schemas/KbaAnswerRequestItem.yaml" | ||
|
||
description: Kba answers | ||
example: | ||
- questionId: 089899f13a8f4da7824996191587bab9 | ||
answer: Your answer | ||
- questionId: 067899f13a8f4da7824996191587bab9 | ||
answer: Your answer1 | ||
required: | ||
- answers | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
type: object | ||
properties: | ||
questionId: | ||
type: string | ||
nullable: false | ||
description: Question Id | ||
example: 089899f13a8f4da7824996191587bab9 | ||
answer: | ||
type: string | ||
nullable: false | ||
description: An answer for the KBA question | ||
example: Your answer | ||
required: | ||
- questionId | ||
- answer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
type: object | ||
properties: | ||
kbaAuthResponseItems: | ||
type: array | ||
example: | ||
- questionId: 089899f13a8f4da7824996191587bab9 | ||
isVerified: false | ||
items: | ||
$ref: '../schemas/KbaAuthResponseItem.yaml' | ||
status: | ||
type: string | ||
enum: | ||
- PENDING | ||
- SUCCESS | ||
- FAILED | ||
- LOCKOUT | ||
- NOT_ENOUGH_DATA | ||
description: MFA Authentication status | ||
example: PENDING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
type: object | ||
properties: | ||
questionId: | ||
type: string | ||
nullable: true | ||
description: The KBA question id | ||
example: 089899f13a8f4da7824996191587bab9 | ||
isVerified: | ||
type: boolean | ||
nullable: true | ||
default: null | ||
description: Return true if verified | ||
example: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
type: object | ||
properties: | ||
userAlias: | ||
nullable: false | ||
type: string | ||
description: User alias from table spt_identity field named 'name' | ||
example: will.albin | ||
deliveryType: | ||
nullable: false | ||
type: string | ||
enum: | ||
- SMS_PERSONAL #("sms", "phone") | ||
- VOICE_PERSONAL #("voice", "phone") | ||
- SMS_WORK #("sms", "work") | ||
- VOICE_WORK #("voice","work") | ||
- EMAIL_WORK #("email"L, "email") | ||
- EMAIL_PERSONAL #("email", "personalEmail") | ||
description: Token delivery type | ||
example: "EMAIL_WORK" | ||
required: | ||
- userAlias | ||
- deliveryType | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
type: object | ||
properties: | ||
requestId: | ||
type: string | ||
nullable: true | ||
description: The token request ID | ||
example: 089899f13a8f4da7824996191587bab9 | ||
status: | ||
type: string | ||
enum: | ||
- SUCCESS | ||
- FAILED | ||
description: Status of sending token | ||
example: SUCCESS | ||
errorMessage: | ||
type: string | ||
nullable: true | ||
description: Error messages from token send request | ||
example: Unable to sent text message |
Oops, something went wrong.