@itentialopensource/adapter-cyberark 0.4.2 → 0.4.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 CHANGED
@@ -1,4 +1,20 @@
1
1
 
2
+ ## 0.4.4 [10-15-2024]
3
+
4
+ * Changes made at 2024.10.14_20:23PM
5
+
6
+ See merge request itentialopensource/adapters/adapter-cyberark!13
7
+
8
+ ---
9
+
10
+ ## 0.4.3 [08-25-2024]
11
+
12
+ * update dependencies and metadata
13
+
14
+ See merge request itentialopensource/adapters/adapter-cyberark!11
15
+
16
+ ---
17
+
2
18
  ## 0.4.2 [08-14-2024]
3
19
 
4
20
  * Changes made at 2024.08.14_18:34PM
package/TAB2.md CHANGED
@@ -76,7 +76,7 @@ Sample Properties can be used to help you configure the adapter in the Itential
76
76
 
77
77
  ```json
78
78
  "properties": {
79
- "host": "pvwa.example.com",
79
+ "host": "localhost",
80
80
  "port": 443,
81
81
  "choosepath": "",
82
82
  "base_path": "/",
package/metadata.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "adapter-cyberark",
3
3
  "webName": "Adapter for Integration to CyberArk",
4
+ "supportLevel": "community",
4
5
  "vendor": "CyberArk",
5
6
  "product": "CyberArk",
7
+ "techAlliance": false,
6
8
  "osVersion": [],
7
9
  "apiVersions": [],
8
10
  "iapVersions": [
@@ -54,7 +56,7 @@
54
56
  "storeLink": "",
55
57
  "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-cyberark",
56
58
  "repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-cyberark",
57
- "docLink": "https://docs.itential.com/opensource/docs/cyberark",
59
+ "docLink": "https://gitlab.com/itentialopensource/adapters/adapter-cyberark/-/blob/master/README.md?ref_type=heads",
58
60
  "demoLinks": [],
59
61
  "trainingLinks": [
60
62
  {
@@ -86,7 +88,5 @@
86
88
  "workflowProjects": [],
87
89
  "transformationProjects": [],
88
90
  "exampleProjects": []
89
- },
90
- "supportLevel": "community",
91
- "techAlliance": false
91
+ }
92
92
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-cyberark",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "This adapter integrates with system described as: cyberark",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.7",
7
- "engineVersion": "1.67.19",
7
+ "engineVersion": "1.68.2",
8
8
  "adapterType": "http",
9
9
  "scripts": {
10
10
  "artifactize": "npm i && node utils/packModificationScript.js",
@@ -52,7 +52,7 @@
52
52
  "author": "Itential",
53
53
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-cyberark#readme",
54
54
  "dependencies": {
55
- "@itentialopensource/adapter-utils": "^5.6.0",
55
+ "@itentialopensource/adapter-utils": "^5.9.4",
56
56
  "acorn": "^8.12.1",
57
57
  "ajv": "^8.17.1",
58
58
  "axios": "^1.7.4",
@@ -67,7 +67,7 @@
67
67
  "prompts": "^2.4.2",
68
68
  "readline-sync": "^1.4.10",
69
69
  "semver": "^7.6.3",
70
- "winston": "^3.13.1"
70
+ "winston": "^3.14.2"
71
71
  },
72
72
  "devDependencies": {
73
73
  "chai": "^4.3.7",
Binary file
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.3.4",
2
+ "version": "0.4.2",
3
3
  "configLines": 43202,
4
4
  "scriptLines": 1783,
5
5
  "codeLines": 67677,
6
- "testLines": 43677,
7
- "testCases": 2250,
8
- "totalCodeLines": 113137,
6
+ "testLines": 43653,
7
+ "testCases": 2249,
8
+ "totalCodeLines": 113113,
9
9
  "wfTasks": 730
10
10
  }
@@ -2,7 +2,7 @@
2
2
  "id": "Adapter-cyberark",
3
3
  "type": "Cyberark",
4
4
  "properties": {
5
- "host": "pvwa.example.com",
5
+ "host": "localhost",
6
6
  "port": 443,
7
7
  "choosepath": "",
8
8
  "base_path": "/",
@@ -135,7 +135,7 @@
135
135
  "ostypePrefix": "meraki-",
136
136
  "port": "{port}",
137
137
  "ipaddress": "{ip_addr}",
138
- "serial" : "{serial}"
138
+ "serial": "{serial}"
139
139
  }
140
140
  }
141
141
  ],
@@ -161,7 +161,7 @@
161
161
  "ostypePrefix": "meraki-",
162
162
  "port": "{port}",
163
163
  "ipaddress": "{ip_addr}",
164
- "serial" : "{serial}",
164
+ "serial": "{serial}",
165
165
  "id": "{myid}"
166
166
  }
167
167
  }
@@ -245,7 +245,7 @@
245
245
  "ostypePrefix": "meraki-",
246
246
  "port": "{port}",
247
247
  "ipaddress": "{ip_addr}",
248
- "serial" : "{serial}",
248
+ "serial": "{serial}",
249
249
  "id": "{myid}"
250
250
  }
251
251
  }
@@ -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,
@@ -604,7 +604,7 @@ describe('[integration] Cyberark Adapter Test', () => {
604
604
 
605
605
  const v2APILogonCyberArkAuthenticationBodyParam = {
606
606
  username: 'string',
607
- password: 'string',
607
+ password: samProps.authentication.password,
608
608
  concurrentSession: 'string'
609
609
  };
610
610
  describe('#logonCyberArkAuthentication - errors', () => {
@@ -634,7 +634,7 @@ describe('[integration] Cyberark Adapter Test', () => {
634
634
 
635
635
  const v2APILogonLDAPAuthenticationBodyParam = {
636
636
  username: 'string',
637
- password: 'string',
637
+ password: samProps.authentication.password,
638
638
  concurrentSession: 'string'
639
639
  };
640
640
  describe('#logonLDAPAuthentication - errors', () => {
@@ -719,7 +719,7 @@ describe('[integration] Cyberark Adapter Test', () => {
719
719
 
720
720
  const v2APILogonWindowsAuthenticationBodyParam = {
721
721
  username: 'string',
722
- password: 'string',
722
+ password: samProps.authentication.password,
723
723
  concurrentSessions: 'string'
724
724
  };
725
725
  describe('#logonWindowsAuthentication - errors', () => {
@@ -1964,7 +1964,7 @@ describe('[integration] Cyberark Adapter Test', () => {
1964
1964
  platformID: 'WinDomain',
1965
1965
  address: 'example.com',
1966
1966
  accountName: 'AccountName',
1967
- password: 'Password123',
1967
+ password: samProps.authentication.password,
1968
1968
  username: 'Svc_CybrAutomation',
1969
1969
  disableAutoMgmt: 'false',
1970
1970
  disableAutoMgmtReason: 'N/A',
@@ -2140,7 +2140,7 @@ describe('[integration] Cyberark Adapter Test', () => {
2140
2140
 
2141
2141
  const v1APILogonBodyParam = {
2142
2142
  username: 'string',
2143
- password: 'string',
2143
+ password: samProps.authentication.password,
2144
2144
  connectionNumber: 'string'
2145
2145
  };
2146
2146
  describe('#logon - errors', () => {
@@ -11439,7 +11439,7 @@ describe('[integration] Cyberark Adapter Test', () => {
11439
11439
  Digits: '<integer>',
11440
11440
  DeviceId: '<string>',
11441
11441
  AuthEndPointUrl: '<string>',
11442
- SafeSecret: '<string>',
11442
+ SafeSecret: samProps.authentication.password,
11443
11443
  AccountName: '<string>',
11444
11444
  IsCma: '<boolean>',
11445
11445
  Issuer: '<string>',
@@ -11705,7 +11705,7 @@ describe('[integration] Cyberark Adapter Test', () => {
11705
11705
  Digits: '<integer>',
11706
11706
  DeviceId: '<string>',
11707
11707
  AuthEndPointUrl: '<string>',
11708
- SafeSecret: '<string>',
11708
+ SafeSecret: samProps.authentication.password,
11709
11709
  AccountName: '<string>',
11710
11710
  IsCma: '<boolean>',
11711
11711
  Issuer: '<string>',
@@ -323,7 +323,7 @@ describe('[unit] Cyberark 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.13.1', packageDotJson.dependencies.winston);
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] Cyberark 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', () => {
@@ -1,9 +0,0 @@
1
- {
2
- "ComplianceEntries": [
3
- {
4
- "name": "Compliance Summary",
5
- "numInvalidProjects": 0,
6
- "numValidProjects": 0
7
- }
8
- ]
9
- }
@@ -1,5 +0,0 @@
1
- ---------------------------------------------------------------------------------------------
2
- **** Project Compliance Summary ****
3
- 0 project(s) are not valid
4
- 0 project(s) are valid
5
- ---------------------------------------------------------------------------------------------