@itentialopensource/adapter-checkpoint_management 0.2.4 → 0.3.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/.eslintignore +1 -0
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +169 -0
- package/CHANGELOG.md +52 -13
- package/CODE_OF_CONDUCT.md +12 -17
- package/CONTRIBUTING.md +88 -74
- package/ENHANCE.md +69 -0
- package/PROPERTIES.md +641 -0
- package/README.md +228 -420
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +2359 -37
- package/adapterBase.js +1270 -238
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +5 -5
- package/entities/APISettings/action.json +3 -3
- package/entities/AccessLayer/action.json +6 -6
- package/entities/AccessRole/action.json +6 -6
- package/entities/AccessRule/action.json +6 -6
- package/entities/AccessSection/action.json +5 -5
- package/entities/AddressRange/action.json +6 -6
- package/entities/Administrator/action.json +7 -7
- package/entities/Application/action.json +6 -6
- package/entities/ApplicationCategory/action.json +6 -6
- package/entities/ApplicationGroup/action.json +6 -6
- package/entities/DNSDomain/action.json +6 -6
- package/entities/DataCenter/action.json +4 -4
- package/entities/DataCenterObject/action.json +5 -5
- package/entities/Domain/action.json +6 -6
- package/entities/DynamicObject/action.json +6 -6
- package/entities/GlobalAssignment/action.json +7 -7
- package/entities/GlobalDomain/action.json +3 -3
- package/entities/Group/action.json +6 -6
- package/entities/GroupWithExclusion/action.json +6 -6
- package/entities/Host/action.json +6 -6
- package/entities/IPS/action.json +5 -5
- package/entities/IPSExtendedAttributes/action.json +3 -3
- package/entities/LoginMessage/action.json +3 -3
- package/entities/Misc/action.json +15 -15
- package/entities/MultiDomainServerMDS/action.json +3 -3
- package/entities/MulticastAddressRange/action.json +6 -6
- package/entities/NATRule/action.json +6 -6
- package/entities/NATSection/action.json +5 -5
- package/entities/Network/action.json +6 -6
- package/entities/OPSECApplication/action.json +6 -6
- package/entities/Placeholder/action.json +2 -2
- package/entities/Policy/action.json +3 -3
- package/entities/PolicyPackage/action.json +6 -6
- package/entities/SecurityZone/action.json +6 -6
- package/entities/ServiceDCERPC/action.json +6 -6
- package/entities/ServiceGroup/action.json +6 -6
- package/entities/ServiceICMP/action.json +6 -6
- package/entities/ServiceICMP6/action.json +6 -6
- package/entities/ServiceOther/action.json +6 -6
- package/entities/ServiceRPC/action.json +6 -6
- package/entities/ServiceSCTP/action.json +6 -6
- package/entities/ServiceTCP/action.json +6 -6
- package/entities/ServiceUDP/action.json +6 -6
- package/entities/Session/action.json +10 -10
- package/entities/SessionManagement/action.json +7 -7
- package/entities/SimpleGateway/action.json +6 -6
- package/entities/Tags/action.json +6 -6
- package/entities/ThreatEmulation/action.json +2 -2
- package/entities/ThreatException/action.json +6 -6
- package/entities/ThreatExceptionGroup/action.json +6 -6
- package/entities/ThreatIndicator/action.json +6 -6
- package/entities/ThreatLayer/action.json +6 -6
- package/entities/ThreatProfile/action.json +6 -6
- package/entities/ThreatProtection/action.json +6 -6
- package/entities/ThreatRule/action.json +6 -6
- package/entities/Time/action.json +6 -6
- package/entities/TimeGroup/action.json +6 -6
- package/entities/TrustedClient/action.json +6 -6
- package/entities/UpdatableObject/action.json +5 -5
- package/entities/UpdatableObjectsRepository/action.json +3 -3
- package/entities/VPNCommunityMeshed/action.json +6 -6
- package/entities/VPNCommunityStar/action.json +6 -6
- package/entities/Wildcard/action.json +6 -6
- package/error.json +12 -0
- package/package.json +41 -18
- package/pronghorn.json +642 -74
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +472 -4
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/updateReport1614705421970.json +95 -0
- package/report/updateReport1646177180887.json +95 -0
- package/report/updateReport1653864222137.json +120 -0
- package/sampleProperties.json +113 -12
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +29 -98
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +642 -109
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +1 -1
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +3 -0
- package/utils/removeHooks.js +20 -0
- package/utils/tbScript.js +184 -0
- package/utils/tbUtils.js +469 -0
- package/utils/testRunner.js +16 -16
- package/utils/troubleshootingAdapter.js +190 -0
- package/img/adapter.jpg +0 -0
package/package.json
CHANGED
|
@@ -1,20 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-checkpoint_management",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "This adapter integrates with system described as: checkpointManagementApi.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"systemName": "Check Point Management",
|
|
7
|
+
"wizardVersion": "2.44.7",
|
|
8
|
+
"engineVersion": "1.61.6",
|
|
9
|
+
"adapterType": "http",
|
|
8
10
|
"scripts": {
|
|
9
11
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
10
|
-
"preinstall": "node utils/setup.js",
|
|
12
|
+
"preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
|
|
11
13
|
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
12
14
|
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
15
|
+
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
13
16
|
"test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
|
|
14
17
|
"test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
|
|
15
18
|
"test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
|
|
16
|
-
"test": "npm run test:unit && npm run test:integration",
|
|
17
|
-
"
|
|
19
|
+
"test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
|
|
20
|
+
"adapter:install": "npm i && node utils/tbScript.js install",
|
|
21
|
+
"adapter:checkMigrate": "node utils/checkMigrate.js",
|
|
22
|
+
"adapter:findPath": "node utils/findPath.js",
|
|
23
|
+
"adapter:migrate": "node utils/modify.js -m",
|
|
24
|
+
"adapter:update": "node utils/modify.js -u",
|
|
25
|
+
"adapter:revert": "node utils/modify.js -r",
|
|
26
|
+
"troubleshoot": "node utils/tbScript.js",
|
|
27
|
+
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
28
|
+
"basicget": "node utils/tbScript.js basicget",
|
|
29
|
+
"connectivity": "node utils/tbScript.js connectivity",
|
|
30
|
+
"deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
|
|
18
31
|
"build": "npm run deploy"
|
|
19
32
|
},
|
|
20
33
|
"keywords": [
|
|
@@ -41,22 +54,32 @@
|
|
|
41
54
|
"author": "Itential",
|
|
42
55
|
"homepage": "https://gitlab.com/itentialopensource/adapters/security/adapter-checkpoint_management#readme",
|
|
43
56
|
"dependencies": {
|
|
44
|
-
"@itentialopensource/adapter-utils": "^4.
|
|
57
|
+
"@itentialopensource/adapter-utils": "^4.45.6",
|
|
45
58
|
"ajv": "^6.12.0",
|
|
59
|
+
"axios": "^0.21.0",
|
|
60
|
+
"commander": "^2.20.0",
|
|
46
61
|
"fs-extra": "^8.1.0",
|
|
47
|
-
"
|
|
48
|
-
"
|
|
62
|
+
"json-query": "^2.2.2",
|
|
63
|
+
"mocha": "^9.0.1",
|
|
64
|
+
"mocha-param": "^2.0.1",
|
|
65
|
+
"mongodb": "^4.1.0",
|
|
66
|
+
"network-diagnostics": "^0.5.3",
|
|
67
|
+
"nyc": "^15.1.0",
|
|
68
|
+
"readline-sync": "^1.4.10",
|
|
69
|
+
"semver": "^7.3.2",
|
|
70
|
+
"winston": "^3.3.3"
|
|
49
71
|
},
|
|
50
72
|
"devDependencies": {
|
|
51
|
-
"chai": "^4.
|
|
52
|
-
"eslint": "^7.
|
|
53
|
-
"eslint-config-airbnb-base": "^14.2.
|
|
54
|
-
"eslint-plugin-import": "^2.
|
|
55
|
-
"eslint-plugin-json": "^
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
73
|
+
"chai": "^4.3.4",
|
|
74
|
+
"eslint": "^7.29.0",
|
|
75
|
+
"eslint-config-airbnb-base": "^14.2.1",
|
|
76
|
+
"eslint-plugin-import": "^2.23.4",
|
|
77
|
+
"eslint-plugin-json": "^3.0.0",
|
|
78
|
+
"package-json-validator": "^0.6.3",
|
|
79
|
+
"testdouble": "^3.16.1"
|
|
80
|
+
},
|
|
81
|
+
"resolutions": {
|
|
82
|
+
"minimist": "^1.2.5"
|
|
60
83
|
},
|
|
61
84
|
"private": false
|
|
62
85
|
}
|