@itentialopensource/adapter-checkpoint_management 0.8.0 → 0.9.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/CHANGELOG.md +16 -0
- package/metadata.json +11 -1
- package/package.json +4 -4
- package/propertiesSchema.json +5 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +2 -2
- package/sampleProperties.json +34 -26
- package/test/unit/adapterTestUnit.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
## 0.9.1 [02-20-2024]
|
|
3
|
+
|
|
4
|
+
* update broker calls
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!16
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 0.9.0 [12-14-2023]
|
|
11
|
+
|
|
12
|
+
* More migration changes
|
|
13
|
+
|
|
14
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!15
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
2
18
|
## 0.8.0 [11-06-2023]
|
|
3
19
|
|
|
4
20
|
* More migration changes
|
package/metadata.json
CHANGED
|
@@ -33,12 +33,19 @@
|
|
|
33
33
|
"isDeprecated": false
|
|
34
34
|
},
|
|
35
35
|
"brokerSince": "0.6.0",
|
|
36
|
+
"authMethods": [
|
|
37
|
+
{
|
|
38
|
+
"type": "Session Id",
|
|
39
|
+
"primary": true
|
|
40
|
+
}
|
|
41
|
+
],
|
|
36
42
|
"documentation": {
|
|
37
43
|
"storeLink": "",
|
|
38
44
|
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-checkpoint_management",
|
|
39
45
|
"repoLink": "https://gitlab.com/itentialopensource/adapters/security/adapter-checkpoint_management",
|
|
40
46
|
"docLink": "https://docs.itential.com/opensource/docs/check-point-management",
|
|
41
47
|
"demoLinks": [],
|
|
48
|
+
"trainingLinks": [],
|
|
42
49
|
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
|
43
50
|
"contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
|
|
44
51
|
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
|
@@ -46,7 +53,10 @@
|
|
|
46
53
|
"vendorLink": "https://www.checkpoint.com/",
|
|
47
54
|
"productLink": "https://www.checkpoint.com/",
|
|
48
55
|
"apiLinks": [
|
|
49
|
-
|
|
56
|
+
{
|
|
57
|
+
"title": "Introduction to the Check Point Management API",
|
|
58
|
+
"link": "https://sc1.checkpoint.com/documents/latest/APIs/index.html#~v1.9%20"
|
|
59
|
+
}
|
|
50
60
|
]
|
|
51
61
|
},
|
|
52
62
|
"assets": [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-checkpoint_management",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "This adapter integrates with system described as: checkpointManagementApi.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"systemName": "Checkpoint Management",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
],
|
|
46
46
|
"license": "Apache-2.0",
|
|
47
47
|
"engines": {
|
|
48
|
-
"node": ">=
|
|
48
|
+
"node": ">= 14.0.0",
|
|
49
49
|
"npm": ">= 6.0.0"
|
|
50
50
|
},
|
|
51
51
|
"repository": {
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"author": "Itential",
|
|
56
56
|
"homepage": "https://gitlab.com/itentialopensource/adapters/security/adapter-checkpoint_management#readme",
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@itentialopensource/adapter-utils": "^5.3.
|
|
58
|
+
"@itentialopensource/adapter-utils": "^5.3.8",
|
|
59
59
|
"acorn": "^8.10.0",
|
|
60
60
|
"ajv": "^8.12.0",
|
|
61
|
-
"axios": "^1.
|
|
61
|
+
"axios": "^1.6.7",
|
|
62
62
|
"commander": "^11.0.0",
|
|
63
63
|
"dns-lookup-promise": "^1.0.4",
|
|
64
64
|
"fs-extra": "^11.1.1",
|
package/propertiesSchema.json
CHANGED
|
@@ -945,6 +945,11 @@
|
|
|
945
945
|
"devicebroker": {
|
|
946
946
|
"type": "object",
|
|
947
947
|
"properties": {
|
|
948
|
+
"enabled": {
|
|
949
|
+
"type": "boolean",
|
|
950
|
+
"description": "Whether or not the device broker calls have been mapped",
|
|
951
|
+
"default": false
|
|
952
|
+
},
|
|
948
953
|
"getDevice": {
|
|
949
954
|
"type": "array",
|
|
950
955
|
"description": "Broker call(s) to getDevice",
|
|
Binary file
|
package/report/adapterInfo.json
CHANGED
package/sampleProperties.json
CHANGED
|
@@ -121,25 +121,26 @@
|
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
"devicebroker": {
|
|
124
|
+
"enabled": true,
|
|
124
125
|
"getDevice": [
|
|
125
126
|
{
|
|
126
127
|
"path": "/show-simple-gateway",
|
|
127
128
|
"method": "POST",
|
|
128
129
|
"query": {},
|
|
129
130
|
"body": {
|
|
130
|
-
"uid": "uid"
|
|
131
|
+
"uid": "{uid}"
|
|
131
132
|
},
|
|
132
133
|
"headers": {},
|
|
133
134
|
"handleFailure": "ignore",
|
|
134
135
|
"requestFields": {
|
|
135
|
-
"uid": "uid"
|
|
136
|
+
"uid": "{uid}"
|
|
136
137
|
},
|
|
137
138
|
"responseDatakey": "",
|
|
138
139
|
"responseFields": {
|
|
139
|
-
"name": "name",
|
|
140
|
-
"ostype": "type",
|
|
140
|
+
"name": "{name}",
|
|
141
|
+
"ostype": "{type}",
|
|
141
142
|
"ostypePrefix": "chkpt-",
|
|
142
|
-
"ipaddress": "ipv4-address",
|
|
143
|
+
"ipaddress": "{ipv4-address}",
|
|
143
144
|
"port": "n/a"
|
|
144
145
|
}
|
|
145
146
|
},
|
|
@@ -148,19 +149,19 @@
|
|
|
148
149
|
"method": "POST",
|
|
149
150
|
"query": {},
|
|
150
151
|
"body": {
|
|
151
|
-
"uid": "uid"
|
|
152
|
+
"uid": "{uid}"
|
|
152
153
|
},
|
|
153
154
|
"headers": {},
|
|
154
155
|
"handleFailure": "ignore",
|
|
155
156
|
"requestFields": {
|
|
156
|
-
"uid": "uid"
|
|
157
|
+
"uid": "{uid}"
|
|
157
158
|
},
|
|
158
159
|
"responseDatakey": "",
|
|
159
160
|
"responseFields": {
|
|
160
|
-
"name": "name",
|
|
161
|
-
"ostype": "type",
|
|
161
|
+
"name": "{name}",
|
|
162
|
+
"ostype": "{type}",
|
|
162
163
|
"ostypePrefix": "chkpt-",
|
|
163
|
-
"ipaddress": "ipv4-address",
|
|
164
|
+
"ipaddress": "{ipv4-address}",
|
|
164
165
|
"port": "n/a"
|
|
165
166
|
}
|
|
166
167
|
}
|
|
@@ -185,12 +186,12 @@
|
|
|
185
186
|
"requestFields": {},
|
|
186
187
|
"responseDatakey": "",
|
|
187
188
|
"responseFields": {
|
|
188
|
-
"name": "name",
|
|
189
|
-
"ostype": "type",
|
|
189
|
+
"name": "{name}",
|
|
190
|
+
"ostype": "{type}",
|
|
190
191
|
"ostypePrefix": "chkpt-",
|
|
191
192
|
"ipaddress": "n/a",
|
|
192
193
|
"port": "n/a",
|
|
193
|
-
"uid": "uid"
|
|
194
|
+
"uid": "{uid}"
|
|
194
195
|
}
|
|
195
196
|
}
|
|
196
197
|
],
|
|
@@ -200,16 +201,16 @@
|
|
|
200
201
|
"method": "POST",
|
|
201
202
|
"query": {},
|
|
202
203
|
"body": {
|
|
203
|
-
"uid": "uid"
|
|
204
|
+
"uid": "{uid}"
|
|
204
205
|
},
|
|
205
206
|
"headers": {},
|
|
206
207
|
"handleFailure": "ignore",
|
|
207
208
|
"requestFields": {
|
|
208
|
-
"uid": "uid"
|
|
209
|
+
"uid": "{uid}"
|
|
209
210
|
},
|
|
210
|
-
"responseDatakey": "",
|
|
211
|
+
"responseDatakey": "meta-info",
|
|
211
212
|
"responseFields": {
|
|
212
|
-
"status": "
|
|
213
|
+
"status": "{validation-state}",
|
|
213
214
|
"statusValue": "ok"
|
|
214
215
|
}
|
|
215
216
|
},
|
|
@@ -218,16 +219,16 @@
|
|
|
218
219
|
"method": "POST",
|
|
219
220
|
"query": {},
|
|
220
221
|
"body": {
|
|
221
|
-
"uid": "uid"
|
|
222
|
+
"uid": "{uid}"
|
|
222
223
|
},
|
|
223
224
|
"headers": {},
|
|
224
225
|
"handleFailure": "ignore",
|
|
225
226
|
"requestFields": {
|
|
226
|
-
"uid": "uid"
|
|
227
|
+
"uid": "{uid}"
|
|
227
228
|
},
|
|
228
|
-
"responseDatakey": "",
|
|
229
|
+
"responseDatakey": "meta-info",
|
|
229
230
|
"responseFields": {
|
|
230
|
-
"status": "
|
|
231
|
+
"status": "{validation-state}",
|
|
231
232
|
"statusValue": "ok"
|
|
232
233
|
}
|
|
233
234
|
}
|
|
@@ -238,12 +239,12 @@
|
|
|
238
239
|
"method": "POST",
|
|
239
240
|
"query": {},
|
|
240
241
|
"body": {
|
|
241
|
-
"uid": "uid"
|
|
242
|
+
"uid": "{uid}"
|
|
242
243
|
},
|
|
243
244
|
"headers": {},
|
|
244
245
|
"handleFailure": "ignore",
|
|
245
246
|
"requestFields": {
|
|
246
|
-
"uid": "uid"
|
|
247
|
+
"uid": "{uid}"
|
|
247
248
|
},
|
|
248
249
|
"responseDatakey": "",
|
|
249
250
|
"responseFields": {}
|
|
@@ -253,12 +254,12 @@
|
|
|
253
254
|
"method": "POST",
|
|
254
255
|
"query": {},
|
|
255
256
|
"body": {
|
|
256
|
-
"uid": "uid"
|
|
257
|
+
"uid": "{uid}"
|
|
257
258
|
},
|
|
258
259
|
"headers": {},
|
|
259
260
|
"handleFailure": "ignore",
|
|
260
261
|
"requestFields": {
|
|
261
|
-
"uid": "uid"
|
|
262
|
+
"uid": "{uid}"
|
|
262
263
|
},
|
|
263
264
|
"responseDatakey": "",
|
|
264
265
|
"responseFields": {}
|
|
@@ -310,7 +311,14 @@
|
|
|
310
311
|
"handleFailure": "ignore",
|
|
311
312
|
"requestFields": {},
|
|
312
313
|
"responseDatakey": "",
|
|
313
|
-
"responseFields": {
|
|
314
|
+
"responseFields": {
|
|
315
|
+
"name": "{name}",
|
|
316
|
+
"ostype": "{type}",
|
|
317
|
+
"ostypePrefix": "chkpt-",
|
|
318
|
+
"ipaddress": "n/a",
|
|
319
|
+
"port": "n/a",
|
|
320
|
+
"uid": "{uid}"
|
|
321
|
+
}
|
|
314
322
|
}
|
|
315
323
|
],
|
|
316
324
|
"cachedTasks": [
|
|
@@ -316,7 +316,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
316
316
|
assert.notEqual(null, packageDotJson.dependencies);
|
|
317
317
|
assert.notEqual('', packageDotJson.dependencies);
|
|
318
318
|
assert.equal('^8.12.0', packageDotJson.dependencies.ajv);
|
|
319
|
-
assert.equal('^1.
|
|
319
|
+
assert.equal('^1.6.7', packageDotJson.dependencies.axios);
|
|
320
320
|
assert.equal('^11.0.0', packageDotJson.dependencies.commander);
|
|
321
321
|
assert.equal('^11.1.1', packageDotJson.dependencies['fs-extra']);
|
|
322
322
|
assert.equal('^10.2.0', packageDotJson.dependencies.mocha);
|