@itentialopensource/adapter-algosec_firewall 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.
Files changed (179) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +39 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +170 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +172 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +641 -0
  13. package/README.md +337 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +11 -0
  16. package/TROUBLESHOOT.md +47 -0
  17. package/adapter.js +15343 -0
  18. package/adapterBase.js +1787 -0
  19. package/entities/.generic/action.json +214 -0
  20. package/entities/.generic/schema.json +28 -0
  21. package/entities/.system/action.json +50 -0
  22. package/entities/.system/mockdatafiles/getToken-default.json +4 -0
  23. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  24. package/entities/.system/schema.json +19 -0
  25. package/entities/.system/schemaTokenReq.json +53 -0
  26. package/entities/.system/schemaTokenResp.json +53 -0
  27. package/entities/AnalyzeTaskExternalController/action.json +46 -0
  28. package/entities/AnalyzeTaskExternalController/mockdatafiles/getCurrentAnalyzeTaskStatusesUsingGET-default.json +10 -0
  29. package/entities/AnalyzeTaskExternalController/schema.json +20 -0
  30. package/entities/AnalyzeTaskExternalControllerCompatible/action.json +45 -0
  31. package/entities/AnalyzeTaskExternalControllerCompatible/schema.json +20 -0
  32. package/entities/ApplicationsExternalController/action.json +145 -0
  33. package/entities/ApplicationsExternalController/mockdatafiles/findByOriginalOrCanonizedNameAndDeviceGroupObjectsUsingPOST-default.json +86 -0
  34. package/entities/ApplicationsExternalController/mockdatafiles/findByOriginalOrCanonizedNameAndDevicesUsingPOST-default.json +23 -0
  35. package/entities/ApplicationsExternalController/mockdatafiles/findByOriginalOrCanonizedNameUsingPOST-default.json +86 -0
  36. package/entities/ApplicationsExternalController/mockdatafiles/getGroupMembersUsingPOST-default.json +23 -0
  37. package/entities/ApplicationsExternalController/schema.json +25 -0
  38. package/entities/BaselineComplianceExternalController/action.json +25 -0
  39. package/entities/BaselineComplianceExternalController/schema.json +19 -0
  40. package/entities/BrandConfigExternalController/action.json +25 -0
  41. package/entities/BrandConfigExternalController/schema.json +19 -0
  42. package/entities/CloudDbExternalController/action.json +214 -0
  43. package/entities/CloudDbExternalController/mockdatafiles/getContainerInstancesUsingGET-default.json +54 -0
  44. package/entities/CloudDbExternalController/mockdatafiles/getContainerSecurityGroupUsingGET-default.json +28 -0
  45. package/entities/CloudDbExternalController/mockdatafiles/getDevicesBySecuritySegmentUsingGET-default.json +454 -0
  46. package/entities/CloudDbExternalController/mockdatafiles/getInstancesBySecurityGroupUsingGET-default.json +41 -0
  47. package/entities/CloudDbExternalController/schema.json +28 -0
  48. package/entities/ConfigExternalController/action.json +107 -0
  49. package/entities/ConfigExternalController/schema.json +23 -0
  50. package/entities/DeviceExternalController/action.json +290 -0
  51. package/entities/DeviceExternalController/mockdatafiles/getSectionHeadersUsingGET-default.json +10 -0
  52. package/entities/DeviceExternalController/mockdatafiles/getSecurityProfileGroupsUsingGET-default.json +3 -0
  53. package/entities/DeviceExternalController/mockdatafiles/searchChildrenDevicesByParentsUsingPOST-default.json +101 -0
  54. package/entities/DeviceExternalController/mockdatafiles/searchDeviceGroupHierarchyTreeUsingPOST-default.json +486 -0
  55. package/entities/DeviceExternalController/mockdatafiles/searchLeafChildrenDevicesByParentsUsingPOST-default.json +89 -0
  56. package/entities/DeviceExternalController/mockdatafiles/searchParentsDevicesByChildrenUsingPOST-default.json +146 -0
  57. package/entities/DeviceExternalController/schema.json +32 -0
  58. package/entities/DeviceExternalControllerCompatible/action.json +86 -0
  59. package/entities/DeviceExternalControllerCompatible/mockdatafiles/getDevicesByPolicyUsingPOST-default.json +306 -0
  60. package/entities/DeviceExternalControllerCompatible/mockdatafiles/getDevicesUsingGET1-default.json +935 -0
  61. package/entities/DeviceExternalControllerCompatible/schema.json +22 -0
  62. package/entities/DeviceRelocationController/action.json +126 -0
  63. package/entities/DeviceRelocationController/schema.json +24 -0
  64. package/entities/DeviceSetupController/action.json +267 -0
  65. package/entities/DeviceSetupController/mockdatafiles/getAllDevicesDetailsUsingGET-default.json +371 -0
  66. package/entities/DeviceSetupController/mockdatafiles/getCmaManagedDevicesInPv1ModeUsingPOST-default.json +11 -0
  67. package/entities/DeviceSetupController/mockdatafiles/getCmaManagedDevicesUsingPOST-default.json +11 -0
  68. package/entities/DeviceSetupController/mockdatafiles/getFortimangerManagedDevicesUsingPOST-default.json +8 -0
  69. package/entities/DeviceSetupController/mockdatafiles/getPv1ManagedDevicesUsingPOST-default.json +5 -0
  70. package/entities/DeviceSetupController/schema.json +31 -0
  71. package/entities/DeviceZonesController/action.json +25 -0
  72. package/entities/DeviceZonesController/schema.json +19 -0
  73. package/entities/DnsLookupExternalController/action.json +25 -0
  74. package/entities/DnsLookupExternalController/schema.json +19 -0
  75. package/entities/ExternalApi/action.json +380 -0
  76. package/entities/ExternalApi/mockdatafiles/getNetworkObjectsUsingGET-default.json +52 -0
  77. package/entities/ExternalApi/mockdatafiles/getReportRisksUsingGET-default.json +47 -0
  78. package/entities/ExternalApi/mockdatafiles/getRulesColumnsUsingGET-default.json +22 -0
  79. package/entities/ExternalApi/mockdatafiles/getServiceObjectsUsingGET-default.json +18 -0
  80. package/entities/ExternalApi/schema.json +36 -0
  81. package/entities/ExternalRiskyRuleController/action.json +46 -0
  82. package/entities/ExternalRiskyRuleController/schema.json +20 -0
  83. package/entities/ExternalRiskyRuleControllerCompatible/action.json +25 -0
  84. package/entities/ExternalRiskyRuleControllerCompatible/schema.json +19 -0
  85. package/entities/FirewallDataExternalController/action.json +127 -0
  86. package/entities/FirewallDataExternalController/mockdatafiles/getAllBrothersDevicesUsingGET-default.json +4 -0
  87. package/entities/FirewallDataExternalController/mockdatafiles/getOriginalNamesUsingPOST-default.json +18 -0
  88. package/entities/FirewallDataExternalController/mockdatafiles/getTreeAndDisplayOfContainingGroupsUsingGET-default.json +6 -0
  89. package/entities/FirewallDataExternalController/schema.json +24 -0
  90. package/entities/IssuesCenterExternalController/action.json +25 -0
  91. package/entities/IssuesCenterExternalController/schema.json +19 -0
  92. package/entities/LicenseController/action.json +129 -0
  93. package/entities/LicenseController/schema.json +24 -0
  94. package/entities/LicensingExternalController/action.json +46 -0
  95. package/entities/LicensingExternalController/schema.json +20 -0
  96. package/entities/NetworkInterfacesExternalController/action.json +45 -0
  97. package/entities/NetworkInterfacesExternalController/mockdatafiles/getInterfacesUsingGET-default.json +4 -0
  98. package/entities/NetworkInterfacesExternalController/schema.json +20 -0
  99. package/entities/NetworkObjectExternalController/action.json +353 -0
  100. package/entities/NetworkObjectExternalController/mockdatafiles/findByContainerNameAndNameUsingGET-default.json +5 -0
  101. package/entities/NetworkObjectExternalController/mockdatafiles/findByNameAndContainerNameUsingGET-default.json +61 -0
  102. package/entities/NetworkObjectExternalController/mockdatafiles/findByOriginalOrCanonizedNameUsingPOST1-default.json +199 -0
  103. package/entities/NetworkObjectExternalController/mockdatafiles/findNetworkObjectsForQueryUsingPOST-default.json +208 -0
  104. package/entities/NetworkObjectExternalController/mockdatafiles/getApplicationProfilesUsingGET-default.json +4 -0
  105. package/entities/NetworkObjectExternalController/mockdatafiles/getObjectsUsingGET-default.json +101 -0
  106. package/entities/NetworkObjectExternalController/schema.json +35 -0
  107. package/entities/NetworkServicesExternalController/action.json +25 -0
  108. package/entities/NetworkServicesExternalController/schema.json +19 -0
  109. package/entities/PolicyOptimizationController/action.json +67 -0
  110. package/entities/PolicyOptimizationController/mockdatafiles/getDisabledRulesUsingGET-default.json +6041 -0
  111. package/entities/PolicyOptimizationController/mockdatafiles/getRulesWithoutCommentsUsingGET-default.json +17588 -0
  112. package/entities/PolicyOptimizationController/mockdatafiles/getRulesWithoutLoggingUsingGET-default.json +9295 -0
  113. package/entities/PolicyOptimizationController/schema.json +21 -0
  114. package/entities/ReportExternalController/action.json +87 -0
  115. package/entities/ReportExternalController/mockdatafiles/getReportIdsUsingGET-default.json +4 -0
  116. package/entities/ReportExternalController/schema.json +22 -0
  117. package/entities/RiskCheckExternalController/action.json +44 -0
  118. package/entities/RiskCheckExternalController/schema.json +20 -0
  119. package/entities/RuleExternalController/action.json +247 -0
  120. package/entities/RuleExternalController/mockdatafiles/findRuleIdByRuleNumberUsingPOST-default.json +5 -0
  121. package/entities/RuleExternalController/mockdatafiles/getAllRulesUsingGET-default.json +2482 -0
  122. package/entities/RuleExternalController/mockdatafiles/getRulesUsingPOST-default.json +2446 -0
  123. package/entities/RuleExternalController/schema.json +30 -0
  124. package/entities/RuleExternalControllerCompatible/action.json +25 -0
  125. package/entities/RuleExternalControllerCompatible/mockdatafiles/getRulesUsingGET-default.json +3 -0
  126. package/entities/RuleExternalControllerCompatible/schema.json +19 -0
  127. package/entities/RuleIdentifierExternalController/action.json +24 -0
  128. package/entities/RuleIdentifierExternalController/schema.json +19 -0
  129. package/entities/SecurityZonesExternalController/action.json +67 -0
  130. package/entities/SecurityZonesExternalController/schema.json +32 -0
  131. package/entities/SupportZipController/action.json +24 -0
  132. package/entities/SupportZipController/schema.json +19 -0
  133. package/entities/TrafficSimulationQueryExternalController/action.json +24 -0
  134. package/entities/TrafficSimulationQueryExternalController/schema.json +19 -0
  135. package/entities/TrustedTrafficDataExternalController/action.json +146 -0
  136. package/entities/TrustedTrafficDataExternalController/mockdatafiles/addTrustedTrafficDataUsingPOST-default.json +3 -0
  137. package/entities/TrustedTrafficDataExternalController/mockdatafiles/editTrustedTrafficDataUsingPUT-default.json +4 -0
  138. package/entities/TrustedTrafficDataExternalController/mockdatafiles/exportTrustedTrafficUsingGET-default.json +6 -0
  139. package/entities/TrustedTrafficDataExternalController/mockdatafiles/importTrustedTrafficFromFileUsingPOST-default.json +6 -0
  140. package/entities/TrustedTrafficDataExternalController/mockdatafiles/trustRiskRuleUsingPOST-default.json +4 -0
  141. package/entities/TrustedTrafficDataExternalController/schema.json +25 -0
  142. package/entities/UrlCategoriesController/action.json +227 -0
  143. package/entities/UrlCategoriesController/mockdatafiles/getUrlIpsUsingGET-default.json +6 -0
  144. package/entities/UrlCategoriesController/schema.json +40 -0
  145. package/entities/UsersExternalController/action.json +46 -0
  146. package/entities/UsersExternalController/schema.json +20 -0
  147. package/error.json +190 -0
  148. package/package.json +86 -0
  149. package/pronghorn.json +16879 -0
  150. package/propertiesDecorators.json +14 -0
  151. package/propertiesSchema.json +1248 -0
  152. package/refs?service=git-upload-pack +0 -0
  153. package/report/algosec_firewall_swagger.json +14731 -0
  154. package/report/creationReport.json +1325 -0
  155. package/sampleProperties.json +195 -0
  156. package/test/integration/adapterTestBasicGet.js +83 -0
  157. package/test/integration/adapterTestConnectivity.js +93 -0
  158. package/test/integration/adapterTestIntegration.js +5196 -0
  159. package/test/unit/adapterBaseTestUnit.js +949 -0
  160. package/test/unit/adapterTestUnit.js +6610 -0
  161. package/utils/adapterInfo.js +206 -0
  162. package/utils/addAuth.js +94 -0
  163. package/utils/artifactize.js +146 -0
  164. package/utils/basicGet.js +50 -0
  165. package/utils/checkMigrate.js +63 -0
  166. package/utils/entitiesToDB.js +178 -0
  167. package/utils/findPath.js +74 -0
  168. package/utils/methodDocumentor.js +225 -0
  169. package/utils/modify.js +154 -0
  170. package/utils/packModificationScript.js +35 -0
  171. package/utils/patches2bundledDeps.js +90 -0
  172. package/utils/pre-commit.sh +32 -0
  173. package/utils/removeHooks.js +20 -0
  174. package/utils/setup.js +33 -0
  175. package/utils/tbScript.js +246 -0
  176. package/utils/tbUtils.js +490 -0
  177. package/utils/testRunner.js +298 -0
  178. package/utils/troubleshootingAdapter.js +195 -0
  179. package/workflows/README.md +3 -0
