@itentialopensource/adapter-delinea 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +6 -0
- package/.eslintrc.js +18 -0
- package/.gitlab/.gitkeep +0 -0
- package/.gitlab/issue_templates/.gitkeep +0 -0
- package/.gitlab/issue_templates/Default.md +17 -0
- package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
- package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
- package/.jshintrc +0 -0
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +4964 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +172 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +337 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +66067 -0
- package/adapterBase.js +1787 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/Activations/action.json +24 -0
- package/entities/Activations/schema.json +19 -0
- package/entities/ActiveDirectory/action.json +24 -0
- package/entities/ActiveDirectory/schema.json +19 -0
- package/entities/ApiToken/action.json +25 -0
- package/entities/ApiToken/schema.json +19 -0
- package/entities/AppClients/action.json +106 -0
- package/entities/AppClients/schema.json +23 -0
- package/entities/ApplicationAccounts/action.json +25 -0
- package/entities/ApplicationAccounts/schema.json +85 -0
- package/entities/ApplicationRequest/action.json +87 -0
- package/entities/ApplicationRequest/schema.json +77 -0
- package/entities/CategorizedLists/action.json +370 -0
- package/entities/CategorizedLists/schema.json +124 -0
- package/entities/CharacterSets/action.json +107 -0
- package/entities/CharacterSets/schema.json +67 -0
- package/entities/Configuration/action.json +1416 -0
- package/entities/Configuration/mockdatafiles/configurationServiceGetSiteConnectors-default.json +7 -0
- package/entities/Configuration/schema.json +131 -0
- package/entities/ConnectionManagerSettings/action.json +25 -0
- package/entities/ConnectionManagerSettings/schema.json +19 -0
- package/entities/DevOpsSecretsVaultSync/action.json +106 -0
- package/entities/DevOpsSecretsVaultSync/mockdatafiles/devOpsSecretsVaultSyncServiceSyncSecret-default.json +439 -0
- package/entities/DevOpsSecretsVaultSync/schema.json +89 -0
- package/entities/DevOpsSecretsVaultTenant/action.json +128 -0
- package/entities/DevOpsSecretsVaultTenant/schema.json +101 -0
- package/entities/Diagnostics/action.json +295 -0
- package/entities/Diagnostics/mockdatafiles/diagnosticsServiceGetBackgroundProcesses-default.json +10 -0
- package/entities/Diagnostics/mockdatafiles/diagnosticsServiceGetQuartzJobs-default.json +34 -0
- package/entities/Diagnostics/schema.json +32 -0
- package/entities/DiagnosticsV2/action.json +25 -0
- package/entities/DiagnosticsV2/schema.json +74 -0
- package/entities/DirectoryServices/action.json +333 -0
- package/entities/DirectoryServices/schema.json +122 -0
- package/entities/DisasterRecovery/action.json +289 -0
- package/entities/DisasterRecovery/schema.json +87 -0
- package/entities/Discovery/action.json +375 -0
- package/entities/Discovery/mockdatafiles/discoveryServiceGetAvailableDiscoverySourceScanners-default.json +23 -0
- package/entities/Discovery/mockdatafiles/discoveryServiceGetScanTypes-default.json +17 -0
- package/entities/Discovery/mockdatafiles/discoveryServiceSearchDiscoverySourceScannerSettings-default.json +10 -0
- package/entities/Discovery/mockdatafiles/discoveryServiceSearchForDomainOu-default.json +10 -0
- package/entities/Discovery/schema.json +124 -0
- package/entities/DistributedEngine/action.json +561 -0
- package/entities/DistributedEngine/mockdatafiles/distributedEngineServiceGetServerCapabilities-default.json +22 -0
- package/entities/DistributedEngine/schema.json +199 -0
- package/entities/DomainNameIndex/action.json +145 -0
- package/entities/DomainNameIndex/schema.json +91 -0
- package/entities/DualControls/action.json +189 -0
- package/entities/DualControls/mockdatafiles/dualControlsServiceGetTypes-default.json +18 -0
- package/entities/DualControls/schema.json +71 -0
- package/entities/Enterprise/action.json +45 -0
- package/entities/Enterprise/schema.json +20 -0
- package/entities/EventPipeline/action.json +189 -0
- package/entities/EventPipeline/mockdatafiles/eventPipelineServiceReorderPipeline-default.json +8 -0
- package/entities/EventPipeline/schema.json +137 -0
- package/entities/EventPipelineAudit/action.json +25 -0
- package/entities/EventPipelineAudit/schema.json +63 -0
- package/entities/EventPipelinePolicy/action.json +414 -0
- package/entities/EventPipelinePolicy/mockdatafiles/eventPipelinePolicyServiceGetChildFolderDataForPipelinePolicyFolder-default.json +22 -0
- package/entities/EventPipelinePolicy/mockdatafiles/eventPipelinePolicyServiceGetEventPipelinePolicyRunActivity-default.json +22 -0
- package/entities/EventPipelinePolicy/mockdatafiles/eventPipelinePolicyServiceGetFoldersForPipelinePolicies-default.json +20 -0
- package/entities/EventPipelinePolicy/mockdatafiles/eventPipelinePolicyServiceGetGroupsForPipelinePolicies-default.json +16 -0
- package/entities/EventPipelinePolicy/schema.json +148 -0
- package/entities/EventPipelineSettings/action.json +109 -0
- package/entities/EventPipelineSettings/mockdatafiles/eventPipelineSettingsServiceGetEventPipelineFilterSettings-default.json +294 -0
- package/entities/EventPipelineSettings/mockdatafiles/eventPipelineSettingsServiceGetEventPipelineTaskSettings-default.json +222 -0
- package/entities/EventPipelineSettings/mockdatafiles/eventPipelineSettingsServiceGetPipelineFilterOptions-default.json +29 -0
- package/entities/EventPipelineSettings/mockdatafiles/eventPipelineSettingsServiceGetPipelineTaskOptions-default.json +22 -0
- package/entities/EventPipelineSettings/schema.json +67 -0
- package/entities/EventPipelineTrigger/action.json +67 -0
- package/entities/EventPipelineTrigger/mockdatafiles/eventPipelineTriggerServiceGetEventPipelineTriggerOptions-default.json +18 -0
- package/entities/EventPipelineTrigger/mockdatafiles/eventPipelineTriggerServiceGetEventPipelineTriggers-default.json +26 -0
- package/entities/EventPipelineTrigger/schema.json +21 -0
- package/entities/EventSubscriptions/action.json +128 -0
- package/entities/EventSubscriptions/mockdatafiles/eventSubscriptionsServiceGetSubscriptionEntityTypes-default.json +348 -0
- package/entities/EventSubscriptions/schema.json +68 -0
- package/entities/ExtendedFields/action.json +25 -0
- package/entities/ExtendedFields/schema.json +19 -0
- package/entities/FolderPermissions/action.json +127 -0
- package/entities/FolderPermissions/schema.json +123 -0
- package/entities/Folders/action.json +331 -0
- package/entities/Folders/schema.json +122 -0
- package/entities/Groups/action.json +392 -0
- package/entities/Groups/schema.json +147 -0
- package/entities/HealthCheck/action.json +25 -0
- package/entities/HealthCheck/schema.json +19 -0
- package/entities/HsmConfiguration/action.json +25 -0
- package/entities/HsmConfiguration/schema.json +63 -0
- package/entities/Inbox/action.json +455 -0
- package/entities/Inbox/mockdatafiles/inboxServiceGetInboxMessageDataNames-default.json +14 -0
- package/entities/Inbox/mockdatafiles/inboxServiceGetInboxMessageTypes-default.json +22 -0
- package/entities/Inbox/schema.json +205 -0
- package/entities/InboxRules/action.json +331 -0
- package/entities/InboxRules/schema.json +265 -0
- package/entities/IpAddressRestrictions/action.json +312 -0
- package/entities/IpAddressRestrictions/schema.json +66 -0
- package/entities/JumpboxRoute/action.json +209 -0
- package/entities/JumpboxRoute/schema.json +94 -0
- package/entities/KeyManagement/action.json +169 -0
- package/entities/KeyManagement/mockdatafiles/keyManagementServiceGetKeyRotationAuditUsers-default.json +14 -0
- package/entities/KeyManagement/schema.json +103 -0
- package/entities/LauncherAgents/action.json +190 -0
- package/entities/LauncherAgents/schema.json +104 -0
- package/entities/Launchers/action.json +129 -0
- package/entities/Launchers/schema.json +90 -0
- package/entities/License/action.json +25 -0
- package/entities/License/schema.json +19 -0
- package/entities/Metadata/action.json +168 -0
- package/entities/Metadata/schema.json +125 -0
- package/entities/Mobile/action.json +25 -0
- package/entities/Mobile/schema.json +19 -0
- package/entities/OAuthExpiration/action.json +24 -0
- package/entities/OAuthExpiration/schema.json +19 -0
- package/entities/OneTimePasswordCode/action.json +25 -0
- package/entities/OneTimePasswordCode/mockdatafiles/oneTimePasswordCodeServiceGet-default.json +12 -0
- package/entities/OneTimePasswordCode/schema.json +19 -0
- package/entities/PasswordRequirements/action.json +106 -0
- package/entities/PasswordRequirements/schema.json +56 -0
- package/entities/PbaConfiguration/action.json +125 -0
- package/entities/PbaConfiguration/schema.json +24 -0
- package/entities/Proxy/action.json +476 -0
- package/entities/Proxy/mockdatafiles/proxyServiceGetTerminalClientOverrides-default.json +17 -0
- package/entities/Proxy/schema.json +140 -0
- package/entities/RemotePasswordChanging/action.json +187 -0
- package/entities/RemotePasswordChanging/schema.json +93 -0
- package/entities/Reports/action.json +803 -0
- package/entities/Reports/mockdatafiles/reportsServiceGetCategories-default.json +22 -0
- package/entities/Reports/mockdatafiles/reportsServiceGetChartTypes-default.json +14 -0
- package/entities/Reports/mockdatafiles/reportsServiceGetReportCategoryPermissionOptions-default.json +14 -0
- package/entities/Reports/mockdatafiles/reportsServiceGetReportPermissionOptions-default.json +10 -0
- package/entities/Reports/schema.json +156 -0
- package/entities/RoleAudit/action.json +25 -0
- package/entities/RoleAudit/schema.json +63 -0
- package/entities/RolePermissions/action.json +25 -0
- package/entities/RolePermissions/schema.json +19 -0
- package/entities/Roles/action.json +210 -0
- package/entities/Roles/schema.json +116 -0
- package/entities/Schedule/action.json +65 -0
- package/entities/Schedule/schema.json +21 -0
- package/entities/Script/action.json +66 -0
- package/entities/Script/schema.json +76 -0
- package/entities/SdkClientAccounts/action.json +147 -0
- package/entities/SdkClientAccounts/schema.json +91 -0
- package/entities/SdkClientAudits/action.json +25 -0
- package/entities/SdkClientAudits/schema.json +85 -0
- package/entities/SdkClientRules/action.json +148 -0
- package/entities/SdkClientRules/schema.json +91 -0
- package/entities/SecretAccessRequests/action.json +190 -0
- package/entities/SecretAccessRequests/schema.json +82 -0
- package/entities/SecretDependencies/action.json +251 -0
- package/entities/SecretDependencies/mockdatafiles/secretDependenciesServiceGetScripts-default.json +49 -0
- package/entities/SecretDependencies/mockdatafiles/secretDependenciesServiceGetTemplates-default.json +9 -0
- package/entities/SecretDependencies/schema.json +129 -0
- package/entities/SecretEraseRequests/action.json +170 -0
- package/entities/SecretEraseRequests/schema.json +114 -0
- package/entities/SecretExtensions/action.json +105 -0
- package/entities/SecretExtensions/mockdatafiles/secretExtensionsServiceGetWebSecretTemplates-default.json +706 -0
- package/entities/SecretExtensions/mockdatafiles/secretExtensionsServiceSearch-default.json +32 -0
- package/entities/SecretExtensions/mockdatafiles/secretExtensionsServiceSearchActiveDirectorySecrets-default.json +16 -0
- package/entities/SecretExtensions/mockdatafiles/secretExtensionsServiceSearchWindowsAccountSecrets-default.json +44 -0
- package/entities/SecretExtensions/schema.json +23 -0
- package/entities/SecretHealth/action.json +25 -0
- package/entities/SecretHealth/schema.json +63 -0
- package/entities/SecretHooks/action.json +230 -0
- package/entities/SecretHooks/mockdatafiles/secretHooksServiceGetHooks-default.json +54 -0
- package/entities/SecretHooks/mockdatafiles/secretHooksServiceGetHooksV2-default.json +54 -0
- package/entities/SecretHooks/schema.json +29 -0
- package/entities/SecretPermissions/action.json +147 -0
- package/entities/SecretPermissions/schema.json +124 -0
- package/entities/SecretPolicy/action.json +149 -0
- package/entities/SecretPolicy/schema.json +80 -0
- package/entities/SecretServerSettings/action.json +86 -0
- package/entities/SecretServerSettings/schema.json +22 -0
- package/entities/SecretSessions/action.json +150 -0
- package/entities/SecretSessions/schema.json +256 -0
- package/entities/SecretTemplatePermissions/action.json +107 -0
- package/entities/SecretTemplatePermissions/mockdatafiles/secretTemplatePermissionsServiceGetTemplatePermissionRoles-default.json +18 -0
- package/entities/SecretTemplatePermissions/schema.json +111 -0
- package/entities/SecretTemplates/action.json +822 -0
- package/entities/SecretTemplates/mockdatafiles/secretTemplatesServiceGetPasswordDictionaries-default.json +14 -0
- package/entities/SecretTemplates/schema.json +168 -0
- package/entities/Secrets/action.json +1101 -0
- package/entities/Secrets/mockdatafiles/secretsServiceGetFavorites-default.json +26 -0
- package/entities/Secrets/mockdatafiles/secretsServiceGetSecretExtendedSearchDetails-default.json +34 -0
- package/entities/Secrets/schema.json +391 -0
- package/entities/SecurityAuditLogs/action.json +25 -0
- package/entities/SecurityAuditLogs/schema.json +74 -0
- package/entities/ServerNodes/action.json +66 -0
- package/entities/ServerNodes/mockdatafiles/serverNodesServiceGetList-default.json +59 -0
- package/entities/ServerNodes/schema.json +21 -0
- package/entities/Sites/action.json +25 -0
- package/entities/Sites/mockdatafiles/sitesServiceGet-default.json +7 -0
- package/entities/Sites/schema.json +19 -0
- package/entities/Slack/action.json +106 -0
- package/entities/Slack/schema.json +23 -0
- package/entities/SshCommand/action.json +107 -0
- package/entities/SshCommand/schema.json +78 -0
- package/entities/SshCommandBlocklist/action.json +128 -0
- package/entities/SshCommandBlocklist/schema.json +101 -0
- package/entities/SshCommandMenu/action.json +149 -0
- package/entities/SshCommandMenu/schema.json +91 -0
- package/entities/Teams/action.json +251 -0
- package/entities/Teams/mockdatafiles/teamsServiceAddTeamMember-default.json +30 -0
- package/entities/Teams/mockdatafiles/teamsServiceAddTeamSite-default.json +14 -0
- package/entities/Teams/mockdatafiles/teamsServiceGetTeamMembers-default.json +23 -0
- package/entities/Teams/mockdatafiles/teamsServiceGetTeamSites-default.json +20 -0
- package/entities/Teams/schema.json +85 -0
- package/entities/TicketSystems/action.json +128 -0
- package/entities/TicketSystems/mockdatafiles/ticketSystemsServiceGetTicketSystems-default.json +24 -0
- package/entities/TicketSystems/schema.json +57 -0
- package/entities/Users/action.json +841 -0
- package/entities/Users/schema.json +202 -0
- package/entities/Version/action.json +25 -0
- package/entities/Version/schema.json +19 -0
- package/entities/WorkflowInstances/action.json +25 -0
- package/entities/WorkflowInstances/mockdatafiles/workflowInstancesServiceGetByTemplateId-default.json +47 -0
- package/entities/WorkflowInstances/schema.json +19 -0
- package/entities/WorkflowStepTemplates/action.json +127 -0
- package/entities/WorkflowStepTemplates/mockdatafiles/workflowStepTemplatesServiceUpdateStep-default.json +43 -0
- package/entities/WorkflowStepTemplates/schema.json +57 -0
- package/entities/WorkflowTemplates/action.json +169 -0
- package/entities/WorkflowTemplates/schema.json +81 -0
- package/error.json +190 -0
- package/package.json +85 -0
- package/pronghorn.json +47291 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1248 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/Delinea_Swagger.json-OpenApi3Json.json +135346 -0
- package/report/adapterInfo.json +10 -0
- package/report/creationReport.json +5205 -0
- package/sampleProperties.json +195 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +20829 -0
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +18668 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +178 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +246 -0
- package/utils/tbUtils.js +490 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +195 -0
- package/workflows/README.md +3 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "workflowTemplatesServiceSearchWorkflowTemplates",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/v1/workflows/templates?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": ""
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "workflowTemplatesServiceCreateWorkflowTemplate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/v1/workflows/templates?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "workflowTemplatesServiceStubWorkflowTemplate",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/v1/workflows/templates/stub?{query}",
|
|
49
|
+
"requestSchema": "schema.json",
|
|
50
|
+
"responseSchema": "schema.json",
|
|
51
|
+
"timeout": 0,
|
|
52
|
+
"sendEmpty": false,
|
|
53
|
+
"sendGetBody": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": ""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "workflowTemplatesServiceGetTemplate",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "GET",
|
|
69
|
+
"entitypath": "{base_path}/{version}/v1/workflows/templates/{pathv1}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"sendGetBody": false,
|
|
75
|
+
"requestDatatype": "JSON",
|
|
76
|
+
"responseDatatype": "JSON",
|
|
77
|
+
"headers": {},
|
|
78
|
+
"responseObjects": [
|
|
79
|
+
{
|
|
80
|
+
"type": "default",
|
|
81
|
+
"key": "",
|
|
82
|
+
"mockFile": ""
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "workflowTemplatesServiceUpdateWorkflowTemplate",
|
|
88
|
+
"protocol": "REST",
|
|
89
|
+
"method": "PUT",
|
|
90
|
+
"entitypath": "{base_path}/{version}/v1/workflows/templates/{pathv1}?{query}",
|
|
91
|
+
"requestSchema": "schema.json",
|
|
92
|
+
"responseSchema": "schema.json",
|
|
93
|
+
"timeout": 0,
|
|
94
|
+
"sendEmpty": false,
|
|
95
|
+
"requestDatatype": "JSON",
|
|
96
|
+
"responseDatatype": "JSON",
|
|
97
|
+
"headers": {},
|
|
98
|
+
"responseObjects": [
|
|
99
|
+
{
|
|
100
|
+
"type": "default",
|
|
101
|
+
"key": "",
|
|
102
|
+
"mockFile": ""
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "workflowTemplatesServiceSearchTemplateAudit",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "GET",
|
|
110
|
+
"entitypath": "{base_path}/{version}/v1/workflows/templates/{pathv1}/audits?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"sendGetBody": false,
|
|
116
|
+
"requestDatatype": "JSON",
|
|
117
|
+
"responseDatatype": "JSON",
|
|
118
|
+
"headers": {},
|
|
119
|
+
"responseObjects": [
|
|
120
|
+
{
|
|
121
|
+
"type": "default",
|
|
122
|
+
"key": "",
|
|
123
|
+
"mockFile": ""
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "workflowTemplatesServiceGetWorkflowEntities",
|
|
129
|
+
"protocol": "REST",
|
|
130
|
+
"method": "GET",
|
|
131
|
+
"entitypath": "{base_path}/{version}/v1/workflows/templates/{pathv1}/entities/{pathv2}?{query}",
|
|
132
|
+
"requestSchema": "schema.json",
|
|
133
|
+
"responseSchema": "schema.json",
|
|
134
|
+
"timeout": 0,
|
|
135
|
+
"sendEmpty": false,
|
|
136
|
+
"sendGetBody": false,
|
|
137
|
+
"requestDatatype": "JSON",
|
|
138
|
+
"responseDatatype": "JSON",
|
|
139
|
+
"headers": {},
|
|
140
|
+
"responseObjects": [
|
|
141
|
+
{
|
|
142
|
+
"type": "default",
|
|
143
|
+
"key": "",
|
|
144
|
+
"mockFile": ""
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "workflowTemplatesServiceCancelRequest",
|
|
150
|
+
"protocol": "REST",
|
|
151
|
+
"method": "POST",
|
|
152
|
+
"entitypath": "{base_path}/{version}/v1/workflows/templates/{pathv1}/cancel-requests?{query}",
|
|
153
|
+
"requestSchema": "schema.json",
|
|
154
|
+
"responseSchema": "schema.json",
|
|
155
|
+
"timeout": 0,
|
|
156
|
+
"sendEmpty": false,
|
|
157
|
+
"requestDatatype": "JSON",
|
|
158
|
+
"responseDatatype": "JSON",
|
|
159
|
+
"headers": {},
|
|
160
|
+
"responseObjects": [
|
|
161
|
+
{
|
|
162
|
+
"type": "default",
|
|
163
|
+
"key": "",
|
|
164
|
+
"mockFile": ""
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "workflowTemplatesServiceSearchWorkflowTemplates",
|
|
12
|
+
"enum": [
|
|
13
|
+
"workflowTemplatesServiceSearchWorkflowTemplates",
|
|
14
|
+
"workflowTemplatesServiceCreateWorkflowTemplate",
|
|
15
|
+
"workflowTemplatesServiceStubWorkflowTemplate",
|
|
16
|
+
"workflowTemplatesServiceGetTemplate",
|
|
17
|
+
"workflowTemplatesServiceUpdateWorkflowTemplate",
|
|
18
|
+
"workflowTemplatesServiceSearchTemplateAudit",
|
|
19
|
+
"workflowTemplatesServiceGetWorkflowEntities",
|
|
20
|
+
"workflowTemplatesServiceCancelRequest"
|
|
21
|
+
],
|
|
22
|
+
"external_name": "ph_request_type"
|
|
23
|
+
},
|
|
24
|
+
"filterIncludeInactive": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "IncludeInactive",
|
|
27
|
+
"parse": false,
|
|
28
|
+
"encode": false,
|
|
29
|
+
"encrypt": {
|
|
30
|
+
"type": "AES",
|
|
31
|
+
"key": ""
|
|
32
|
+
},
|
|
33
|
+
"external_name": "filter.includeInactive"
|
|
34
|
+
},
|
|
35
|
+
"filterWorkflowType": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "WorkflowType",
|
|
38
|
+
"parse": false,
|
|
39
|
+
"encode": false,
|
|
40
|
+
"encrypt": {
|
|
41
|
+
"type": "AES",
|
|
42
|
+
"key": ""
|
|
43
|
+
},
|
|
44
|
+
"external_name": "filter.workflowType"
|
|
45
|
+
},
|
|
46
|
+
"sortBy0Direction": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Sort direction",
|
|
49
|
+
"parse": false,
|
|
50
|
+
"encode": false,
|
|
51
|
+
"encrypt": {
|
|
52
|
+
"type": "AES",
|
|
53
|
+
"key": ""
|
|
54
|
+
},
|
|
55
|
+
"external_name": "sortBy[0].direction"
|
|
56
|
+
},
|
|
57
|
+
"sortBy0Name": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "Sort field name",
|
|
60
|
+
"parse": false,
|
|
61
|
+
"encode": false,
|
|
62
|
+
"encrypt": {
|
|
63
|
+
"type": "AES",
|
|
64
|
+
"key": ""
|
|
65
|
+
},
|
|
66
|
+
"external_name": "sortBy[0].name"
|
|
67
|
+
},
|
|
68
|
+
"sortBy0Priority": {
|
|
69
|
+
"type": "number",
|
|
70
|
+
"description": "Priority index. Sorts with lower values are executed earlier",
|
|
71
|
+
"parse": false,
|
|
72
|
+
"encode": false,
|
|
73
|
+
"encrypt": {
|
|
74
|
+
"type": "AES",
|
|
75
|
+
"key": ""
|
|
76
|
+
},
|
|
77
|
+
"external_name": "sortBy[0].priority"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"definitions": {}
|
|
81
|
+
}
|
package/error.json
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": [
|
|
3
|
+
{
|
|
4
|
+
"key": "Unable To Save To Database",
|
|
5
|
+
"icode": "AD.100",
|
|
6
|
+
"displayString": "Error on saving to Database $VARIABLE$",
|
|
7
|
+
"recommendation": "Verify the database connectivity and credentials"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"key": "Database Error",
|
|
11
|
+
"icode": "AD.101",
|
|
12
|
+
"displayString": "Database Error: $VARIABLE$",
|
|
13
|
+
"recommendation": "Verify the database connectivity, schema and permissions"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"key": "Database Credentials",
|
|
17
|
+
"icode": "AD.102",
|
|
18
|
+
"displayString": "Database Error: Invalid Credentials",
|
|
19
|
+
"recommendation": "Verify the database credentials"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"key": "No Queue Item",
|
|
23
|
+
"icode": "AD.110",
|
|
24
|
+
"displayString": "Queue Item $VARIABLE$ not found in queue",
|
|
25
|
+
"recommendation": "Make sure the queue is working properly"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"key": "Unable To Create Queue",
|
|
29
|
+
"icode": "AD.111",
|
|
30
|
+
"displayString": "Unable to create queue: $VARIABLE$",
|
|
31
|
+
"recommendation": "Verify access to the database, redis or system memory"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "Queue Full",
|
|
35
|
+
"icode": "AD.112",
|
|
36
|
+
"displayString": "Request $VARIABLE$ Transaction $VARIABLE$ rejected - queue full at $VARIABLE$",
|
|
37
|
+
"recommendation": "Make sure the queue is working properly"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"key": "Unable To Clear Queue",
|
|
41
|
+
"icode": "AD.113",
|
|
42
|
+
"displayString": "Unable to clear queue: $VARIABLE$",
|
|
43
|
+
"recommendation": "Make sure the queue exists"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"key": "Unable To Claim Turn",
|
|
47
|
+
"icode": "AD.114",
|
|
48
|
+
"displayString": "Request $VARIABLE$ Transaction $VARIABLE$ unable to claim license: $VARIABLE$",
|
|
49
|
+
"recommendation": "Make sure the queue is working properly"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"key": "Unable To Free Turn",
|
|
53
|
+
"icode": "AD.115",
|
|
54
|
+
"displayString": "Request $VARIABLE$ Transaction $VARIABLE$ unable to free license: $VARIABLE$",
|
|
55
|
+
"recommendation": "Make sure the queue is working properly"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"key": "Item In Wrong State",
|
|
59
|
+
"icode": "AD.116",
|
|
60
|
+
"displayString": "Queue item is in the wrong state: $VARIABLE$ ",
|
|
61
|
+
"recommendation": "Make sure the queue is working properly"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"key": "Missing Data",
|
|
65
|
+
"icode": "AD.300",
|
|
66
|
+
"displayString": "$VARIABLE$ is required",
|
|
67
|
+
"recommendation": "Please provide the required data"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"key": "Missing File",
|
|
71
|
+
"icode": "AD.301",
|
|
72
|
+
"displayString": "Can not open file $VARIABLE$",
|
|
73
|
+
"recommendation": "Verify the file exists and has proper permissions"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"key": "Invalid Action File",
|
|
77
|
+
"icode": "AD.302",
|
|
78
|
+
"displayString": "Invalid action file: $VARIABLE$ in $VARIABLE$",
|
|
79
|
+
"recommendation": "Verify the action file"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"key": "Unsupported Protocol",
|
|
83
|
+
"icode": "AD.303",
|
|
84
|
+
"displayString": "Protocol $VARIABLE$ not currently supported",
|
|
85
|
+
"recommendation": "Verify the protocol on the action"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"key": "Invalid Schema File",
|
|
89
|
+
"icode": "AD.304",
|
|
90
|
+
"displayString": "Invalid schema file: $VARIABLE$ in $VARIABLE$",
|
|
91
|
+
"recommendation": "Verify the action file"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"key": "Invalid Properties",
|
|
95
|
+
"icode": "AD.305",
|
|
96
|
+
"displayString": "Invalid properties: $VARIABLE$",
|
|
97
|
+
"recommendation": "Verify the properties for the adapter"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"key": "Missing Properties",
|
|
101
|
+
"icode": "AD.306",
|
|
102
|
+
"displayString": "Property $VARIABLE$ is required",
|
|
103
|
+
"recommendation": "Please provide the required property"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"key": "Query Not Translated",
|
|
107
|
+
"icode": "AD.310",
|
|
108
|
+
"displayString": "Query Not Translated",
|
|
109
|
+
"recommendation": "Verify the information passed in the query object"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"key": "Payload Not Translated",
|
|
113
|
+
"icode": "AD.311",
|
|
114
|
+
"displayString": "Payload Not Translated",
|
|
115
|
+
"recommendation": "Verify the information passed in the payload object"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"key": "Schema Validation Failure",
|
|
119
|
+
"icode": "AD.312",
|
|
120
|
+
"displayString": "Schema validation failed on $VARIABLE$",
|
|
121
|
+
"recommendation": "Verify the information provided is in the correct format with everything required"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"key": "Entity Cache Not Loading",
|
|
125
|
+
"icode": "AD.320",
|
|
126
|
+
"displayString": "Could not load entity: $VARIABLE$, into cache",
|
|
127
|
+
"recommendation": "Verify the cache is working properly"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"key": "Error Verifying Entity Cache",
|
|
131
|
+
"icode": "AD.321",
|
|
132
|
+
"displayString": "Could not verify entity in cache",
|
|
133
|
+
"recommendation": "Verify the cache is working properly"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"key": "Unable To Authenticate",
|
|
137
|
+
"icode": "AD.400",
|
|
138
|
+
"displayString": "Unable to authenticate with $VARIABLE$, response $VARIABLE$",
|
|
139
|
+
"recommendation": "Verify the user credentials and check the response for more information"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"key": "Unable To Encode",
|
|
143
|
+
"icode": "AD.401",
|
|
144
|
+
"displayString": "Can not perform base64 encoding on $VARIABLE$",
|
|
145
|
+
"recommendation": "Check the authentication format"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"key": "Unable To Get Token",
|
|
149
|
+
"icode": "AD.402",
|
|
150
|
+
"displayString": "Unable to get token for user: $VARIABLE$",
|
|
151
|
+
"recommendation": "Verify the user credentials and the system information"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"key": "Error On Request",
|
|
155
|
+
"icode": "AD.500",
|
|
156
|
+
"displayString": "Error $VARIABLE$ received on request",
|
|
157
|
+
"recommendation": "Verify the request is accurate via debug logs and postman"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"key": "Request Timeout",
|
|
161
|
+
"icode": "AD.501",
|
|
162
|
+
"displayString": "The Adapter has run out of time for the request",
|
|
163
|
+
"recommendation": "Increase your adapter request.attempt_timeout property"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"key": "Invalid Response",
|
|
167
|
+
"icode": "AD.502",
|
|
168
|
+
"displayString": "Invalid response received for $VARIABLE$",
|
|
169
|
+
"recommendation": "Verify the request is accurate via debug logs and postman"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"key": "Failure Response",
|
|
173
|
+
"icode": "AD.503",
|
|
174
|
+
"displayString": "Failure response received for $VARIABLE$",
|
|
175
|
+
"recommendation": "Check the reason for failure in the stack trace"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"key": "Suspended Adapter",
|
|
179
|
+
"icode": "AD.600",
|
|
180
|
+
"displayString": "Adapter is suspended",
|
|
181
|
+
"recommendation": "Check if external system is functional and unsuspend if appropriate"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"key": "Caught Exception",
|
|
185
|
+
"icode": "AD.900",
|
|
186
|
+
"displayString": "Caught Exception $VARIABLE$",
|
|
187
|
+
"recommendation": "Evaluate why the exception took place"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@itentialopensource/adapter-delinea",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "This adapter integrates with system described as: Delinea Secret Server.",
|
|
5
|
+
"main": "adapter.js",
|
|
6
|
+
"wizardVersion": "2.44.15",
|
|
7
|
+
"engineVersion": "1.62.7",
|
|
8
|
+
"adapterType": "http",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
11
|
+
"preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
|
|
12
|
+
"deinstall": "node utils/removeHooks.js",
|
|
13
|
+
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
14
|
+
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
15
|
+
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
16
|
+
"test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
|
|
17
|
+
"test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
|
|
18
|
+
"test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
|
|
19
|
+
"test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
|
|
20
|
+
"adapter:install": "npm i && node utils/tbScript.js install",
|
|
21
|
+
"adapter:checkMigrate": "node utils/checkMigrate.js",
|
|
22
|
+
"adapter:findPath": "node utils/findPath.js",
|
|
23
|
+
"adapter:migrate": "node utils/modify.js -m",
|
|
24
|
+
"adapter:update": "node utils/modify.js -u",
|
|
25
|
+
"adapter:revert": "node utils/modify.js -r",
|
|
26
|
+
"troubleshoot": "node utils/tbScript.js troubleshoot",
|
|
27
|
+
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
28
|
+
"basicget": "node utils/tbScript.js basicget",
|
|
29
|
+
"connectivity": "node utils/tbScript.js connectivity",
|
|
30
|
+
"deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
|
|
31
|
+
"build": "npm run deploy"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"Itential",
|
|
35
|
+
"IAP",
|
|
36
|
+
"Automation",
|
|
37
|
+
"Integration",
|
|
38
|
+
"App-Artifacts",
|
|
39
|
+
"Adapter",
|
|
40
|
+
"delinea",
|
|
41
|
+
"Pre-Release"
|
|
42
|
+
],
|
|
43
|
+
"license": "Apache-2.0",
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">= 8.0.0",
|
|
46
|
+
"npm": ">= 6.0.0"
|
|
47
|
+
},
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "git@gitlab.com:itentialopensource/adapters/adapter-delinea.git"
|
|
51
|
+
},
|
|
52
|
+
"author": "Itential",
|
|
53
|
+
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-delinea#readme",
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@itentialopensource/adapter-utils": "^4.48.0",
|
|
56
|
+
"ajv": "^6.12.0",
|
|
57
|
+
"axios": "^0.21.0",
|
|
58
|
+
"commander": "^2.20.0",
|
|
59
|
+
"esprima": "^4.0.1",
|
|
60
|
+
"fs-extra": "^8.1.0",
|
|
61
|
+
"json-query": "^2.2.2",
|
|
62
|
+
"mocha": "^9.0.1",
|
|
63
|
+
"mocha-param": "^2.0.1",
|
|
64
|
+
"mongodb": "^4.1.0",
|
|
65
|
+
"network-diagnostics": "^0.5.3",
|
|
66
|
+
"nyc": "^15.1.0",
|
|
67
|
+
"prompts": "^2.4.2",
|
|
68
|
+
"readline-sync": "^1.4.10",
|
|
69
|
+
"semver": "^7.3.2",
|
|
70
|
+
"winston": "^3.3.3"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"chai": "^4.3.4",
|
|
74
|
+
"eslint": "^7.29.0",
|
|
75
|
+
"eslint-config-airbnb-base": "^14.2.1",
|
|
76
|
+
"eslint-plugin-import": "^2.23.4",
|
|
77
|
+
"eslint-plugin-json": "^3.0.0",
|
|
78
|
+
"package-json-validator": "^0.6.3",
|
|
79
|
+
"testdouble": "^3.16.1"
|
|
80
|
+
},
|
|
81
|
+
"resolutions": {
|
|
82
|
+
"minimist": "^1.2.5"
|
|
83
|
+
},
|
|
84
|
+
"private": false
|
|
85
|
+
}
|