@itentialopensource/adapter-delinea 1.0.0 → 2.0.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,20 @@
1
1
 
2
+ ## 2.0.1 [04-19-2023]
3
+
4
+ * Update authentication
5
+
6
+ See merge request itentialopensource/adapters/inventory/adapter-delinea!2
7
+
8
+ ---
9
+
10
+ ## 2.0.0 [04-04-2023]
11
+
12
+ * Major/adapt 2571
13
+
14
+ See merge request itentialopensource/adapters/inventory/adapter-delinea!1
15
+
16
+ ---
17
+
2
18
  ## 1.0.0 [02-10-2023]
3
19
 
4
20
  * Major/adapt 2571
@@ -4,13 +4,13 @@
4
4
  "name": "getToken",
5
5
  "protocol": "REST",
6
6
  "method": "POST",
7
- "entitypath": "{base_path}/{version}/oauth2/token",
7
+ "entitypath": "/oauth2/token",
8
8
  "requestSchema": "schemaTokenReq.json",
9
9
  "responseSchema": "schemaTokenResp.json",
10
10
  "timeout": 0,
11
11
  "sendEmpty": false,
12
- "requestDatatype": "",
13
- "responseDatatype": "",
12
+ "requestDatatype": "URLENCODE",
13
+ "responseDatatype": "JSON",
14
14
  "headers": {},
15
15
  "sso": {
16
16
  "protocol": "",
@@ -29,7 +29,7 @@
29
29
  "name": "healthcheck",
30
30
  "protocol": "REST",
31
31
  "method": "GET",
32
- "entitypath": "{base_path}/{version}/healthcheck?{query}",
32
+ "entitypath": "{base_path}/{version}/v1/healthcheck?{query}",
33
33
  "requestSchema": "schema.json",
34
34
  "responseSchema": "schema.json",
35
35
  "timeout": 0,
@@ -46,7 +46,7 @@
46
46
  "type": "AES",
47
47
  "key": ""
48
48
  },
49
- "external_name": "token"
49
+ "external_name": "access_token"
50
50
  }
51
51
  },
52
52
  "definitions": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-delinea",
3
- "version": "1.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "This adapter integrates with system described as: Delinea Secret Server.",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.15",
Binary file
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.1",
2
+ "version": "2.0.0",
3
3
  "configLines": 48730,
4
4
  "scriptLines": 1795,
5
5
  "codeLines": 67856,
@@ -4,7 +4,7 @@
4
4
  "properties": {
5
5
  "host": "localhost",
6
6
  "port": 443,
7
- "base_path": "/https:/sspam.armstrongceilings.com/api",
7
+ "base_path": "/api",
8
8
  "version": "",
9
9
  "cache_location": "none",
10
10
  "encode_pathvars": true,
@@ -13,7 +13,7 @@
13
13
  "stub": true,
14
14
  "protocol": "https",
15
15
  "authentication": {
16
- "auth_method": "no_authentication",
16
+ "auth_method": "request_token",
17
17
  "username": "username",
18
18
  "password": "password",
19
19
  "token": "token",
@@ -21,7 +21,7 @@
21
21
  "token_cache": "local",
22
22
  "invalid_token_error": 401,
23
23
  "auth_field": "header.headers.Authorization",
24
- "auth_field_format": "Basic {b64}{username}:{password}{/b64}",
24
+ "auth_field_format": "Bearer {token}",
25
25
  "auth_logging": false,
26
26
  "client_id": "",
27
27
  "client_secret": "",