@itentialopensource/adapter-checkpoint_management 0.4.0 → 0.6.0
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/AUTH.md +19 -16
- package/CALLS.md +12 -0
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +23 -18
- package/SYSTEMINFO.md +15 -3
- package/adapter.js +256 -333
- package/adapterBase.js +465 -898
- package/changelogs/changelog.md +111 -0
- package/entities/SessionManagement/action.json +21 -0
- package/entities/SessionManagement/schema.json +1 -0
- package/metadata.json +52 -0
- package/package.json +25 -25
- package/pronghorn.json +529 -161
- package/propertiesSchema.json +358 -31
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +8 -8
- package/report/updateReport1691152555900.json +120 -0
- package/sampleProperties.json +153 -34
- package/test/integration/adapterTestBasicGet.js +2 -4
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +130 -2
- package/test/unit/adapterBaseTestUnit.js +388 -313
- package/test/unit/adapterTestUnit.js +332 -112
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +2 -2
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/pre-commit.sh +2 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +89 -34
- package/utils/tbUtils.js +41 -21
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +9 -6
- package/workflows/README.md +0 -3
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
|
|
2
|
+
## 0.5.0 [05-30-2023]
|
|
3
|
+
|
|
4
|
+
* Minor/adapt 2429
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!11
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 0.4.0 [08-08-2022]
|
|
11
|
+
|
|
12
|
+
* Add Session Management Capability
|
|
13
|
+
|
|
14
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!9
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 0.3.1 [06-21-2022]
|
|
19
|
+
|
|
20
|
+
* Changes for Authentication and Healthcheck
|
|
21
|
+
|
|
22
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!8
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 0.3.0 [05-29-2022]
|
|
27
|
+
|
|
28
|
+
* Migration to the latest Adapter Foundation
|
|
29
|
+
|
|
30
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!7
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 0.2.6 [03-02-2022]
|
|
35
|
+
|
|
36
|
+
- Improve sample properties with tested config
|
|
37
|
+
|
|
38
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!6
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## 0.2.5 [03-02-2021]
|
|
43
|
+
|
|
44
|
+
- Migration to bring up to the latest foundation
|
|
45
|
+
- Change to .eslintignore (adapter_modification directory)
|
|
46
|
+
- Change to README.md (new properties, new scripts, new processes)
|
|
47
|
+
- Changes to adapterBase.js (new methods)
|
|
48
|
+
- Changes to package.json (new scripts, dependencies)
|
|
49
|
+
- Changes to propertiesSchema.json (new properties and changes to existing)
|
|
50
|
+
- Changes to the Unit test
|
|
51
|
+
- Adding several test files, utils files and .generic entity
|
|
52
|
+
- Fix order of scripts and dependencies in package.json
|
|
53
|
+
- Fix order of properties in propertiesSchema.json
|
|
54
|
+
- Update sampleProperties, unit and integration tests to have all new properties.
|
|
55
|
+
- Add all new calls to adapter.js and pronghorn.json
|
|
56
|
+
- Add suspend piece to older methods
|
|
57
|
+
|
|
58
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!5
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 0.2.4 [07-07-2020]
|
|
63
|
+
|
|
64
|
+
- Update the adapter to the latest foundation
|
|
65
|
+
|
|
66
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!4
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 0.2.3 [02-13-2020]
|
|
71
|
+
|
|
72
|
+
- Made changes to the authentication process based on findings about checkpoint management - also changed the base path based on these findings (there was no base path in the swagger). Adapter being tested by Kavan - if needed, more changes will follow
|
|
73
|
+
|
|
74
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!3
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## 0.2.2 [01-16-2020] & 0.2.1 [01-02-2020]
|
|
79
|
+
|
|
80
|
+
- Bring the adapter up to the latest adapter foundation
|
|
81
|
+
|
|
82
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!2
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## 0.2.0 [11-07-2019]
|
|
87
|
+
|
|
88
|
+
- Update the adapter to the latest adapter foundation.
|
|
89
|
+
- Updating to adapter-utils 4.24.3 (automatic)
|
|
90
|
+
- Add sample token schemas (manual)
|
|
91
|
+
- Adding placement property to getToken response schema (manual - before encrypt)
|
|
92
|
+
- Adding sso default into action.json for getToken (manual - before response object)
|
|
93
|
+
- Add new adapter properties for metrics & mock (save_metric, mongo and return_raw) (automatic - check place manual before stub)
|
|
94
|
+
- Update sample properties to include new properties (manual)
|
|
95
|
+
- Update integration test for raw mockdata (automatic)
|
|
96
|
+
- Update test properties (manual)
|
|
97
|
+
- Changes to artifactize (automatic)
|
|
98
|
+
- Update type in sampleProperties so it is correct for the adapter (manual)
|
|
99
|
+
- Update the readme (automatic)
|
|
100
|
+
|
|
101
|
+
See merge request itentialopensource/adapters/security/adapter-checkpoint_management!1
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## 0.1.1 [11-04-2019]
|
|
106
|
+
|
|
107
|
+
- Initial Commit
|
|
108
|
+
|
|
109
|
+
See commit 0776326
|
|
110
|
+
|
|
111
|
+
---
|
|
@@ -21,6 +21,27 @@
|
|
|
21
21
|
}
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
"name": "loginToDomainWithSid",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/login-to-domain?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": true,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "JSON",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": ""
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
24
45
|
{
|
|
25
46
|
"name": "publish",
|
|
26
47
|
"protocol": "REST",
|
package/metadata.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "adapter-checkpoint_management",
|
|
3
|
+
"vendor": "Checkpoint",
|
|
4
|
+
"product": "Management",
|
|
5
|
+
"osVersion": [
|
|
6
|
+
"v1.5"
|
|
7
|
+
],
|
|
8
|
+
"apiVersions": [
|
|
9
|
+
"1.0"
|
|
10
|
+
],
|
|
11
|
+
"iapVersions": [
|
|
12
|
+
"2021.1.x",
|
|
13
|
+
"2021.2.x",
|
|
14
|
+
"2022.1.x",
|
|
15
|
+
"2023.1.x"
|
|
16
|
+
],
|
|
17
|
+
"method": "REST API",
|
|
18
|
+
"type": "Adapter",
|
|
19
|
+
"example": "",
|
|
20
|
+
"domains": [
|
|
21
|
+
"Inventory",
|
|
22
|
+
"Security/SASE"
|
|
23
|
+
],
|
|
24
|
+
"tags": [],
|
|
25
|
+
"deprecated": {
|
|
26
|
+
"isDeprecated": false
|
|
27
|
+
},
|
|
28
|
+
"brokerSince": "0.6.0",
|
|
29
|
+
"documentation": {
|
|
30
|
+
"storeLink": "",
|
|
31
|
+
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-checkpoint_management",
|
|
32
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/security/adapter-checkpoint_management",
|
|
33
|
+
"docLink": "https://docs.itential.com/opensource/docs/check-point-management",
|
|
34
|
+
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
|
35
|
+
"contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
|
|
36
|
+
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
|
37
|
+
"webLink": "https://www.itential.com/adapters/checkpoint-management/",
|
|
38
|
+
"vendorLink": "https://www.checkpoint.com/",
|
|
39
|
+
"productLink": "https://www.checkpoint.com/",
|
|
40
|
+
"apiLinks": [
|
|
41
|
+
"https://sc1.checkpoint.com/documents/latest/APIs/index.html#~v1.9%20"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"relatedItems": {
|
|
45
|
+
"adapters": [],
|
|
46
|
+
"integrations": [],
|
|
47
|
+
"ecosystemApplications": [],
|
|
48
|
+
"automations": [],
|
|
49
|
+
"transformations": [],
|
|
50
|
+
"useCases": []
|
|
51
|
+
}
|
|
52
|
+
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-checkpoint_management",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "This adapter integrates with system described as: checkpointManagementApi.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
|
-
"systemName": "
|
|
6
|
+
"systemName": "Checkpoint Management",
|
|
7
7
|
"wizardVersion": "2.44.7",
|
|
8
|
-
"engineVersion": "1.
|
|
8
|
+
"engineVersion": "1.67.0",
|
|
9
9
|
"adapterType": "http",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
12
|
-
"preinstall": "node utils/setup.js
|
|
12
|
+
"preinstall": "node utils/setup.js",
|
|
13
|
+
"deinstall": "node utils/removeHooks.js",
|
|
13
14
|
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
14
15
|
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
15
16
|
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
"adapter:migrate": "node utils/modify.js -m",
|
|
24
25
|
"adapter:update": "node utils/modify.js -u",
|
|
25
26
|
"adapter:revert": "node utils/modify.js -r",
|
|
26
|
-
"troubleshoot": "node utils/tbScript.js",
|
|
27
|
+
"troubleshoot": "node utils/tbScript.js troubleshoot",
|
|
27
28
|
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
28
29
|
"basicget": "node utils/tbScript.js basicget",
|
|
29
30
|
"connectivity": "node utils/tbScript.js connectivity",
|
|
@@ -54,32 +55,31 @@
|
|
|
54
55
|
"author": "Itential",
|
|
55
56
|
"homepage": "https://gitlab.com/itentialopensource/adapters/security/adapter-checkpoint_management#readme",
|
|
56
57
|
"dependencies": {
|
|
57
|
-
"@itentialopensource/adapter-utils": "^
|
|
58
|
-
"ajv": "^
|
|
59
|
-
"axios": "^
|
|
60
|
-
"commander": "^
|
|
61
|
-
"
|
|
58
|
+
"@itentialopensource/adapter-utils": "^5.1.0",
|
|
59
|
+
"ajv": "^8.12.0",
|
|
60
|
+
"axios": "^1.4.0",
|
|
61
|
+
"commander": "^11.0.0",
|
|
62
|
+
"dns-lookup-promise": "^1.0.4",
|
|
63
|
+
"esprima": "^4.0.1",
|
|
64
|
+
"fs-extra": "^11.1.1",
|
|
62
65
|
"json-query": "^2.2.2",
|
|
63
|
-
"mocha": "^
|
|
66
|
+
"mocha": "^10.2.0",
|
|
64
67
|
"mocha-param": "^2.0.1",
|
|
65
|
-
"mongodb": "^4.
|
|
66
|
-
"network-diagnostics": "^0.5.3",
|
|
68
|
+
"mongodb": "^4.16.0",
|
|
67
69
|
"nyc": "^15.1.0",
|
|
70
|
+
"ping": "^0.4.4",
|
|
71
|
+
"prompts": "^2.4.2",
|
|
68
72
|
"readline-sync": "^1.4.10",
|
|
69
|
-
"semver": "^7.3
|
|
70
|
-
"winston": "^3.
|
|
73
|
+
"semver": "^7.5.3",
|
|
74
|
+
"winston": "^3.9.0"
|
|
71
75
|
},
|
|
72
76
|
"devDependencies": {
|
|
73
|
-
"chai": "^4.3.
|
|
74
|
-
"eslint": "^
|
|
75
|
-
"eslint-config-airbnb-base": "^
|
|
76
|
-
"eslint-plugin-import": "^2.
|
|
77
|
-
"eslint-plugin-json": "^3.
|
|
78
|
-
"
|
|
79
|
-
"testdouble": "^3.16.1"
|
|
80
|
-
},
|
|
81
|
-
"resolutions": {
|
|
82
|
-
"minimist": "^1.2.5"
|
|
77
|
+
"chai": "^4.3.7",
|
|
78
|
+
"eslint": "^8.44.0",
|
|
79
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
80
|
+
"eslint-plugin-import": "^2.27.5",
|
|
81
|
+
"eslint-plugin-json": "^3.1.0",
|
|
82
|
+
"testdouble": "^3.18.0"
|
|
83
83
|
},
|
|
84
84
|
"private": false
|
|
85
85
|
}
|