@itentialopensource/adapter-zscaler 0.10.4 → 0.10.6

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.10.6 [08-15-2024]
3
+
4
+ * fix vulnerabilities
5
+
6
+ See merge request itentialopensource/adapters/adapter-zscaler!34
7
+
8
+ ---
9
+
10
+ ## 0.10.5 [08-15-2024]
11
+
12
+ * Changes made at 2024.08.14_19:52PM
13
+
14
+ See merge request itentialopensource/adapters/adapter-zscaler!33
15
+
16
+ ---
17
+
2
18
  ## 0.10.4 [08-14-2024]
3
19
 
4
20
  * Changes made at 2024.08.14_15:36PM
package/adapter.js CHANGED
@@ -683,7 +683,7 @@ class Zscaler extends AdapterBaseCl {
683
683
  const { allProps: { authentication: { apiKey } } } = this;
684
684
  const timestamp = Date.now().toString();
685
685
  if (!apiKey) {
686
- return { apiKey: 'missingKey', timestamp };
686
+ return {};
687
687
  }
688
688
  const high = timestamp.substring(timestamp.length - 6);
689
689
 
package/metadata.json CHANGED
@@ -77,8 +77,12 @@
77
77
  "public": true
78
78
  }
79
79
  ],
80
- "workshopLinks": [],
81
- "workshopHomePage": "https://www.itential.com/get-started/"
80
+ "workshopLinks": [
81
+ []
82
+ ],
83
+ "workshopHomePage": [
84
+ "https://www.itential.com/get-started/"
85
+ ]
82
86
  },
83
87
  "assets": [],
84
88
  "relatedItems": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-zscaler",
3
- "version": "0.10.4",
3
+ "version": "0.10.6",
4
4
  "description": "This adapter integrates with system Zscaler",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.7",
Binary file
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.10.1",
2
+ "version": "0.10.5",
3
3
  "configLines": 22098,
4
4
  "scriptLines": 1783,
5
5
  "codeLines": 20937,
6
- "testLines": 14658,
7
- "testCases": 746,
8
- "totalCodeLines": 37378,
6
+ "testLines": 14634,
7
+ "testCases": 745,
8
+ "totalCodeLines": 37354,
9
9
  "wfTasks": 268
10
10
  }
@@ -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,