From a84e4117cd0f0be1830ea32ad26e3cd622344b7f Mon Sep 17 00:00:00 2001 From: "kundan.kumar@saviynt.com" Date: Sun, 21 Apr 2024 16:38:00 -0400 Subject: [PATCH] update --- .../paths/access/getEntDetailsforUsers.yaml | 8 +- .../fetchAppOwnerCampaignAccEntDetails.yaml | 24 +++-- .../fetchEntOwnerCampaignAccEntDetails.yaml | 6 +- ...ResponseEntOwnerCampaignAccEntDetails.yaml | 96 ++++++++++++++----- .../certifyUserManagerforCampaign.yaml | 9 ++ .../createEnterpriseRoleRequest.yaml | 41 +++++--- .../rest-api/5.0/paths/users/getUser.yaml | 83 ++++++++++++++++ redocly.yaml | 1 - 8 files changed, 220 insertions(+), 48 deletions(-) diff --git a/api-specs/rest-api/5.0/paths/access/getEntDetailsforUsers.yaml b/api-specs/rest-api/5.0/paths/access/getEntDetailsforUsers.yaml index 7220005..0851e2b 100644 --- a/api-specs/rest-api/5.0/paths/access/getEntDetailsforUsers.yaml +++ b/api-specs/rest-api/5.0/paths/access/getEntDetailsforUsers.yaml @@ -133,10 +133,14 @@ get: type: string example: AWS entdescription: - type: string + type: + - string + - 'null' example: null entdisplayname: - type: string + type: + - string + - 'null' example: null entitlementType: type: string diff --git a/api-specs/rest-api/5.0/paths/campaigns/campaign-application-owner/fetchAppOwnerCampaignAccEntDetails.yaml b/api-specs/rest-api/5.0/paths/campaigns/campaign-application-owner/fetchAppOwnerCampaignAccEntDetails.yaml index ee96257..b723d80 100644 --- a/api-specs/rest-api/5.0/paths/campaigns/campaign-application-owner/fetchAppOwnerCampaignAccEntDetails.yaml +++ b/api-specs/rest-api/5.0/paths/campaigns/campaign-application-owner/fetchAppOwnerCampaignAccEntDetails.yaml @@ -125,11 +125,17 @@ post: type: number example: 227493 certified: - type: string + type: + - string + - 'null' comments: - type: string + type: + - string + - 'null' displayname: - type: string + type: + - string + - 'null' endpoint: type: string example: Banking Application @@ -144,11 +150,17 @@ post: type: string example: Ohjae lastCertifiedCampaignName: - type: string + type: + - string + - 'null' lastCertifiedUser: - type: number + type: + - number + - 'null' securitySystem: - type: string + type: + - string + - 'null' example: Banking Application systemUserName: type: string diff --git a/api-specs/rest-api/5.0/paths/campaigns/campaign-entitlement-owner/fetchEntOwnerCampaignAccEntDetails.yaml b/api-specs/rest-api/5.0/paths/campaigns/campaign-entitlement-owner/fetchEntOwnerCampaignAccEntDetails.yaml index 23053c2..9f37306 100644 --- a/api-specs/rest-api/5.0/paths/campaigns/campaign-entitlement-owner/fetchEntOwnerCampaignAccEntDetails.yaml +++ b/api-specs/rest-api/5.0/paths/campaigns/campaign-entitlement-owner/fetchEntOwnerCampaignAccEntDetails.yaml @@ -408,7 +408,7 @@ post: accountname: admin certaccountkey: 192406 certfied: NORESPONSE - comment: null + comment: '' consulted: 'no' endpoint: SaviyntLinuxServer lastCertifiedCampaignName: '' @@ -421,7 +421,7 @@ post: accountname: U037787 certaccountkey: 192407 certfied: NORESPONSE - comment: null + comment: '' consulted: 'no' endpoint: SaviyntLinuxServer lastCertifiedCampaignName: '' @@ -433,7 +433,7 @@ post: accounttotalcount: 10 certentvalkey: 1530363 certfied: APPROVED - comment: null + comment: '' consulted: 'no' entitlement2displaycount: 0 entitlement2totalcount: 0 diff --git a/api-specs/rest-api/5.0/paths/campaigns/campaign-entitlement-owner/getFlatResponseEntOwnerCampaignAccEntDetails.yaml b/api-specs/rest-api/5.0/paths/campaigns/campaign-entitlement-owner/getFlatResponseEntOwnerCampaignAccEntDetails.yaml index d29fd6b..4c2c071 100644 --- a/api-specs/rest-api/5.0/paths/campaigns/campaign-entitlement-owner/getFlatResponseEntOwnerCampaignAccEntDetails.yaml +++ b/api-specs/rest-api/5.0/paths/campaigns/campaign-entitlement-owner/getFlatResponseEntOwnerCampaignAccEntDetails.yaml @@ -123,37 +123,61 @@ post: type: number example: 0 Ent_entitlement_value: - type: string + type: + - string + - 'null' example: audio Ent_risk: - type: string + type: + - string + - 'null' Ent_status: type: number example: 1 User_lastCertifiedCampaignName: - type: string + type: + - string + - 'null' User_lastCertifiedDate: - type: string + type: + - string + - 'null' User_lastCertifiedUser: - type: string + type: + - string + - 'null' User_systemUserName: - type: string + type: + - string + - 'null' example: admin User_username: - type: string + type: + - string + - 'null' example: admin accComment: - type: string + type: + - string + - 'null' accHistory: - type: string + type: + - string + - 'null' accStatus: - type: string + type: + - string + - 'null' example: '1' accountCertfied: - type: string + type: + - string + - 'null' example: NORESPONSE accountCount: - type: number + type: + - number + - 'null' example: 10 accountname: type: string @@ -162,7 +186,9 @@ post: type: number example: 192406 certentval2key: - type: number + type: + - number + - 'null' example: null certentvalkey: type: number @@ -177,33 +203,53 @@ post: type: string example: SaviyntLinuxServer ent2History: - type: string + type: + - string + - 'null' ent2Status: - type: number + type: + - number + - 'null' example: null ent2certified: - type: string + type: + - string + - 'null' ent2comments: - type: string + type: + - string + - 'null' ent2name: - type: string + type: + - string + - 'null' example: null entCertfied: type: string example: APPROVED entComment: - type: string + type: + - string + - 'null' example: null entStatus: - type: number + type: + - number + - 'null' example: 1 entcriticality: - type: number + type: + - number + - 'null' example: 0 entitlement2count: - type: number + type: + - number + - 'null' entitlementcount: - type: number + type: + - number + - 'null' example: 1 enttype: type: string @@ -215,7 +261,9 @@ post: type: string example: In progress userStatus: - type: number + type: + - number + - 'null' example: - Ent_SOX_CRITICAL: 0 Ent_SYS_CRITICAL: 0 diff --git a/api-specs/rest-api/5.0/paths/campaigns/campaign-user-manager/certifyUserManagerforCampaign.yaml b/api-specs/rest-api/5.0/paths/campaigns/campaign-user-manager/certifyUserManagerforCampaign.yaml index 9f4b642..6a1670f 100644 --- a/api-specs/rest-api/5.0/paths/campaigns/campaign-user-manager/certifyUserManagerforCampaign.yaml +++ b/api-specs/rest-api/5.0/paths/campaigns/campaign-user-manager/certifyUserManagerforCampaign.yaml @@ -118,6 +118,9 @@ post: employee: type: string example: acook + action: + type: string + example: acook errorCode: type: string example: '0' @@ -127,6 +130,12 @@ post: msg: type: string example: success + campaignId: + type: string + example: success + verifier: + type: string + example: success example: - employee: acook errorCode: '0' diff --git a/api-specs/rest-api/5.0/paths/request/request-role/createEnterpriseRoleRequest.yaml b/api-specs/rest-api/5.0/paths/request/request-role/createEnterpriseRoleRequest.yaml index d2ccde0..2d1df85 100644 --- a/api-specs/rest-api/5.0/paths/request/request-role/createEnterpriseRoleRequest.yaml +++ b/api-specs/rest-api/5.0/paths/request/request-role/createEnterpriseRoleRequest.yaml @@ -3,18 +3,35 @@ post: - request-role summary: Create Role Request description: >- - This API call can be used for creating a new role and assigning an owner to - the role. The `Authorization` must have `Bearer` followed by `Token`. - Mandatory params: `roletype` - Use the roletype as "ENTERPRISE" to Create - Enterprise Role Request. (supported roletypes - ENABLER/ TRANSACTIONAL/ - FIREFIGHTER/ ENTERPRISE/ APPLICATION), `role_name`, `requestor`, - `owner` 1\. `ownerName` 2\. `rank`<1 to 27>, Optional params: - `customproperty<1 to 60>`, `endpointname`, `defaulttimeframe`, - `description`, `displayname`, `glossary`, `risk`, `level`, - `soxcritical`, `syscritical`, `priviliged`, `confidentiality`, - `requestable`, `showDynamicAttrs, checksod:`Set this parameter to - evaluate Segregation of Duties (SOD) violations. By default, the parameter - is set to false. + This API call can be used for creating a new role and assigning an owner + to the role. + The `Authorization` must have `Bearer` followed by `Token`. + Mandatory params: + `roletype` - Use the roletype as "ENTERPRISE" to Create Enterprise Role + Request. (supported roletypes - ENABLER/ TRANSACTIONAL/ FIREFIGHTER/ + ENTERPRISE/ APPLICATION), + `role_name`, + `requestor`, + `owner` + 1. `ownerName` + 2. `rank`<1 to 27>, + Optional params: + `customproperty<1 to 60>`, + `endpointname`, + `defaulttimeframe`, + `description`, + `displayname`, + `glossary`, + `risk`, + `level`, + `soxcritical`, + `syscritical`, + `priviliged`, + `confidentiality`, + `requestable`, + `showDynamicAttrs, checksod:`Set this parameter to evaluate + Segregation of Duties (SOD) violations. By default, the parameter is set + to false. operationId: createRoleRequest requestBody: content: diff --git a/api-specs/rest-api/5.0/paths/users/getUser.yaml b/api-specs/rest-api/5.0/paths/users/getUser.yaml index 1b87aad..00b17f5 100644 --- a/api-specs/rest-api/5.0/paths/users/getUser.yaml +++ b/api-specs/rest-api/5.0/paths/users/getUser.yaml @@ -107,6 +107,89 @@ post: username: type: string example: johndoe + accountExpired: + type: string + accountLocked: + type: string + example: 'false' + city: + type: string + example: San Francisco + companyname: + type: string + example: Global Modern Services, Inc. (USA) + costcenter: + type: string + example: GMS USA + country: + type: string + example: USA + createdate: + type: string + example: 06/08/2020T10:35:46+0000 + customer: + type: string + example: testorg + customproperty1: + type: string + example: 3aa5550b7fe348b98d7b5741afc65534 + displayname: + type: string + example: Logan McNeil + email: + type: string + example: test@gmail.com + employeeType: + type: string + example: Regular + employeeid: + type: string + example: '21001' + enabled: + type: string + example: 'true' + encryptedSecurityAnswers: + type: string + example: lhCSZZbYyxHaRZN6L9s4IPXAIwx86J87GEXwt5wIutPnEGkywv4W9UImm9u+qlk67bTNecLwHBClApo9olYBEceyC+h4gcLrjWwLOLlJ3Wc= + failedTries: + type: string + example: '0' + lastPasswordUpdateDate: + type: string + example: 07/23/2020T18:25:58+0000 + lastname: + type: string + example: McNeil + location: + type: string + example: San Francisco + passwordExpired: + type: string + example: 'false' + phonenumber: + type: string + example: 415789-8904 + preferedFirstName: + type: string + example: Logan + savUpdateDate: + type: string + example: 06/08/2020T10:36:03+0000 + systemUserName: + type: string + example: lmcneil + title: + type: string + example: Chief Human Resources Officer + updatedate: + type: string + example: 07/23/2020T18:25:58+0000 + updateuser: + type: string + example: admin + userSource: + type: string + example: '127' example: - firstname: John statuskey: '1' diff --git a/redocly.yaml b/redocly.yaml index d19adb8..d291192 100644 --- a/redocly.yaml +++ b/redocly.yaml @@ -12,7 +12,6 @@ rules: assertions: defined: true minLength: 30 - theme: openapi: generateCodeSamples: