@itentialopensource/adapter-zscaler 0.10.11 → 0.10.12

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 (43) hide show
  1. package/CALLS.md +588 -0
  2. package/adapter.js +9953 -0
  3. package/entities/APIAuthentication/action.json +165 -0
  4. package/entities/APIAuthentication/schema.json +26 -0
  5. package/entities/AdvancedSettings/action.json +45 -0
  6. package/entities/AdvancedSettings/schema.json +20 -0
  7. package/entities/AdvancedThreatProtectionPolicy/action.json +127 -0
  8. package/entities/AdvancedThreatProtectionPolicy/schema.json +24 -0
  9. package/entities/AuthenticationSettings/action.json +66 -0
  10. package/entities/AuthenticationSettings/schema.json +21 -0
  11. package/entities/CloudAppControlPolicy/action.json +247 -0
  12. package/entities/CloudAppControlPolicy/schema.json +41 -0
  13. package/entities/CloudApplications/action.json +46 -0
  14. package/entities/CloudApplications/schema.json +20 -0
  15. package/entities/CloudNanologStreamingServiceNSS/action.json +252 -0
  16. package/entities/CloudNanologStreamingServiceNSS/schema.json +30 -0
  17. package/entities/DNSControlPolicy/action.json +106 -0
  18. package/entities/DNSControlPolicy/schema.json +23 -0
  19. package/entities/FileTypeControlPolicy/action.json +127 -0
  20. package/entities/FileTypeControlPolicy/schema.json +24 -0
  21. package/entities/ForwardingControlPolicy/action.json +204 -0
  22. package/entities/ForwardingControlPolicy/schema.json +11 -1
  23. package/entities/IPSControlPolicy/action.json +106 -0
  24. package/entities/IPSControlPolicy/schema.json +23 -0
  25. package/entities/MalwareProtectionPolicy/action.json +168 -0
  26. package/entities/MalwareProtectionPolicy/schema.json +26 -0
  27. package/entities/OrganizationDetails/action.json +67 -0
  28. package/entities/OrganizationDetails/schema.json +21 -0
  29. package/entities/RemoteAssistanceSupport/action.json +45 -0
  30. package/entities/RemoteAssistanceSupport/schema.json +20 -0
  31. package/entities/SSLInspectionPolicy/action.json +106 -0
  32. package/entities/SSLInspectionPolicy/schema.json +23 -0
  33. package/entities/SandBoxPolicy/action.json +168 -0
  34. package/entities/SandBoxPolicy/schema.json +26 -0
  35. package/entities/URLFilteringPolicy/action.json +148 -0
  36. package/entities/URLFilteringPolicy/schema.json +25 -0
  37. package/entities/URLFilteringandCloudAppControlSettings/action.json +45 -0
  38. package/entities/URLFilteringandCloudAppControlSettings/schema.json +20 -0
  39. package/package.json +1 -1
  40. package/pronghorn.json +4332 -0
  41. package/report/adapterInfo.json +7 -7
  42. package/test/integration/adapterTestIntegration.js +2481 -0
  43. package/test/unit/adapterTestUnit.js +2383 -0
@@ -0,0 +1,148 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getUrlFilteringRules",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/urlFilteringRules?{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": "postUrlFilteringRules",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/urlFilteringRules?{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": "getUrlFilteringRulesRuleId",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/urlFilteringRules/{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": "putUrlFilteringRulesRuleId",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/urlFilteringRules/{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": "deleteUrlFilteringRulesRuleId",
87
+ "protocol": "REST",
88
+ "method": "DELETE",
89
+ "entitypath": "{base_path}/{version}/urlFilteringRules/{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": "getTimeWindows",
107
+ "protocol": "REST",
108
+ "method": "GET",
109
+ "entitypath": "{base_path}/{version}/timeWindows?{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": "getTimeWindowsLite",
128
+ "protocol": "REST",
129
+ "method": "GET",
130
+ "entitypath": "{base_path}/{version}/timeWindows/lite?{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
+ }
@@ -0,0 +1,25 @@
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": "getUrlFilteringRules",
12
+ "enum": [
13
+ "getUrlFilteringRules",
14
+ "postUrlFilteringRules",
15
+ "getUrlFilteringRulesRuleId",
16
+ "putUrlFilteringRulesRuleId",
17
+ "deleteUrlFilteringRulesRuleId",
18
+ "getTimeWindows",
19
+ "getTimeWindowsLite"
20
+ ],
21
+ "external_name": "ph_request_type"
22
+ }
23
+ },
24
+ "definitions": {}
25
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getAdvancedUrlFilterAndCloudAppSettings",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/advancedUrlFilterAndCloudAppSettings?{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": "putAdvancedUrlFilterAndCloudAppSettings",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/advancedUrlFilterAndCloudAppSettings?{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
+ }
@@ -0,0 +1,20 @@
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": "getAdvancedUrlFilterAndCloudAppSettings",
12
+ "enum": [
13
+ "getAdvancedUrlFilterAndCloudAppSettings",
14
+ "putAdvancedUrlFilterAndCloudAppSettings"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-zscaler",
3
- "version": "0.10.11",
3
+ "version": "0.10.12",
4
4
  "description": "This adapter integrates with system Zscaler",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.7",