@itentialopensource/adapter-zero_networks 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 +5576 -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 +6798 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +78448 -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/Activities/action.json +295 -0
- package/entities/Activities/mockdatafiles/rPCActivitiesInterfaceCandidatesFiltersList-default.json +126 -0
- package/entities/Activities/mockdatafiles/rPCActivitiesOperationFiltersList-default.json +24 -0
- package/entities/Activities/schema.json +87 -0
- package/entities/Asset/action.json +3528 -0
- package/entities/Asset/mockdatafiles/assetRPCActivitiesInterfaceCandidatesFiltersList-default.json +52 -0
- package/entities/Asset/mockdatafiles/assetRPCActivitiesOperationFiltersList-default.json +78 -0
- package/entities/Asset/schema.json +288 -0
- package/entities/AssetOTIoT/action.json +3206 -0
- package/entities/AssetOTIoT/mockdatafiles/assetOTRPCActivitiesInterfaceCandidatesFiltersList-default.json +32 -0
- package/entities/AssetOTIoT/mockdatafiles/assetOTRPCActivitiesOperationFiltersList-default.json +46 -0
- package/entities/AssetOTIoT/schema.json +272 -0
- package/entities/Assets/action.json +1336 -0
- package/entities/Assets/mockdatafiles/assetsStatisticsGet-default.json +39 -0
- package/entities/Assets/schema.json +138 -0
- package/entities/AssetsOTIoT/action.json +106 -0
- package/entities/AssetsOTIoT/schema.json +78 -0
- package/entities/Audit/action.json +87 -0
- package/entities/Audit/schema.json +77 -0
- package/entities/Auth/action.json +64 -0
- package/entities/Auth/schema.json +21 -0
- package/entities/Entity/action.json +67 -0
- package/entities/Entity/schema.json +21 -0
- package/entities/Group/action.json +2565 -0
- package/entities/Group/schema.json +241 -0
- package/entities/Groups/action.json +378 -0
- package/entities/Groups/schema.json +124 -0
- package/entities/GroupsActiveDirectory/action.json +66 -0
- package/entities/GroupsActiveDirectory/schema.json +21 -0
- package/entities/GroupsCustom/action.json +125 -0
- package/entities/GroupsCustom/schema.json +68 -0
- package/entities/GroupsTags/action.json +24 -0
- package/entities/GroupsTags/schema.json +19 -0
- package/entities/MFA/action.json +46 -0
- package/entities/MFA/schema.json +20 -0
- package/entities/MFAInbound/action.json +379 -0
- package/entities/MFAInbound/schema.json +113 -0
- package/entities/MFAOutbound/action.json +379 -0
- package/entities/MFAOutbound/schema.json +102 -0
- package/entities/Profile/action.json +46 -0
- package/entities/Profile/schema.json +20 -0
- package/entities/Rules/action.json +227 -0
- package/entities/Rules/schema.json +29 -0
- package/entities/RulesIdentity/action.json +273 -0
- package/entities/RulesIdentity/schema.json +119 -0
- package/entities/RulesInboundAllow/action.json +293 -0
- package/entities/RulesInboundAllow/schema.json +120 -0
- package/entities/RulesInboundBlock/action.json +293 -0
- package/entities/RulesInboundBlock/schema.json +120 -0
- package/entities/RulesOutboundAllow/action.json +314 -0
- package/entities/RulesOutboundAllow/schema.json +121 -0
- package/entities/RulesOutboundBlock/action.json +293 -0
- package/entities/RulesOutboundBlock/schema.json +120 -0
- package/entities/RulesRPC/action.json +315 -0
- package/entities/RulesRPC/schema.json +121 -0
- package/entities/Sessions/action.json +66 -0
- package/entities/Sessions/schema.json +54 -0
- package/entities/Settings/action.json +66 -0
- package/entities/Settings/schema.json +21 -0
- package/entities/SettingsAI/action.json +189 -0
- package/entities/SettingsAI/schema.json +60 -0
- package/entities/SettingsAIRulesReview/action.json +45 -0
- package/entities/SettingsAIRulesReview/schema.json +20 -0
- package/entities/SettingsAccessTokens/action.json +85 -0
- package/entities/SettingsAccessTokens/schema.json +22 -0
- package/entities/SettingsActivities/action.json +45 -0
- package/entities/SettingsActivities/schema.json +20 -0
- package/entities/SettingsAssetManagement/action.json +533 -0
- package/entities/SettingsAssetManagement/schema.json +88 -0
- package/entities/SettingsAssetManagers/action.json +65 -0
- package/entities/SettingsAssetManagers/schema.json +43 -0
- package/entities/SettingsBreakGlass/action.json +45 -0
- package/entities/SettingsBreakGlass/schema.json +20 -0
- package/entities/SettingsCloudConnector/action.json +85 -0
- package/entities/SettingsCloudConnector/mockdatafiles/cloudConnectorAccessTokensCreate-default.json +9 -0
- package/entities/SettingsCloudConnector/mockdatafiles/cloudConnectorAccessTokensRegenerate-default.json +9 -0
- package/entities/SettingsCloudConnector/schema.json +22 -0
- package/entities/SettingsConnect/action.json +395 -0
- package/entities/SettingsConnect/schema.json +81 -0
- package/entities/SettingsFirewall/action.json +168 -0
- package/entities/SettingsFirewall/schema.json +26 -0
- package/entities/SettingsIdentityProviders/action.json +126 -0
- package/entities/SettingsIdentityProviders/schema.json +24 -0
- package/entities/SettingsInternalSubnets/action.json +86 -0
- package/entities/SettingsInternalSubnets/schema.json +22 -0
- package/entities/SettingsLearning/action.json +45 -0
- package/entities/SettingsLearning/schema.json +20 -0
- package/entities/SettingsMFA/action.json +86 -0
- package/entities/SettingsMFA/schema.json +22 -0
- package/entities/SettingsMailNotifications/action.json +45 -0
- package/entities/SettingsMailNotifications/schema.json +20 -0
- package/entities/SettingsPortalSecurity/action.json +45 -0
- package/entities/SettingsPortalSecurity/schema.json +20 -0
- package/entities/SettingsPrivilegedPorts/action.json +25 -0
- package/entities/SettingsPrivilegedPorts/schema.json +19 -0
- package/entities/SettingsProtectionPolicies/action.json +106 -0
- package/entities/SettingsProtectionPolicies/schema.json +56 -0
- package/entities/SettingsPushNotifications/action.json +85 -0
- package/entities/SettingsPushNotifications/schema.json +22 -0
- package/entities/SettingsRoles/action.json +86 -0
- package/entities/SettingsRoles/schema.json +55 -0
- package/entities/SettingsSegementServers/action.json +25 -0
- package/entities/SettingsSegementServers/schema.json +19 -0
- package/entities/SettingsServiceNow/action.json +85 -0
- package/entities/SettingsServiceNow/mockdatafiles/serviceNowAccessTokensCreate-default.json +9 -0
- package/entities/SettingsServiceNow/mockdatafiles/serviceNowAccessTokensRegenerate-default.json +9 -0
- package/entities/SettingsServiceNow/schema.json +22 -0
- package/entities/SettingsTrustedInternet/action.json +229 -0
- package/entities/SettingsTrustedInternet/schema.json +29 -0
- package/entities/SettingsZPA/action.json +45 -0
- package/entities/SettingsZPA/schema.json +20 -0
- package/entities/User/action.json +688 -0
- package/entities/User/schema.json +150 -0
- package/entities/Users/action.json +479 -0
- package/entities/Users/schema.json +107 -0
- package/error.json +190 -0
- package/metadata.json +56 -0
- package/package.json +83 -0
- package/pronghorn.json +55566 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1569 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/ZeroNetworks-openapi (1).yaml-OpenApi3Json.json +94523 -0
- package/report/adapterInfo.json +10 -0
- package/report/creationReport.json +5425 -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 +23777 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +35451 -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,314 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "outboundAllowRulesList",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound?{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": "outboundAllowRulesCreate",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound?{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": "outboundAllowRulesExcludedSourceCandidatesList",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/excluded-local-candidates?{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": "outboundAllowRulesExport",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "POST",
|
|
69
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/export?{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": "outboundAllowRulesExportGet",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "GET",
|
|
89
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/export/csv/{pathv1}?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"sendGetBody": 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": "outboundAllowRulesFiltersList",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "GET",
|
|
110
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/filters?{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": "outboundAllowRulesExcludedSourceCandidatesFiltersList",
|
|
129
|
+
"protocol": "REST",
|
|
130
|
+
"method": "GET",
|
|
131
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/filters/excluded-local-candidates?{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": "outboundAllowRulesSourceCandidatesFiltersList",
|
|
150
|
+
"protocol": "REST",
|
|
151
|
+
"method": "GET",
|
|
152
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/filters/local-candidates?{query}",
|
|
153
|
+
"requestSchema": "schema.json",
|
|
154
|
+
"responseSchema": "schema.json",
|
|
155
|
+
"timeout": 0,
|
|
156
|
+
"sendEmpty": false,
|
|
157
|
+
"sendGetBody": false,
|
|
158
|
+
"requestDatatype": "JSON",
|
|
159
|
+
"responseDatatype": "JSON",
|
|
160
|
+
"headers": {},
|
|
161
|
+
"responseObjects": [
|
|
162
|
+
{
|
|
163
|
+
"type": "default",
|
|
164
|
+
"key": "",
|
|
165
|
+
"mockFile": ""
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "outboundAllowRulesDestinationCandidatesFiltersList",
|
|
171
|
+
"protocol": "REST",
|
|
172
|
+
"method": "GET",
|
|
173
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/filters/remote-candidates?{query}",
|
|
174
|
+
"requestSchema": "schema.json",
|
|
175
|
+
"responseSchema": "schema.json",
|
|
176
|
+
"timeout": 0,
|
|
177
|
+
"sendEmpty": false,
|
|
178
|
+
"sendGetBody": false,
|
|
179
|
+
"requestDatatype": "JSON",
|
|
180
|
+
"responseDatatype": "JSON",
|
|
181
|
+
"headers": {},
|
|
182
|
+
"responseObjects": [
|
|
183
|
+
{
|
|
184
|
+
"type": "default",
|
|
185
|
+
"key": "",
|
|
186
|
+
"mockFile": ""
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "outboundAllowRulesSourceCandidatesList",
|
|
192
|
+
"protocol": "REST",
|
|
193
|
+
"method": "GET",
|
|
194
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/local-candidates?{query}",
|
|
195
|
+
"requestSchema": "schema.json",
|
|
196
|
+
"responseSchema": "schema.json",
|
|
197
|
+
"timeout": 0,
|
|
198
|
+
"sendEmpty": false,
|
|
199
|
+
"sendGetBody": false,
|
|
200
|
+
"requestDatatype": "JSON",
|
|
201
|
+
"responseDatatype": "JSON",
|
|
202
|
+
"headers": {},
|
|
203
|
+
"responseObjects": [
|
|
204
|
+
{
|
|
205
|
+
"type": "default",
|
|
206
|
+
"key": "",
|
|
207
|
+
"mockFile": ""
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "outboundAllowRulesDestinationCandidatesList",
|
|
213
|
+
"protocol": "REST",
|
|
214
|
+
"method": "GET",
|
|
215
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/remote-candidates?{query}",
|
|
216
|
+
"requestSchema": "schema.json",
|
|
217
|
+
"responseSchema": "schema.json",
|
|
218
|
+
"timeout": 0,
|
|
219
|
+
"sendEmpty": false,
|
|
220
|
+
"sendGetBody": false,
|
|
221
|
+
"requestDatatype": "JSON",
|
|
222
|
+
"responseDatatype": "JSON",
|
|
223
|
+
"headers": {},
|
|
224
|
+
"responseObjects": [
|
|
225
|
+
{
|
|
226
|
+
"type": "default",
|
|
227
|
+
"key": "",
|
|
228
|
+
"mockFile": ""
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "outboundAllowRulesReviewApproveWithChanges",
|
|
234
|
+
"protocol": "REST",
|
|
235
|
+
"method": "PUT",
|
|
236
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/review/approve-with-changes/{pathv1}?{query}",
|
|
237
|
+
"requestSchema": "schema.json",
|
|
238
|
+
"responseSchema": "schema.json",
|
|
239
|
+
"timeout": 0,
|
|
240
|
+
"sendEmpty": false,
|
|
241
|
+
"requestDatatype": "JSON",
|
|
242
|
+
"responseDatatype": "JSON",
|
|
243
|
+
"headers": {},
|
|
244
|
+
"responseObjects": [
|
|
245
|
+
{
|
|
246
|
+
"type": "default",
|
|
247
|
+
"key": "",
|
|
248
|
+
"mockFile": ""
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "outboundAllowRuleGet",
|
|
254
|
+
"protocol": "REST",
|
|
255
|
+
"method": "GET",
|
|
256
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/{pathv1}?{query}",
|
|
257
|
+
"requestSchema": "schema.json",
|
|
258
|
+
"responseSchema": "schema.json",
|
|
259
|
+
"timeout": 0,
|
|
260
|
+
"sendEmpty": false,
|
|
261
|
+
"sendGetBody": false,
|
|
262
|
+
"requestDatatype": "JSON",
|
|
263
|
+
"responseDatatype": "JSON",
|
|
264
|
+
"headers": {},
|
|
265
|
+
"responseObjects": [
|
|
266
|
+
{
|
|
267
|
+
"type": "default",
|
|
268
|
+
"key": "",
|
|
269
|
+
"mockFile": ""
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "outboundAllowRuleUpdate",
|
|
275
|
+
"protocol": "REST",
|
|
276
|
+
"method": "PUT",
|
|
277
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/{pathv1}?{query}",
|
|
278
|
+
"requestSchema": "schema.json",
|
|
279
|
+
"responseSchema": "schema.json",
|
|
280
|
+
"timeout": 0,
|
|
281
|
+
"sendEmpty": false,
|
|
282
|
+
"requestDatatype": "JSON",
|
|
283
|
+
"responseDatatype": "JSON",
|
|
284
|
+
"headers": {},
|
|
285
|
+
"responseObjects": [
|
|
286
|
+
{
|
|
287
|
+
"type": "default",
|
|
288
|
+
"key": "",
|
|
289
|
+
"mockFile": ""
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "outboundAllowRuleDelete",
|
|
295
|
+
"protocol": "REST",
|
|
296
|
+
"method": "DELETE",
|
|
297
|
+
"entitypath": "{base_path}/{version}/protection/rules/outbound/{pathv1}?{query}",
|
|
298
|
+
"requestSchema": "schema.json",
|
|
299
|
+
"responseSchema": "schema.json",
|
|
300
|
+
"timeout": 0,
|
|
301
|
+
"sendEmpty": false,
|
|
302
|
+
"requestDatatype": "JSON",
|
|
303
|
+
"responseDatatype": "JSON",
|
|
304
|
+
"headers": {},
|
|
305
|
+
"responseObjects": [
|
|
306
|
+
{
|
|
307
|
+
"type": "default",
|
|
308
|
+
"key": "",
|
|
309
|
+
"mockFile": ""
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
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": "outboundAllowRulesList",
|
|
12
|
+
"enum": [
|
|
13
|
+
"outboundAllowRulesList",
|
|
14
|
+
"outboundAllowRulesCreate",
|
|
15
|
+
"outboundAllowRulesExcludedSourceCandidatesList",
|
|
16
|
+
"outboundAllowRulesExport",
|
|
17
|
+
"outboundAllowRulesExportGet",
|
|
18
|
+
"outboundAllowRulesFiltersList",
|
|
19
|
+
"outboundAllowRulesExcludedSourceCandidatesFiltersList",
|
|
20
|
+
"outboundAllowRulesSourceCandidatesFiltersList",
|
|
21
|
+
"outboundAllowRulesDestinationCandidatesFiltersList",
|
|
22
|
+
"outboundAllowRulesSourceCandidatesList",
|
|
23
|
+
"outboundAllowRulesDestinationCandidatesList",
|
|
24
|
+
"outboundAllowRulesReviewApproveWithChanges",
|
|
25
|
+
"outboundAllowRuleGet",
|
|
26
|
+
"outboundAllowRuleUpdate",
|
|
27
|
+
"outboundAllowRuleDelete"
|
|
28
|
+
],
|
|
29
|
+
"external_name": "ph_request_type"
|
|
30
|
+
},
|
|
31
|
+
"limit": {
|
|
32
|
+
"type": "number",
|
|
33
|
+
"description": "Limit the return results",
|
|
34
|
+
"parse": false,
|
|
35
|
+
"encode": false,
|
|
36
|
+
"encrypt": {
|
|
37
|
+
"type": "AES",
|
|
38
|
+
"key": ""
|
|
39
|
+
},
|
|
40
|
+
"external_name": "_limit"
|
|
41
|
+
},
|
|
42
|
+
"offset": {
|
|
43
|
+
"type": "number",
|
|
44
|
+
"description": "Used to page through results",
|
|
45
|
+
"parse": false,
|
|
46
|
+
"encode": false,
|
|
47
|
+
"encrypt": {
|
|
48
|
+
"type": "AES",
|
|
49
|
+
"key": ""
|
|
50
|
+
},
|
|
51
|
+
"external_name": "_offset"
|
|
52
|
+
},
|
|
53
|
+
"filters": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"description": "JSON string URI encoded set of fiters",
|
|
56
|
+
"parse": false,
|
|
57
|
+
"encode": false,
|
|
58
|
+
"encrypt": {
|
|
59
|
+
"type": "AES",
|
|
60
|
+
"key": ""
|
|
61
|
+
},
|
|
62
|
+
"external_name": "_filters"
|
|
63
|
+
},
|
|
64
|
+
"withCount": {
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"description": "return count of objects",
|
|
67
|
+
"parse": false,
|
|
68
|
+
"encode": false,
|
|
69
|
+
"encrypt": {
|
|
70
|
+
"type": "AES",
|
|
71
|
+
"key": ""
|
|
72
|
+
},
|
|
73
|
+
"external_name": "with_count"
|
|
74
|
+
},
|
|
75
|
+
"addBuiltins": {
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"description": "show global rules",
|
|
78
|
+
"parse": false,
|
|
79
|
+
"encode": false,
|
|
80
|
+
"encrypt": {
|
|
81
|
+
"type": "AES",
|
|
82
|
+
"key": ""
|
|
83
|
+
},
|
|
84
|
+
"external_name": "_add_builtins"
|
|
85
|
+
},
|
|
86
|
+
"addAncestors": {
|
|
87
|
+
"type": "boolean",
|
|
88
|
+
"description": "show rules where the asset is part of a group",
|
|
89
|
+
"parse": false,
|
|
90
|
+
"encode": false,
|
|
91
|
+
"encrypt": {
|
|
92
|
+
"type": "AES",
|
|
93
|
+
"key": ""
|
|
94
|
+
},
|
|
95
|
+
"external_name": "_add_ancestors"
|
|
96
|
+
},
|
|
97
|
+
"cursor": {
|
|
98
|
+
"type": "number",
|
|
99
|
+
"description": "cursor position to start at",
|
|
100
|
+
"parse": false,
|
|
101
|
+
"encode": false,
|
|
102
|
+
"encrypt": {
|
|
103
|
+
"type": "AES",
|
|
104
|
+
"key": ""
|
|
105
|
+
},
|
|
106
|
+
"external_name": "_cursor"
|
|
107
|
+
},
|
|
108
|
+
"search": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"description": "Test to search for",
|
|
111
|
+
"parse": false,
|
|
112
|
+
"encode": false,
|
|
113
|
+
"encrypt": {
|
|
114
|
+
"type": "AES",
|
|
115
|
+
"key": ""
|
|
116
|
+
},
|
|
117
|
+
"external_name": "_search"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"definitions": {}
|
|
121
|
+
}
|