@@ -0,0 +1,22 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "getDevicesUsingGET1",
12
+ "enum": [
13
+ "getDevicesUsingGET1",
14
+ "getDevicesByPolicyUsingPOST",
15
+ "getDevicesByPolicyGroupsUsingPOST",
16
+ "getNumberOfDevicesSharingPolicyUsingGET"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ }
20
+ },
21
+ "definitions": {}
22
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "statusUsingGET",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/device/relocation?{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": "executeUsingPOST",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/device/relocation?{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": "cancelUsingDELETE",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/device/relocation?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "isRunningUsingGET",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/device/relocation/checkRunning?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": 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": "enableDevicesUsingPUT",
87
+ "protocol": "REST",
88
+ "method": "PUT",
89
+ "entitypath": "{base_path}/{version}/device/relocation/enableDevices?{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": "enableDevicesOnRemoteAgentUsingPUT",
107
+ "protocol": "REST",
108
+ "method": "PUT",
109
+ "entitypath": "{base_path}/{version}/device/relocation/enableDevicesOnRemoteAgent?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ }
125
+ ]
126
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "statusUsingGET",
12
+ "enum": [
13
+ "statusUsingGET",
14
+ "executeUsingPOST",
15
+ "cancelUsingDELETE",
16
+ "isRunningUsingGET",
17
+ "enableDevicesUsingPUT",
18
+ "enableDevicesOnRemoteAgentUsingPUT"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ }
22
+ },
23
+ "definitions": {}
24
+ }
@@ -0,0 +1,267 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getAllDevicesDetailsUsingGET",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/devices?{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/getAllDevicesDetailsUsingGET-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "createUsingPOST",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/devices?{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": "updateUsingPUT",
46
+ "protocol": "REST",
47
+ "method": "PUT",
48
+ "entitypath": "{base_path}/{version}/devices?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "getExampleUsingGET",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/devices/examples/{pathv1}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": 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": "createExternalUsingPOST",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/devices/external?{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": "updateExternalUsingPUT",
107
+ "protocol": "REST",
108
+ "method": "PUT",
109
+ "entitypath": "{base_path}/{version}/devices/external?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "getCmaManagedDevicesUsingPOST",
127
+ "protocol": "REST",
128
+ "method": "POST",
129
+ "entitypath": "{base_path}/{version}/devices/managedDevices/cma?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "requestDatatype": "JSON",
135
+ "responseDatatype": "JSON",
136
+ "headers": {},
137
+ "responseObjects": [
138
+ {
139
+ "type": "default",
140
+ "key": "",
141
+ "mockFile": "mockdatafiles/getCmaManagedDevicesUsingPOST-default.json"
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name": "getFortimangerManagedDevicesUsingPOST",
147
+ "protocol": "REST",
148
+ "method": "POST",
149
+ "entitypath": "{base_path}/{version}/devices/managedDevices/fortimanager?{query}",
150
+ "requestSchema": "schema.json",
151
+ "responseSchema": "schema.json",
152
+ "timeout": 0,
153
+ "sendEmpty": false,
154
+ "requestDatatype": "JSON",
155
+ "responseDatatype": "JSON",
156
+ "headers": {},
157
+ "responseObjects": [
158
+ {
159
+ "type": "default",
160
+ "key": "",
161
+ "mockFile": "mockdatafiles/getFortimangerManagedDevicesUsingPOST-default.json"
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ "name": "getManagedDevicesUsingPOST",
167
+ "protocol": "REST",
168
+ "method": "POST",
169
+ "entitypath": "{base_path}/{version}/devices/managedDevices/genericDevices?{query}",
170
+ "requestSchema": "schema.json",
171
+ "responseSchema": "schema.json",
172
+ "timeout": 0,
173
+ "sendEmpty": false,
174
+ "requestDatatype": "JSON",
175
+ "responseDatatype": "JSON",
176
+ "headers": {},
177
+ "responseObjects": [
178
+ {
179
+ "type": "default",
180
+ "key": "",
181
+ "mockFile": ""
182
+ }
183
+ ]
184
+ },
185
+ {
186
+ "name": "getPv1ManagedDevicesUsingPOST",
187
+ "protocol": "REST",
188
+ "method": "POST",
189
+ "entitypath": "{base_path}/{version}/devices/managedDevices/pv1?{query}",
190
+ "requestSchema": "schema.json",
191
+ "responseSchema": "schema.json",
192
+ "timeout": 0,
193
+ "sendEmpty": false,
194
+ "requestDatatype": "JSON",
195
+ "responseDatatype": "JSON",
196
+ "headers": {},
197
+ "responseObjects": [
198
+ {
199
+ "type": "default",
200
+ "key": "",
201
+ "mockFile": "mockdatafiles/getPv1ManagedDevicesUsingPOST-default.json"
202
+ }
203
+ ]
204
+ },
205
+ {
206
+ "name": "getCmaManagedDevicesInPv1ModeUsingPOST",
207
+ "protocol": "REST",
208
+ "method": "POST",
209
+ "entitypath": "{base_path}/{version}/devices/managedDevices/pv1/cma?{query}",
210
+ "requestSchema": "schema.json",
211
+ "responseSchema": "schema.json",
212
+ "timeout": 0,
213
+ "sendEmpty": false,
214
+ "requestDatatype": "JSON",
215
+ "responseDatatype": "JSON",
216
+ "headers": {},
217
+ "responseObjects": [
218
+ {
219
+ "type": "default",
220
+ "key": "",
221
+ "mockFile": "mockdatafiles/getCmaManagedDevicesInPv1ModeUsingPOST-default.json"
222
+ }
223
+ ]
224
+ },
225
+ {
226
+ "name": "getDeviceDetailsUsingGET",
227
+ "protocol": "REST",
228
+ "method": "GET",
229
+ "entitypath": "{base_path}/{version}/devices/{pathv1}?{query}",
230
+ "requestSchema": "schema.json",
231
+ "responseSchema": "schema.json",
232
+ "timeout": 0,
233
+ "sendEmpty": false,
234
+ "sendGetBody": false,
235
+ "requestDatatype": "JSON",
236
+ "responseDatatype": "JSON",
237
+ "headers": {},
238
+ "responseObjects": [
239
+ {
240
+ "type": "default",
241
+ "key": "",
242
+ "mockFile": ""
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ "name": "deleteUsingDELETE",
248
+ "protocol": "REST",
249
+ "method": "DELETE",
250
+ "entitypath": "{base_path}/{version}/devices/{pathv1}?{query}",
251
+ "requestSchema": "schema.json",
252
+ "responseSchema": "schema.json",
253
+ "timeout": 0,
254
+ "sendEmpty": false,
255
+ "requestDatatype": "JSON",
256
+ "responseDatatype": "JSON",
257
+ "headers": {},
258
+ "responseObjects": [
259
+ {
260
+ "type": "default",
261
+ "key": "",
262
+ "mockFile": ""
263
+ }
264
+ ]
265
+ }
266
+ ]
267
+ }