@itentialopensource/adapter-checkpoint_management 0.3.0 → 0.3.1

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,12 @@
1
1
 
2
+ ## 0.3.1 [06-21-2022]
3
+
4
+ * Changes for Authentication and Healthcheck
5
+
6
+ See merge request itentialopensource/adapters/security/adapter-checkpoint_management!8
7
+
8
+ ---
9
+
2
10
  ## 0.3.0 [05-29-2022]
3
11
 
4
12
  * Migration to the latest Adapter Foundation
@@ -30,7 +30,7 @@
30
30
  "name": "healthcheck",
31
31
  "protocol": "REST",
32
32
  "method": "POST",
33
- "entitypath": "{base_path}/{version}/show-session?{query}",
33
+ "entitypath": "{base_path}/{version}/keepalive?{query}",
34
34
  "requestSchema": "schema.json",
35
35
  "responseSchema": "schema.json",
36
36
  "timeout": 0,
@@ -35,6 +35,30 @@
35
35
  "key": ""
36
36
  },
37
37
  "external_name": "password"
38
+ },
39
+ "session-timeout": {
40
+ "type": "number",
41
+ "description": "time for the session to remain open",
42
+ "default": 3600,
43
+ "parse": false,
44
+ "encode": false,
45
+ "encrypt": {
46
+ "type": "AES",
47
+ "key": ""
48
+ },
49
+ "external_name": "session-timeout"
50
+ },
51
+ "domain": {
52
+ "type": "string",
53
+ "description": "domain to authenticate against",
54
+ "default": "",
55
+ "parse": false,
56
+ "encode": false,
57
+ "encrypt": {
58
+ "type": "AES",
59
+ "key": ""
60
+ },
61
+ "external_name": "domain"
38
62
  }
39
63
  },
40
64
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-checkpoint_management",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "This adapter integrates with system described as: checkpointManagementApi.",
5
5
  "main": "adapter.js",
6
6
  "systemName": "Check Point Management",
Binary file
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.6",
2
+ "version": "0.3.0",
3
3
  "configLines": 12135,
4
4
  "scriptLines": 1707,
5
5
  "codeLines": 29458,
@@ -22,7 +22,7 @@
22
22
  "token_result_field": "sid",
23
23
  "token_URI_path": "/login",
24
24
  "invalid_token_error": 400,
25
- "token_timeout": 300000,
25
+ "token_timeout": 3600000,
26
26
  "token_cache": "local",
27
27
  "auth_field": "header.headers.x-chkp-sid",
28
28
  "auth_field_format": "{token}",
@@ -61,7 +61,10 @@
61
61
  "payload": {},
62
62
  "uriOptions": {},
63
63
  "addlHeaders": {},
64
- "authData": {}
64
+ "authData": {
65
+ "session-timeout": 3600,
66
+ "domain": "INSERT LOGIN DOMAIN"
67
+ }
65
68
  },
66
69
  "healthcheck_on_timeout": true,
67
70
  "return_raw": false,