@backstage/plugin-catalog-backend-module-ldap 0.5.11-next.0 → 0.5.11-next.2
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 +26 -0
- package/dist/index.d.ts +8 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend-module-ldap
|
|
2
2
|
|
|
3
|
+
## 0.5.11-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/backend-tasks@0.5.1-next.2
|
|
9
|
+
- @backstage/catalog-model@1.2.1
|
|
10
|
+
- @backstage/config@1.0.7
|
|
11
|
+
- @backstage/errors@1.1.5
|
|
12
|
+
- @backstage/types@1.0.2
|
|
13
|
+
- @backstage/plugin-catalog-common@1.0.13-next.0
|
|
14
|
+
- @backstage/plugin-catalog-node@1.3.5-next.2
|
|
15
|
+
|
|
16
|
+
## 0.5.11-next.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- @backstage/backend-tasks@0.5.1-next.1
|
|
22
|
+
- @backstage/catalog-model@1.2.1
|
|
23
|
+
- @backstage/config@1.0.7
|
|
24
|
+
- @backstage/errors@1.1.5
|
|
25
|
+
- @backstage/types@1.0.2
|
|
26
|
+
- @backstage/plugin-catalog-common@1.0.13-next.0
|
|
27
|
+
- @backstage/plugin-catalog-node@1.3.5-next.1
|
|
28
|
+
|
|
3
29
|
## 0.5.11-next.0
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { LocationSpec } from '@backstage/plugin-catalog-common';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
type LdapProviderConfig = {
|
|
16
16
|
target: string;
|
|
17
17
|
tls?: TLSConfig;
|
|
18
18
|
bind?: BindConfig;
|
|
@@ -24,7 +24,7 @@ declare type LdapProviderConfig = {
|
|
|
24
24
|
*
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
type TLSConfig = {
|
|
28
28
|
rejectUnauthorized?: boolean;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -32,7 +32,7 @@ declare type TLSConfig = {
|
|
|
32
32
|
*
|
|
33
33
|
* @public
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
type BindConfig = {
|
|
36
36
|
dn: string;
|
|
37
37
|
secret: string;
|
|
38
38
|
};
|
|
@@ -41,7 +41,7 @@ declare type BindConfig = {
|
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
type UserConfig = {
|
|
45
45
|
dn: string;
|
|
46
46
|
options: SearchOptions;
|
|
47
47
|
set?: {
|
|
@@ -62,7 +62,7 @@ declare type UserConfig = {
|
|
|
62
62
|
*
|
|
63
63
|
* @public
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
type GroupConfig = {
|
|
66
66
|
dn: string;
|
|
67
67
|
options: SearchOptions;
|
|
68
68
|
set?: {
|
|
@@ -94,7 +94,7 @@ declare function readLdapConfig(config: Config): LdapProviderConfig[];
|
|
|
94
94
|
*
|
|
95
95
|
* @public
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
type LdapVendor = {
|
|
98
98
|
/**
|
|
99
99
|
* The attribute name that holds the distinguished name (DN) for an entry.
|
|
100
100
|
*/
|
|
@@ -221,7 +221,7 @@ declare const LDAP_UUID_ANNOTATION = "backstage.io/ldap-uuid";
|
|
|
221
221
|
*
|
|
222
222
|
* @public
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
type UserTransformer = (vendor: LdapVendor, config: UserConfig, user: SearchEntry) => Promise<UserEntity | undefined>;
|
|
225
225
|
/**
|
|
226
226
|
* Customize the ingested Group entity
|
|
227
227
|
*
|
|
@@ -235,7 +235,7 @@ declare type UserTransformer = (vendor: LdapVendor, config: UserConfig, user: Se
|
|
|
235
235
|
*
|
|
236
236
|
* @public
|
|
237
237
|
*/
|
|
238
|
-
|
|
238
|
+
type GroupTransformer = (vendor: LdapVendor, config: GroupConfig, group: SearchEntry) => Promise<GroupEntity | undefined>;
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* The default implementation of the transformation from an LDAP entry to a
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-catalog-backend-module-ldap",
|
|
3
3
|
"description": "A Backstage catalog backend module that helps integrate towards LDAP",
|
|
4
|
-
"version": "0.5.11-next.
|
|
4
|
+
"version": "0.5.11-next.2",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"start": "backstage-cli package start"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@backstage/backend-tasks": "^0.5.1-next.
|
|
35
|
+
"@backstage/backend-tasks": "^0.5.1-next.2",
|
|
36
36
|
"@backstage/catalog-model": "^1.2.1",
|
|
37
37
|
"@backstage/config": "^1.0.7",
|
|
38
38
|
"@backstage/errors": "^1.1.5",
|
|
39
|
-
"@backstage/plugin-catalog-common": "^1.0.
|
|
40
|
-
"@backstage/plugin-catalog-node": "^1.3.5-next.
|
|
39
|
+
"@backstage/plugin-catalog-common": "^1.0.13-next.0",
|
|
40
|
+
"@backstage/plugin-catalog-node": "^1.3.5-next.2",
|
|
41
41
|
"@backstage/types": "^1.0.2",
|
|
42
42
|
"@types/ldapjs": "^2.2.0",
|
|
43
43
|
"ldapjs": "^2.2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"winston": "^3.2.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@backstage/cli": "^0.22.6-next.
|
|
49
|
+
"@backstage/cli": "^0.22.6-next.2",
|
|
50
50
|
"@types/lodash": "^4.14.151"
|
|
51
51
|
},
|
|
52
52
|
"files": [
|