@itentialopensource/adapter-beyond_trust 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 +1004 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +346 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TAB1.md +5 -0
- package/TAB2.md +2226 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +12401 -0
- package/adapterBase.js +1452 -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/GroupPolicy/action.json +495 -0
- package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyIndex-default.json +18 -0
- package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyJumpGroupIndex-default.json +12 -0
- package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyJumpointsIndex-default.json +8 -0
- package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyMemberIndex-default.json +26 -0
- package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyTeamIndex-default.json +10 -0
- package/entities/GroupPolicy/mockdatafiles/apiConfigGroupPolicyVaultAccountIndex-default.json +7 -0
- package/entities/GroupPolicy/schema.json +119 -0
- package/entities/JumpClient/action.json +147 -0
- package/entities/JumpClient/mockdatafiles/apiConfigJumpClientIndex-default.json +29 -0
- package/entities/JumpClient/schema.json +124 -0
- package/entities/JumpGroup/action.json +208 -0
- package/entities/JumpGroup/mockdatafiles/apiConfigJumpGroupIndex-default.json +30 -0
- package/entities/JumpGroup/mockdatafiles/apiConfigJumpGroupUserIndex-default.json +7 -0
- package/entities/JumpGroup/schema.json +72 -0
- package/entities/JumpItem/action.json +370 -0
- package/entities/JumpItem/mockdatafiles/apiConfigJumpItemRemoteRdpIndex-default.json +52 -0
- package/entities/JumpItem/mockdatafiles/apiConfigJumpItemShellJumpIndex-default.json +70 -0
- package/entities/JumpItem/mockdatafiles/apiConfigJumpItemWebJumpIndex-default.json +38 -0
- package/entities/JumpItem/schema.json +91 -0
- package/entities/JumpItemRole/action.json +46 -0
- package/entities/JumpItemRole/mockdatafiles/apiConfigJumpItemRoleIndex-default.json +34 -0
- package/entities/JumpItemRole/schema.json +42 -0
- package/entities/JumpPolicy/action.json +127 -0
- package/entities/JumpPolicy/mockdatafiles/apiConfigJumpPolicyIndex-default.json +86 -0
- package/entities/JumpPolicy/schema.json +57 -0
- package/entities/Jumpoint/action.json +230 -0
- package/entities/Jumpoint/mockdatafiles/apiConfigJumpointIndex-default.json +50 -0
- package/entities/Jumpoint/schema.json +95 -0
- package/entities/OpenapiYaml/action.json +25 -0
- package/entities/OpenapiYaml/schema.json +19 -0
- package/entities/SecurityProvider/action.json +25 -0
- package/entities/SecurityProvider/mockdatafiles/apiConfigSecurityProviderIndex-default.json +26 -0
- package/entities/SecurityProvider/schema.json +41 -0
- package/entities/SessionPolicy/action.json +25 -0
- package/entities/SessionPolicy/mockdatafiles/apiConfigSessionPolicyIndex-default.json +20 -0
- package/entities/SessionPolicy/schema.json +41 -0
- package/entities/Team/action.json +208 -0
- package/entities/Team/mockdatafiles/apiConfigTeamIndex-default.json +14 -0
- package/entities/Team/mockdatafiles/apiConfigTeamUserIndex-default.json +7 -0
- package/entities/Team/schema.json +72 -0
- package/entities/User/action.json +106 -0
- package/entities/User/mockdatafiles/apiConfigUserIndex-default.json +18 -0
- package/entities/User/schema.json +67 -0
- package/entities/Vault/action.json +676 -0
- package/entities/Vault/mockdatafiles/apiConfigVaultAccountGroupAccountIndex-default.json +18 -0
- package/entities/Vault/mockdatafiles/apiConfigVaultAccountGroupUserIndex-default.json +22 -0
- package/entities/Vault/mockdatafiles/apiConfigVaultAccountIndex-default.json +22 -0
- package/entities/Vault/mockdatafiles/apiConfigVaultAccountUserIndex-default.json +6 -0
- package/entities/Vault/schema.json +128 -0
- package/entities/Vendor/action.json +208 -0
- package/entities/Vendor/mockdatafiles/apiConfigVendorIndex-default.json +32 -0
- package/entities/Vendor/mockdatafiles/apiConfigVendorUserIndex-default.json +17 -0
- package/entities/Vendor/schema.json +61 -0
- package/error.json +190 -0
- package/metadata.json +50 -0
- package/package.json +83 -0
- package/pronghorn.json +9958 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1569 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/bt-pra-configuration.openapi.yaml-OpenApi3.json +13155 -0
- package/report/creationReport.json +970 -0
- package/sampleProperties.json +256 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +142 -0
- package/test/integration/adapterTestIntegration.js +4162 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +6145 -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 +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +152 -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/taskMover.js +309 -0
- package/utils/tbScript.js +239 -0
- package/utils/tbUtils.js +489 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +193 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "apiConfigJumpItemRoleIndex",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/jump-item-role?{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": "mockdatafiles/apiConfigJumpItemRoleIndex-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "apiConfigJumpItemRoleShow",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"entitypath": "{base_path}/{version}/jump-item-role/{pathv1}?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "JSON",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": ""
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": 1,
|
|
4
|
+
"name": "string",
|
|
5
|
+
"description": "string",
|
|
6
|
+
"perm_add": false,
|
|
7
|
+
"perm_assign_jump_group": false,
|
|
8
|
+
"perm_remove": true,
|
|
9
|
+
"perm_start": false,
|
|
10
|
+
"perm_edit_tag": true,
|
|
11
|
+
"perm_edit_comments": true,
|
|
12
|
+
"perm_edit_jump_policy": true,
|
|
13
|
+
"perm_edit_session_policy": false,
|
|
14
|
+
"perm_edit_identity": false,
|
|
15
|
+
"perm_edit_behavior": false,
|
|
16
|
+
"perm_view_jump_item_report": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": 1,
|
|
20
|
+
"name": "string",
|
|
21
|
+
"description": "string",
|
|
22
|
+
"perm_add": false,
|
|
23
|
+
"perm_assign_jump_group": false,
|
|
24
|
+
"perm_remove": false,
|
|
25
|
+
"perm_start": true,
|
|
26
|
+
"perm_edit_tag": false,
|
|
27
|
+
"perm_edit_comments": true,
|
|
28
|
+
"perm_edit_jump_policy": false,
|
|
29
|
+
"perm_edit_session_policy": true,
|
|
30
|
+
"perm_edit_identity": false,
|
|
31
|
+
"perm_edit_behavior": false,
|
|
32
|
+
"perm_view_jump_item_report": false
|
|
33
|
+
}
|
|
34
|
+
]
|
|
@@ -0,0 +1,42 @@
|
|
|
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": "apiConfigJumpItemRoleIndex",
|
|
12
|
+
"enum": [
|
|
13
|
+
"apiConfigJumpItemRoleIndex",
|
|
14
|
+
"apiConfigJumpItemRoleShow"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
},
|
|
18
|
+
"perPage": {
|
|
19
|
+
"type": "number",
|
|
20
|
+
"description": "The number of items to include a paginated response.",
|
|
21
|
+
"parse": false,
|
|
22
|
+
"encode": false,
|
|
23
|
+
"encrypt": {
|
|
24
|
+
"type": "AES",
|
|
25
|
+
"key": ""
|
|
26
|
+
},
|
|
27
|
+
"external_name": "per_page"
|
|
28
|
+
},
|
|
29
|
+
"currentPage": {
|
|
30
|
+
"type": "number",
|
|
31
|
+
"description": "The 1-based index of the desired page.",
|
|
32
|
+
"parse": false,
|
|
33
|
+
"encode": false,
|
|
34
|
+
"encrypt": {
|
|
35
|
+
"type": "AES",
|
|
36
|
+
"key": ""
|
|
37
|
+
},
|
|
38
|
+
"external_name": "current_page"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"definitions": {}
|
|
42
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "apiConfigJumpPolicyIndex",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/jump-policy?{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": "mockdatafiles/apiConfigJumpPolicyIndex-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "apiConfigJumpPolicyStore",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/jump-policy?{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": "apiConfigJumpPolicyShow",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/jump-policy/{pathv1}?{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": "apiConfigJumpPolicyDestroy",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "DELETE",
|
|
69
|
+
"entitypath": "{base_path}/{version}/jump-policy/{pathv1}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "apiConfigJumpPolicyUpdate",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "PATCH",
|
|
89
|
+
"entitypath": "{base_path}/{version}/jump-policy/{pathv1}?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"requestDatatype": "JSON",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "apiConfigJumpPolicyShowSchedule",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/jump-policy/{pathv1}/schedule?{query}",
|
|
110
|
+
"requestSchema": "schema.json",
|
|
111
|
+
"responseSchema": "schema.json",
|
|
112
|
+
"timeout": 0,
|
|
113
|
+
"sendEmpty": false,
|
|
114
|
+
"sendGetBody": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": 4,
|
|
4
|
+
"display_name": "string",
|
|
5
|
+
"code_name": "string",
|
|
6
|
+
"description": "string",
|
|
7
|
+
"schedule_enabled": true,
|
|
8
|
+
"schedule_strict": true,
|
|
9
|
+
"ticket_id_required": false,
|
|
10
|
+
"session_start_notification": true,
|
|
11
|
+
"session_end_notification": false,
|
|
12
|
+
"notification_email_addresses": [],
|
|
13
|
+
"notification_display_name": "string",
|
|
14
|
+
"notification_email_language": "en-us",
|
|
15
|
+
"approval_required": true,
|
|
16
|
+
"approval_max_duration": 480,
|
|
17
|
+
"approval_scope": "requestor",
|
|
18
|
+
"approval_email_addresses": [],
|
|
19
|
+
"approval_display_name": "string",
|
|
20
|
+
"approval_email_language": "en-us",
|
|
21
|
+
"recordings_disabled": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": 3,
|
|
25
|
+
"display_name": "string",
|
|
26
|
+
"code_name": "string",
|
|
27
|
+
"description": "string",
|
|
28
|
+
"schedule_enabled": true,
|
|
29
|
+
"schedule_strict": true,
|
|
30
|
+
"ticket_id_required": true,
|
|
31
|
+
"session_start_notification": true,
|
|
32
|
+
"session_end_notification": true,
|
|
33
|
+
"notification_email_addresses": [],
|
|
34
|
+
"notification_display_name": "string",
|
|
35
|
+
"notification_email_language": "en-us",
|
|
36
|
+
"approval_required": false,
|
|
37
|
+
"approval_max_duration": 480,
|
|
38
|
+
"approval_scope": "requestor",
|
|
39
|
+
"approval_email_addresses": [],
|
|
40
|
+
"approval_display_name": "string",
|
|
41
|
+
"approval_email_language": "en-us",
|
|
42
|
+
"recordings_disabled": true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": 10,
|
|
46
|
+
"display_name": "string",
|
|
47
|
+
"code_name": "string",
|
|
48
|
+
"description": "string",
|
|
49
|
+
"schedule_enabled": true,
|
|
50
|
+
"schedule_strict": false,
|
|
51
|
+
"ticket_id_required": true,
|
|
52
|
+
"session_start_notification": true,
|
|
53
|
+
"session_end_notification": false,
|
|
54
|
+
"notification_email_addresses": [],
|
|
55
|
+
"notification_display_name": "string",
|
|
56
|
+
"notification_email_language": "en-us",
|
|
57
|
+
"approval_required": true,
|
|
58
|
+
"approval_max_duration": 480,
|
|
59
|
+
"approval_scope": "requestor",
|
|
60
|
+
"approval_email_addresses": [],
|
|
61
|
+
"approval_display_name": "string",
|
|
62
|
+
"approval_email_language": "en-us",
|
|
63
|
+
"recordings_disabled": false
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": 9,
|
|
67
|
+
"display_name": "string",
|
|
68
|
+
"code_name": "string",
|
|
69
|
+
"description": "string",
|
|
70
|
+
"schedule_enabled": true,
|
|
71
|
+
"schedule_strict": true,
|
|
72
|
+
"ticket_id_required": true,
|
|
73
|
+
"session_start_notification": true,
|
|
74
|
+
"session_end_notification": false,
|
|
75
|
+
"notification_email_addresses": [],
|
|
76
|
+
"notification_display_name": "string",
|
|
77
|
+
"notification_email_language": "en-us",
|
|
78
|
+
"approval_required": true,
|
|
79
|
+
"approval_max_duration": 480,
|
|
80
|
+
"approval_scope": "requestor",
|
|
81
|
+
"approval_email_addresses": [],
|
|
82
|
+
"approval_display_name": "string",
|
|
83
|
+
"approval_email_language": "en-us",
|
|
84
|
+
"recordings_disabled": false
|
|
85
|
+
}
|
|
86
|
+
]
|
|
@@ -0,0 +1,57 @@
|
|
|
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": "apiConfigJumpPolicyIndex",
|
|
12
|
+
"enum": [
|
|
13
|
+
"apiConfigJumpPolicyIndex",
|
|
14
|
+
"apiConfigJumpPolicyStore",
|
|
15
|
+
"apiConfigJumpPolicyShow",
|
|
16
|
+
"apiConfigJumpPolicyDestroy",
|
|
17
|
+
"apiConfigJumpPolicyUpdate",
|
|
18
|
+
"apiConfigJumpPolicyShowSchedule"
|
|
19
|
+
],
|
|
20
|
+
"external_name": "ph_request_type"
|
|
21
|
+
},
|
|
22
|
+
"perPage": {
|
|
23
|
+
"type": "number",
|
|
24
|
+
"description": "The number of items to include a paginated response.",
|
|
25
|
+
"parse": false,
|
|
26
|
+
"encode": false,
|
|
27
|
+
"encrypt": {
|
|
28
|
+
"type": "AES",
|
|
29
|
+
"key": ""
|
|
30
|
+
},
|
|
31
|
+
"external_name": "per_page"
|
|
32
|
+
},
|
|
33
|
+
"currentPage": {
|
|
34
|
+
"type": "number",
|
|
35
|
+
"description": "The 1-based index of the desired page.",
|
|
36
|
+
"parse": false,
|
|
37
|
+
"encode": false,
|
|
38
|
+
"encrypt": {
|
|
39
|
+
"type": "AES",
|
|
40
|
+
"key": ""
|
|
41
|
+
},
|
|
42
|
+
"external_name": "current_page"
|
|
43
|
+
},
|
|
44
|
+
"codeName": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "Filters results to include only the Jump Policy with the given code name.",
|
|
47
|
+
"parse": false,
|
|
48
|
+
"encode": false,
|
|
49
|
+
"encrypt": {
|
|
50
|
+
"type": "AES",
|
|
51
|
+
"key": ""
|
|
52
|
+
},
|
|
53
|
+
"external_name": "code_name"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"definitions": {}
|
|
57
|
+
}
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "apiConfigJumpointIndex",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/jumpoint?{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": "mockdatafiles/apiConfigJumpointIndex-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "apiConfigJumpointStore",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/jumpoint?{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": "apiConfigJumpointShow",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/jumpoint/{pathv1}?{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": "apiConfigJumpointUpdate",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "PATCH",
|
|
69
|
+
"entitypath": "{base_path}/{version}/jumpoint/{pathv1}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "apiConfigJumpointDestroy",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "DELETE",
|
|
89
|
+
"entitypath": "{base_path}/{version}/jumpoint/{pathv1}?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"requestDatatype": "JSON",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "apiConfigJumpointDownload",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/jumpoint/{pathv1}/installer?{query}",
|
|
110
|
+
"requestSchema": "schema.json",
|
|
111
|
+
"responseSchema": "schema.json",
|
|
112
|
+
"timeout": 0,
|
|
113
|
+
"sendEmpty": false,
|
|
114
|
+
"sendGetBody": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "apiConfigJumpointNodeIndex",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "GET",
|
|
130
|
+
"entitypath": "{base_path}/{version}/jumpoint/{pathv1}/node?{query}",
|
|
131
|
+
"requestSchema": "schema.json",
|
|
132
|
+
"responseSchema": "schema.json",
|
|
133
|
+
"timeout": 0,
|
|
134
|
+
"sendEmpty": false,
|
|
135
|
+
"sendGetBody": false,
|
|
136
|
+
"requestDatatype": "JSON",
|
|
137
|
+
"responseDatatype": "JSON",
|
|
138
|
+
"headers": {},
|
|
139
|
+
"responseObjects": [
|
|
140
|
+
{
|
|
141
|
+
"type": "default",
|
|
142
|
+
"key": "",
|
|
143
|
+
"mockFile": ""
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "apiConfigJumpointUserIndex",
|
|
149
|
+
"protocol": "REST",
|
|
150
|
+
"method": "GET",
|
|
151
|
+
"entitypath": "{base_path}/{version}/jumpoint/{pathv1}/user?{query}",
|
|
152
|
+
"requestSchema": "schema.json",
|
|
153
|
+
"responseSchema": "schema.json",
|
|
154
|
+
"timeout": 0,
|
|
155
|
+
"sendEmpty": false,
|
|
156
|
+
"sendGetBody": false,
|
|
157
|
+
"requestDatatype": "JSON",
|
|
158
|
+
"responseDatatype": "JSON",
|
|
159
|
+
"headers": {},
|
|
160
|
+
"responseObjects": [
|
|
161
|
+
{
|
|
162
|
+
"type": "default",
|
|
163
|
+
"key": "",
|
|
164
|
+
"mockFile": ""
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "apiConfigJumpointUserStore",
|
|
170
|
+
"protocol": "REST",
|
|
171
|
+
"method": "POST",
|
|
172
|
+
"entitypath": "{base_path}/{version}/jumpoint/{pathv1}/user?{query}",
|
|
173
|
+
"requestSchema": "schema.json",
|
|
174
|
+
"responseSchema": "schema.json",
|
|
175
|
+
"timeout": 0,
|
|
176
|
+
"sendEmpty": false,
|
|
177
|
+
"requestDatatype": "JSON",
|
|
178
|
+
"responseDatatype": "JSON",
|
|
179
|
+
"headers": {},
|
|
180
|
+
"responseObjects": [
|
|
181
|
+
{
|
|
182
|
+
"type": "default",
|
|
183
|
+
"key": "",
|
|
184
|
+
"mockFile": ""
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "apiConfigJumpointUserShow",
|
|
190
|
+
"protocol": "REST",
|
|
191
|
+
"method": "GET",
|
|
192
|
+
"entitypath": "{base_path}/{version}/jumpoint/{pathv1}/user/{pathv2}?{query}",
|
|
193
|
+
"requestSchema": "schema.json",
|
|
194
|
+
"responseSchema": "schema.json",
|
|
195
|
+
"timeout": 0,
|
|
196
|
+
"sendEmpty": false,
|
|
197
|
+
"sendGetBody": false,
|
|
198
|
+
"requestDatatype": "JSON",
|
|
199
|
+
"responseDatatype": "JSON",
|
|
200
|
+
"headers": {},
|
|
201
|
+
"responseObjects": [
|
|
202
|
+
{
|
|
203
|
+
"type": "default",
|
|
204
|
+
"key": "",
|
|
205
|
+
"mockFile": ""
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "apiConfigJumpointUserDestroy",
|
|
211
|
+
"protocol": "REST",
|
|
212
|
+
"method": "DELETE",
|
|
213
|
+
"entitypath": "{base_path}/{version}/jumpoint/{pathv1}/user/{pathv2}?{query}",
|
|
214
|
+
"requestSchema": "schema.json",
|
|
215
|
+
"responseSchema": "schema.json",
|
|
216
|
+
"timeout": 0,
|
|
217
|
+
"sendEmpty": false,
|
|
218
|
+
"requestDatatype": "JSON",
|
|
219
|
+
"responseDatatype": "JSON",
|
|
220
|
+
"headers": {},
|
|
221
|
+
"responseObjects": [
|
|
222
|
+
{
|
|
223
|
+
"type": "default",
|
|
224
|
+
"key": "",
|
|
225
|
+
"mockFile": ""
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": 7,
|
|
4
|
+
"name": "string",
|
|
5
|
+
"platform": null,
|
|
6
|
+
"code_name": "string",
|
|
7
|
+
"comments": "string",
|
|
8
|
+
"enabled": true,
|
|
9
|
+
"clustered": false,
|
|
10
|
+
"shell_jump_enabled": true,
|
|
11
|
+
"protocol_tunnel_enabled": true,
|
|
12
|
+
"rdp_service_account_id": 8
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": 2,
|
|
16
|
+
"name": "string",
|
|
17
|
+
"platform": null,
|
|
18
|
+
"code_name": "string",
|
|
19
|
+
"comments": "string",
|
|
20
|
+
"enabled": true,
|
|
21
|
+
"clustered": true,
|
|
22
|
+
"shell_jump_enabled": false,
|
|
23
|
+
"protocol_tunnel_enabled": true,
|
|
24
|
+
"rdp_service_account_id": 9
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": 9,
|
|
28
|
+
"name": "string",
|
|
29
|
+
"platform": null,
|
|
30
|
+
"code_name": "string",
|
|
31
|
+
"comments": "string",
|
|
32
|
+
"enabled": true,
|
|
33
|
+
"clustered": true,
|
|
34
|
+
"shell_jump_enabled": true,
|
|
35
|
+
"protocol_tunnel_enabled": true,
|
|
36
|
+
"rdp_service_account_id": 8
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": 9,
|
|
40
|
+
"name": "string",
|
|
41
|
+
"platform": null,
|
|
42
|
+
"code_name": "string",
|
|
43
|
+
"comments": "string",
|
|
44
|
+
"enabled": true,
|
|
45
|
+
"clustered": false,
|
|
46
|
+
"shell_jump_enabled": false,
|
|
47
|
+
"protocol_tunnel_enabled": true,
|
|
48
|
+
"rdp_service_account_id": 7
|
|
49
|
+
}
|
|
50
|
+
]
|