@itentialopensource/adapter-checkpoint_management 0.10.2 → 0.10.4
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/TAB2.md +2 -2
- package/metadata.json +4 -4
- package/package.json +4 -4
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +4 -4
- package/sampleProperties.json +2 -2
- package/test/integration/adapterTestConnectivity.js +0 -24
- package/test/integration/adapterTestIntegration.js +4 -4
- package/test/unit/adapterTestUnit.js +2 -2
- package/compliance-report.json +0 -9
- package/compliance-report.txt +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
## 0.10.4 [10-15-2024]
|
|
3
|
+
|
|
4
|
+
* Changes made at 2024.10.14_21:28PM
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/adapter-checkpoint_management!26
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 0.10.3 [08-24-2024]
|
|
11
|
+
|
|
12
|
+
* update dependencies and metadata
|
|
13
|
+
|
|
14
|
+
See merge request itentialopensource/adapters/adapter-checkpoint_management!24
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
2
18
|
## 0.10.2 [08-14-2024]
|
|
3
19
|
|
|
4
20
|
* Changes made at 2024.08.14_19:46PM
|
package/TAB2.md
CHANGED
|
@@ -58,7 +58,7 @@ Sample Properties can be used to help you configure the adapter in the Itential
|
|
|
58
58
|
|
|
59
59
|
```json
|
|
60
60
|
"properties": {
|
|
61
|
-
"host": "
|
|
61
|
+
"host": "localhost",
|
|
62
62
|
"port": 443,
|
|
63
63
|
"choosepath": "",
|
|
64
64
|
"base_path": "/web_api",
|
|
@@ -73,7 +73,7 @@ Sample Properties can be used to help you configure the adapter in the Itential
|
|
|
73
73
|
"auth_method": "request_token",
|
|
74
74
|
"username": "username",
|
|
75
75
|
"password": "password",
|
|
76
|
-
"token": "",
|
|
76
|
+
"token": "token",
|
|
77
77
|
"token_user_field": "user",
|
|
78
78
|
"token_password_field": "password",
|
|
79
79
|
"token_result_field": "sid",
|
package/metadata.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adapter-checkpoint_management",
|
|
3
3
|
"webName": "Adapter for Integration to Check Point Firewall Management",
|
|
4
|
+
"supportLevel": "community",
|
|
4
5
|
"vendor": "Check Point",
|
|
5
6
|
"product": "Firewall",
|
|
7
|
+
"techAlliance": false,
|
|
6
8
|
"osVersion": [
|
|
7
9
|
"v1.5"
|
|
8
10
|
],
|
|
@@ -50,7 +52,7 @@
|
|
|
50
52
|
"storeLink": "",
|
|
51
53
|
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-checkpoint_management",
|
|
52
54
|
"repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-checkpoint_management",
|
|
53
|
-
"docLink": "https://
|
|
55
|
+
"docLink": "https://gitlab.com/itentialopensource/adapters/adapter-checkpoint_management/-/blob/master/README.md?ref_type=heads",
|
|
54
56
|
"demoLinks": [],
|
|
55
57
|
"trainingLinks": [
|
|
56
58
|
{
|
|
@@ -82,7 +84,5 @@
|
|
|
82
84
|
"workflowProjects": [],
|
|
83
85
|
"transformationProjects": [],
|
|
84
86
|
"exampleProjects": []
|
|
85
|
-
}
|
|
86
|
-
"supportLevel": "community",
|
|
87
|
-
"techAlliance": false
|
|
87
|
+
}
|
|
88
88
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-checkpoint_management",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.4",
|
|
4
4
|
"description": "This adapter integrates with system described as: checkpointManagementApi.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"systemName": "Checkpoint Management",
|
|
7
7
|
"wizardVersion": "2.44.7",
|
|
8
|
-
"engineVersion": "1.
|
|
8
|
+
"engineVersion": "1.68.2",
|
|
9
9
|
"adapterType": "http",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"author": "Itential",
|
|
55
55
|
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-checkpoint_management#readme",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@itentialopensource/adapter-utils": "^5.
|
|
57
|
+
"@itentialopensource/adapter-utils": "^5.9.4",
|
|
58
58
|
"acorn": "^8.12.1",
|
|
59
59
|
"ajv": "^8.17.1",
|
|
60
60
|
"axios": "^1.7.4",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"prompts": "^2.4.2",
|
|
70
70
|
"readline-sync": "^1.4.10",
|
|
71
71
|
"semver": "^7.6.3",
|
|
72
|
-
"winston": "^3.
|
|
72
|
+
"winston": "^3.14.2"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"chai": "^4.3.7",
|
|
Binary file
|
package/report/adapterInfo.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.10.2",
|
|
3
3
|
"configLines": 25859,
|
|
4
4
|
"scriptLines": 1783,
|
|
5
5
|
"codeLines": 33767,
|
|
6
|
-
"testLines":
|
|
7
|
-
"testCases":
|
|
8
|
-
"totalCodeLines":
|
|
6
|
+
"testLines": 21613,
|
|
7
|
+
"testCases": 1031,
|
|
8
|
+
"totalCodeLines": 57163,
|
|
9
9
|
"wfTasks": 615
|
|
10
10
|
}
|
package/sampleProperties.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "Adapter-checkpoint_management",
|
|
3
3
|
"type": "CheckpointManagement",
|
|
4
4
|
"properties": {
|
|
5
|
-
"host": "
|
|
5
|
+
"host": "localhost",
|
|
6
6
|
"port": 443,
|
|
7
7
|
"choosepath": "",
|
|
8
8
|
"base_path": "/web_api",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"auth_method": "request_token",
|
|
18
18
|
"username": "username",
|
|
19
19
|
"password": "password",
|
|
20
|
-
"token": "",
|
|
20
|
+
"token": "token",
|
|
21
21
|
"token_user_field": "user",
|
|
22
22
|
"token_password_field": "password",
|
|
23
23
|
"token_result_field": "sid",
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
/* eslint no-unused-vars: warn */
|
|
5
5
|
|
|
6
6
|
const assert = require('assert');
|
|
7
|
-
const http = require('http');
|
|
8
7
|
const https = require('https');
|
|
9
8
|
const mocha = require('mocha');
|
|
10
9
|
const ping = require('ping');
|
|
@@ -53,29 +52,6 @@ describe('[integration] Adapter Test', () => {
|
|
|
53
52
|
});
|
|
54
53
|
});
|
|
55
54
|
|
|
56
|
-
it('Support HTTP on port 80', (done) => {
|
|
57
|
-
const requestOptions = {
|
|
58
|
-
host,
|
|
59
|
-
port: 80,
|
|
60
|
-
method: 'HEAD'
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
const req = http.request(requestOptions, (res) => {
|
|
64
|
-
try {
|
|
65
|
-
assert.ok(res.statusCode >= 200 && res.statusCode < 400);
|
|
66
|
-
done();
|
|
67
|
-
} catch (error) {
|
|
68
|
-
done(error);
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
req.on('error', (err) => {
|
|
73
|
-
done(err);
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
req.end();
|
|
77
|
-
});
|
|
78
|
-
|
|
79
55
|
it('Support HTTPS on port 443', (done) => {
|
|
80
56
|
const requestOptions = {
|
|
81
57
|
host,
|
|
@@ -555,8 +555,8 @@ describe('[integration] Checkpoint_Management Adapter Test', () => {
|
|
|
555
555
|
});
|
|
556
556
|
|
|
557
557
|
const sessionManagementLoginBodyParam = {
|
|
558
|
-
user:
|
|
559
|
-
password:
|
|
558
|
+
user: samProps.authentication.username,
|
|
559
|
+
password: samProps.authentication.password
|
|
560
560
|
};
|
|
561
561
|
describe('#login - errors', () => {
|
|
562
562
|
it('should work if integrated or standalone with mockdata', (done) => {
|
|
@@ -10089,7 +10089,7 @@ describe('[integration] Checkpoint_Management Adapter Test', () => {
|
|
|
10089
10089
|
|
|
10090
10090
|
const administratorAddAdministratorBodyParam = {
|
|
10091
10091
|
name: 'string',
|
|
10092
|
-
password:
|
|
10092
|
+
password: samProps.authentication.password,
|
|
10093
10093
|
'must-change-password': true,
|
|
10094
10094
|
email: 'string',
|
|
10095
10095
|
'phone-number': 'string',
|
|
@@ -10151,7 +10151,7 @@ describe('[integration] Checkpoint_Management Adapter Test', () => {
|
|
|
10151
10151
|
|
|
10152
10152
|
const administratorSetAdministratorBodyParam = {
|
|
10153
10153
|
name: 'string',
|
|
10154
|
-
password:
|
|
10154
|
+
password: samProps.authentication.password,
|
|
10155
10155
|
'permissions-profile': 'string'
|
|
10156
10156
|
};
|
|
10157
10157
|
describe('#setAdministrator - errors', () => {
|
|
@@ -323,7 +323,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
323
323
|
assert.equal('^0.4.4', packageDotJson.dependencies.ping);
|
|
324
324
|
assert.equal('^1.4.10', packageDotJson.dependencies['readline-sync']);
|
|
325
325
|
assert.equal('^7.6.3', packageDotJson.dependencies.semver);
|
|
326
|
-
assert.equal('^3.
|
|
326
|
+
assert.equal('^3.14.2', packageDotJson.dependencies.winston);
|
|
327
327
|
done();
|
|
328
328
|
} catch (error) {
|
|
329
329
|
log.error(`Test Failure: ${error}`);
|
|
@@ -561,7 +561,7 @@ describe('[unit] Checkpoint_Management Adapter Test', () => {
|
|
|
561
561
|
log.error(`Adapter Exception: ${error}`);
|
|
562
562
|
done(error);
|
|
563
563
|
}
|
|
564
|
-
});
|
|
564
|
+
}).timeout(attemptTimeout);
|
|
565
565
|
});
|
|
566
566
|
|
|
567
567
|
describe('propertiesSchema.json', () => {
|
package/compliance-report.json
DELETED
package/compliance-report.txt
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
---------------------------------------------------------------------------------------------
|
|
2
|
-
**** Project Compliance Summary ****
|
|
3
|
-
0 project(s) are not valid
|
|
4
|
-
0 project(s) are valid
|
|
5
|
-
---------------------------------------------------------------------------------------------
|