@coffre/client 0.14.7 → 0.16.0
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/dist/{index-CURF99SB.d.ts → index-DZZ3DRTO.d.ts} +1014 -1086
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/routes.d.ts +1 -1
- package/dist/routes.js +1 -4
- package/dist/{src-BCKSeCER.js → src-JtgcfCXD.js} +36 -29
- package/dist/{workload-ClMNMVqA.js → workload-CkZoajvs.js} +2 -2
- package/dist/workload-postgres.d.ts +9 -0
- package/dist/workload-postgres.js +15 -1
- package/dist/workload.d.ts +1 -1
- package/dist/workload.js +2 -2
- package/package.json +1 -1
- package/src/api.ts +855 -924
- package/src/index.ts +20 -31
- package/src/proofs.ts +42 -0
- package/src/routes.ts +0 -3
- package/src/workload-postgres.ts +15 -0
- package/src/workload-proofs.ts +1 -1
package/src/api.ts
CHANGED
|
@@ -1,222 +1,179 @@
|
|
|
1
1
|
// Generated from the route table in packages/server/src/api/routes.ts by
|
|
2
|
-
// `pnpm --
|
|
2
|
+
// `pnpm --filter @coffre/client generate`. Do not edit: a test fails when it
|
|
3
3
|
// is out of date.
|
|
4
4
|
|
|
5
5
|
/** Every route, by `METHOD /path`: what a caller sends (the body, or the query of a GET) and gets back. */
|
|
6
6
|
export type Api = {
|
|
7
|
-
"GET /
|
|
8
|
-
input:
|
|
7
|
+
"GET /audit": {
|
|
8
|
+
input: {
|
|
9
|
+
path?: string;
|
|
10
|
+
actor?: string;
|
|
11
|
+
decision?: "allow" | "deny";
|
|
12
|
+
detail?: "1" | "true";
|
|
13
|
+
before?: unknown;
|
|
14
|
+
limit?: unknown;
|
|
15
|
+
};
|
|
9
16
|
output: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
17
|
+
entries: {
|
|
18
|
+
seq: number;
|
|
19
|
+
author: "app" | "vault";
|
|
20
|
+
occurredAt: string;
|
|
21
|
+
actorType: "service" | "system" | "user";
|
|
22
|
+
actorId: string;
|
|
23
|
+
action: string;
|
|
24
|
+
decision: "allow" | "deny";
|
|
25
|
+
reason: string | null;
|
|
26
|
+
detail: boolean;
|
|
27
|
+
subject: string | null;
|
|
28
|
+
project: string | null;
|
|
29
|
+
environment: string | null;
|
|
30
|
+
key: string | null;
|
|
31
|
+
version: number | null;
|
|
32
|
+
secrets: null | {
|
|
33
|
+
key: string | null;
|
|
34
|
+
version: number | null;
|
|
35
|
+
}[];
|
|
36
|
+
operationId: string | null;
|
|
37
|
+
relatedSeq: number | null;
|
|
38
|
+
requestId: string | null;
|
|
39
|
+
run: null | {
|
|
40
|
+
exchangeSeq: number;
|
|
41
|
+
claims: {
|
|
42
|
+
[key: string]: string | number;
|
|
43
|
+
};
|
|
37
44
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
except: string[];
|
|
45
|
+
token: null | {
|
|
46
|
+
id: string;
|
|
47
|
+
label: string;
|
|
42
48
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
mcp: string | null;
|
|
46
|
-
workloads: boolean;
|
|
47
|
-
};
|
|
48
|
-
personalToken: null | {
|
|
49
|
-
id: string;
|
|
50
|
-
label: string;
|
|
51
|
-
expiresAt: string;
|
|
52
|
-
scope: {
|
|
53
|
-
[key: string]: string;
|
|
49
|
+
metadata: {
|
|
50
|
+
[key: string]: unknown;
|
|
54
51
|
};
|
|
52
|
+
proof: "failed" | "proven" | "unproven";
|
|
53
|
+
}[];
|
|
54
|
+
more: boolean;
|
|
55
|
+
next: number | null;
|
|
56
|
+
hidden?: {
|
|
57
|
+
action: string;
|
|
58
|
+
count: number;
|
|
59
|
+
}[];
|
|
60
|
+
head: null | {
|
|
61
|
+
size: number;
|
|
62
|
+
signedAt: string;
|
|
55
63
|
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
64
|
+
holes: null | {
|
|
65
|
+
above: number | null;
|
|
66
|
+
below: number | null;
|
|
67
|
+
kept: number;
|
|
68
|
+
aging: number;
|
|
61
69
|
}[];
|
|
62
70
|
};
|
|
63
71
|
};
|
|
64
|
-
"
|
|
65
|
-
input:
|
|
72
|
+
"POST /reveals": {
|
|
73
|
+
input: {
|
|
74
|
+
path: string;
|
|
75
|
+
keys?: string[];
|
|
76
|
+
};
|
|
66
77
|
output: {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
personal: boolean;
|
|
81
|
-
details: null | {
|
|
82
|
-
archivedAt: string | null;
|
|
83
|
-
secretCount: number | null;
|
|
84
|
-
};
|
|
85
|
-
}[];
|
|
86
|
-
secretCount: number | null;
|
|
87
|
-
}[];
|
|
78
|
+
operationId: string | null;
|
|
79
|
+
values: {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
versions: {
|
|
83
|
+
[key: string]: number;
|
|
84
|
+
};
|
|
85
|
+
secrets: {
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
};
|
|
88
|
+
sensitive: string[];
|
|
89
|
+
useOnly: string[];
|
|
90
|
+
version: string | null;
|
|
88
91
|
};
|
|
89
92
|
};
|
|
90
|
-
"
|
|
93
|
+
"PATCH /secrets/:project/:environment": {
|
|
91
94
|
input: {
|
|
92
|
-
|
|
95
|
+
[key: string]: string | null | {
|
|
96
|
+
value: string;
|
|
97
|
+
generated: {
|
|
98
|
+
recipe: string;
|
|
99
|
+
pair?: {
|
|
100
|
+
private: string;
|
|
101
|
+
public: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
replaces?: string;
|
|
105
|
+
sensitivity?: "secret" | "sensitive";
|
|
106
|
+
} | {
|
|
107
|
+
value: string;
|
|
108
|
+
sensitivity: "plain" | "secret" | "sensitive";
|
|
109
|
+
replaces?: string;
|
|
110
|
+
} | {
|
|
111
|
+
ref: string;
|
|
112
|
+
} | {
|
|
113
|
+
sensitivity: "plain" | "secret" | "sensitive";
|
|
114
|
+
};
|
|
93
115
|
};
|
|
94
116
|
output: {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
117
|
+
operationId: string | null;
|
|
118
|
+
keys: {
|
|
119
|
+
[key: string]: {
|
|
120
|
+
version: number;
|
|
121
|
+
sensitivity: "plain" | "secret" | "sensitive";
|
|
122
|
+
} | {
|
|
123
|
+
archived: true;
|
|
124
|
+
} | {
|
|
125
|
+
reference: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
} | {
|
|
129
|
+
dryRun: true;
|
|
130
|
+
keys: {
|
|
131
|
+
[key: string]: "added" | "archived" | "changed" | "unchanged";
|
|
99
132
|
};
|
|
100
|
-
created: boolean;
|
|
101
133
|
};
|
|
102
134
|
};
|
|
103
|
-
"PATCH /
|
|
135
|
+
"PATCH /secrets/:project/:environment/:key": {
|
|
104
136
|
input: {
|
|
105
|
-
|
|
106
|
-
slug?: string;
|
|
137
|
+
key?: string;
|
|
107
138
|
archived?: boolean;
|
|
108
139
|
folder?: string | null;
|
|
140
|
+
inherit?: boolean;
|
|
109
141
|
};
|
|
110
142
|
output: {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
"DELETE /projects/:project": {
|
|
120
|
-
input: undefined;
|
|
121
|
-
output: {
|
|
122
|
-
dryRun: boolean;
|
|
123
|
-
deletion: {
|
|
124
|
-
path: string;
|
|
125
|
-
tombstone: string;
|
|
126
|
-
environments: string[];
|
|
127
|
-
keys: number;
|
|
128
|
-
versions: number;
|
|
129
|
-
grants: {
|
|
130
|
-
member: string;
|
|
131
|
-
place: string;
|
|
132
|
-
role: string;
|
|
133
|
-
}[];
|
|
134
|
-
references: {
|
|
135
|
-
holder: string;
|
|
136
|
-
source: string;
|
|
137
|
-
}[];
|
|
138
|
-
stranded: string[];
|
|
139
|
-
};
|
|
143
|
+
inherit?: boolean;
|
|
144
|
+
folder?: string | null;
|
|
145
|
+
archived?: boolean;
|
|
146
|
+
operationId: string | null;
|
|
147
|
+
key: string;
|
|
140
148
|
};
|
|
141
149
|
};
|
|
142
|
-
"
|
|
150
|
+
"POST /secrets/:project/:environment/:key/restore": {
|
|
143
151
|
input: {
|
|
144
|
-
|
|
145
|
-
from?: string;
|
|
146
|
-
references?: boolean;
|
|
147
|
-
inherit?: boolean;
|
|
152
|
+
version: number;
|
|
148
153
|
};
|
|
149
154
|
output: {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
protected: boolean;
|
|
155
|
-
};
|
|
156
|
-
created: boolean;
|
|
157
|
-
forked: null | {
|
|
158
|
-
from: string;
|
|
159
|
-
keys: number;
|
|
160
|
-
references: number;
|
|
161
|
-
copied: string[];
|
|
162
|
-
inherits: boolean;
|
|
163
|
-
};
|
|
155
|
+
operationId: string | null;
|
|
156
|
+
key: string;
|
|
157
|
+
version: number;
|
|
158
|
+
sensitivity: "plain" | "secret" | "sensitive";
|
|
164
159
|
};
|
|
165
160
|
};
|
|
166
|
-
"PATCH /
|
|
161
|
+
"PATCH /folders/:project/:environment/:folder": {
|
|
167
162
|
input: {
|
|
168
|
-
name
|
|
169
|
-
archived?: boolean;
|
|
170
|
-
slug?: string;
|
|
171
|
-
protected?: boolean;
|
|
163
|
+
name: string;
|
|
172
164
|
};
|
|
173
165
|
output: {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
archivedAt: string | null;
|
|
178
|
-
protected: boolean;
|
|
179
|
-
};
|
|
166
|
+
operationId: string | null;
|
|
167
|
+
folder: string;
|
|
168
|
+
moved: string[];
|
|
180
169
|
};
|
|
181
170
|
};
|
|
182
|
-
"DELETE /
|
|
171
|
+
"DELETE /folders/:project/:environment/:folder": {
|
|
183
172
|
input: undefined;
|
|
184
173
|
output: {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
tombstone: string;
|
|
189
|
-
environments: string[];
|
|
190
|
-
keys: number;
|
|
191
|
-
versions: number;
|
|
192
|
-
grants: {
|
|
193
|
-
member: string;
|
|
194
|
-
place: string;
|
|
195
|
-
role: string;
|
|
196
|
-
}[];
|
|
197
|
-
references: {
|
|
198
|
-
holder: string;
|
|
199
|
-
source: string;
|
|
200
|
-
}[];
|
|
201
|
-
stranded: string[];
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
"GET /projects/:project/:environment/missing": {
|
|
206
|
-
input: undefined;
|
|
207
|
-
output: {
|
|
208
|
-
missing: {
|
|
209
|
-
key: string;
|
|
210
|
-
in: string[];
|
|
211
|
-
folder: string | null;
|
|
212
|
-
}[];
|
|
213
|
-
dismissed: {
|
|
214
|
-
key: string;
|
|
215
|
-
in: string[];
|
|
216
|
-
folder: string | null;
|
|
217
|
-
dismissedBy: string;
|
|
218
|
-
dismissedAt: string;
|
|
219
|
-
}[];
|
|
174
|
+
operationId: string | null;
|
|
175
|
+
folder: null;
|
|
176
|
+
moved: string[];
|
|
220
177
|
};
|
|
221
178
|
};
|
|
222
179
|
"PATCH /projects/:project/:environment/dismissals": {
|
|
@@ -224,12 +181,23 @@ export type Api = {
|
|
|
224
181
|
[key: string]: null | true;
|
|
225
182
|
};
|
|
226
183
|
output: {
|
|
227
|
-
operationId: string;
|
|
184
|
+
operationId: string | null;
|
|
228
185
|
keys: {
|
|
229
186
|
[key: string]: "dismissed" | "restored" | "unchanged";
|
|
230
187
|
};
|
|
231
188
|
};
|
|
232
189
|
};
|
|
190
|
+
"DELETE /secrets/:project/:environment/:key/reference": {
|
|
191
|
+
input: undefined;
|
|
192
|
+
output: {
|
|
193
|
+
operationId: string | null;
|
|
194
|
+
reference: {
|
|
195
|
+
holder: string;
|
|
196
|
+
source: string;
|
|
197
|
+
state: "broken";
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
233
201
|
"GET /secrets/:project/:environment": {
|
|
234
202
|
input: undefined;
|
|
235
203
|
output: {
|
|
@@ -240,20 +208,22 @@ export type Api = {
|
|
|
240
208
|
id: string;
|
|
241
209
|
holder: string;
|
|
242
210
|
source: string;
|
|
243
|
-
state: "broken" | "live" | "
|
|
211
|
+
state: "broken" | "live" | "source_archived" | "source_deleted" | "source_empty" | "source_is_reference";
|
|
244
212
|
version: number | null;
|
|
245
|
-
createdBy: string;
|
|
246
|
-
createdAt: string;
|
|
247
|
-
endedBy:
|
|
248
|
-
endedAt:
|
|
213
|
+
createdBy: string | null;
|
|
214
|
+
createdAt: string | null;
|
|
215
|
+
endedBy: null;
|
|
216
|
+
endedAt: null;
|
|
217
|
+
sourceId: string;
|
|
249
218
|
canOpenSource: boolean;
|
|
250
219
|
};
|
|
251
220
|
folder: string | null;
|
|
252
221
|
archived: boolean;
|
|
253
222
|
version: number | null;
|
|
223
|
+
versionId: string | null;
|
|
224
|
+
secret: string | null;
|
|
254
225
|
updatedAt: string | null;
|
|
255
226
|
updatedBy: string | null;
|
|
256
|
-
versionId: string | null;
|
|
257
227
|
generated: null | {
|
|
258
228
|
recipe: string;
|
|
259
229
|
pair?: {
|
|
@@ -283,67 +253,10 @@ export type Api = {
|
|
|
283
253
|
rotateAfterDays: number | null;
|
|
284
254
|
};
|
|
285
255
|
};
|
|
286
|
-
"
|
|
287
|
-
input: {
|
|
288
|
-
[key: string]: string | null | {
|
|
289
|
-
value: string;
|
|
290
|
-
generated: {
|
|
291
|
-
recipe: string;
|
|
292
|
-
pair?: {
|
|
293
|
-
private: string;
|
|
294
|
-
public: string;
|
|
295
|
-
};
|
|
296
|
-
};
|
|
297
|
-
replaces?: string;
|
|
298
|
-
sensitivity?: "secret" | "sensitive";
|
|
299
|
-
} | {
|
|
300
|
-
value: string;
|
|
301
|
-
plain: true;
|
|
302
|
-
replaces?: string;
|
|
303
|
-
} | {
|
|
304
|
-
value: string;
|
|
305
|
-
sensitivity: "plain" | "secret" | "sensitive";
|
|
306
|
-
replaces?: string;
|
|
307
|
-
} | {
|
|
308
|
-
sensitivity: "plain" | "secret" | "sensitive";
|
|
309
|
-
} | {
|
|
310
|
-
ref: string;
|
|
311
|
-
};
|
|
312
|
-
};
|
|
313
|
-
output: {
|
|
314
|
-
operationId: string;
|
|
315
|
-
keys: {
|
|
316
|
-
[key: string]: {
|
|
317
|
-
version: number;
|
|
318
|
-
sensitivity: "plain" | "secret" | "sensitive";
|
|
319
|
-
} | {
|
|
320
|
-
archived: true;
|
|
321
|
-
} | {
|
|
322
|
-
reference: string;
|
|
323
|
-
};
|
|
324
|
-
};
|
|
325
|
-
} | {
|
|
326
|
-
dryRun: true;
|
|
327
|
-
keys: {
|
|
328
|
-
[key: string]: "added" | "archived" | "changed" | "unchanged";
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
"PATCH /secrets/:project/:environment/:key": {
|
|
256
|
+
"GET /secrets/:project/:environment/:key/versions": {
|
|
333
257
|
input: {
|
|
334
|
-
|
|
335
|
-
archived?: boolean;
|
|
336
|
-
folder?: string | null;
|
|
337
|
-
inherit?: boolean;
|
|
338
|
-
};
|
|
339
|
-
output: {
|
|
340
|
-
key: string;
|
|
341
|
-
archived: boolean;
|
|
342
|
-
folder: string | null;
|
|
258
|
+
before?: string;
|
|
343
259
|
};
|
|
344
|
-
};
|
|
345
|
-
"GET /secrets/:project/:environment/:key/versions": {
|
|
346
|
-
input: undefined;
|
|
347
260
|
output: {
|
|
348
261
|
key: string;
|
|
349
262
|
archived: boolean;
|
|
@@ -357,121 +270,298 @@ export type Api = {
|
|
|
357
270
|
plain: boolean;
|
|
358
271
|
sensitivity: "plain" | "secret" | "sensitive";
|
|
359
272
|
}[];
|
|
273
|
+
more: boolean;
|
|
360
274
|
};
|
|
361
275
|
};
|
|
362
|
-
"
|
|
276
|
+
"GET /references": {
|
|
363
277
|
input: {
|
|
364
|
-
|
|
365
|
-
};
|
|
366
|
-
output: {
|
|
367
|
-
key: string;
|
|
368
|
-
version: number;
|
|
278
|
+
path: string;
|
|
369
279
|
};
|
|
370
|
-
};
|
|
371
|
-
"DELETE /secrets/:project/:environment/:key/reference": {
|
|
372
|
-
input: undefined;
|
|
373
280
|
output: {
|
|
374
|
-
|
|
281
|
+
references: {
|
|
282
|
+
readers: null | string[];
|
|
283
|
+
canBreak: boolean;
|
|
284
|
+
holderArchived: boolean;
|
|
375
285
|
id: string;
|
|
376
286
|
holder: string;
|
|
377
287
|
source: string;
|
|
378
|
-
state: "broken" | "live" | "
|
|
288
|
+
state: "broken" | "live" | "source_archived" | "source_deleted" | "source_empty" | "source_is_reference";
|
|
379
289
|
version: number | null;
|
|
380
|
-
createdBy: string;
|
|
381
|
-
createdAt: string;
|
|
382
|
-
endedBy:
|
|
383
|
-
endedAt:
|
|
384
|
-
};
|
|
385
|
-
};
|
|
386
|
-
};
|
|
387
|
-
"PATCH /folders/:folder": {
|
|
388
|
-
input: {
|
|
389
|
-
name: string;
|
|
390
|
-
};
|
|
391
|
-
output: {
|
|
392
|
-
folder: string | null;
|
|
393
|
-
moved: string[];
|
|
290
|
+
createdBy: string | null;
|
|
291
|
+
createdAt: string | null;
|
|
292
|
+
endedBy: null;
|
|
293
|
+
endedAt: null;
|
|
294
|
+
}[];
|
|
394
295
|
};
|
|
395
296
|
};
|
|
396
|
-
"
|
|
297
|
+
"GET /projects/:project/:environment/missing": {
|
|
397
298
|
input: undefined;
|
|
398
299
|
output: {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
300
|
+
missing: {
|
|
301
|
+
key: string;
|
|
302
|
+
in: string[];
|
|
303
|
+
folder: string | null;
|
|
304
|
+
}[];
|
|
305
|
+
dismissed: {
|
|
306
|
+
dismissedBy: string;
|
|
307
|
+
dismissedAt: string;
|
|
308
|
+
key: string;
|
|
309
|
+
in: string[];
|
|
310
|
+
folder: string | null;
|
|
311
|
+
}[];
|
|
410
312
|
};
|
|
411
313
|
};
|
|
412
|
-
"
|
|
314
|
+
"GET /projects/:project/:environment/version": {
|
|
413
315
|
input: undefined;
|
|
414
316
|
output: {
|
|
415
|
-
|
|
416
|
-
moved: string[];
|
|
317
|
+
version: string;
|
|
417
318
|
};
|
|
418
319
|
};
|
|
419
|
-
"GET /
|
|
420
|
-
input:
|
|
421
|
-
path: string;
|
|
422
|
-
};
|
|
320
|
+
"GET /members/:member/bindings": {
|
|
321
|
+
input: undefined;
|
|
423
322
|
output: {
|
|
424
|
-
|
|
323
|
+
bindings: {
|
|
425
324
|
id: string;
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
325
|
+
profile: "aws" | "azure" | "cloudflare" | "custom" | "enrollment" | "fly" | "gcp" | "github" | "github-reusable" | "github-reusable-organization" | "gitlab" | "kubernetes" | "vercel";
|
|
326
|
+
issuer: string;
|
|
327
|
+
jwksUri: string;
|
|
328
|
+
keys: null | {
|
|
329
|
+
kid: string | null;
|
|
330
|
+
alg: "ES256" | "RS256";
|
|
331
|
+
thumbprint: string;
|
|
332
|
+
}[];
|
|
333
|
+
claims: {
|
|
334
|
+
[key: string]: string | string[];
|
|
335
|
+
};
|
|
336
|
+
scope: null | {
|
|
337
|
+
[key: string]: string;
|
|
338
|
+
};
|
|
339
|
+
policy: null | {
|
|
340
|
+
sources?: string[];
|
|
341
|
+
audience?: string;
|
|
342
|
+
keyAudience?: true;
|
|
343
|
+
sessionHours?: number;
|
|
344
|
+
replicas?: number;
|
|
345
|
+
sessionDays?: number;
|
|
346
|
+
overlapMinutes?: number;
|
|
347
|
+
mintedBy?: string;
|
|
348
|
+
approve?: true;
|
|
349
|
+
onContention?: "alert";
|
|
350
|
+
unsignedUploads?: true;
|
|
351
|
+
reads?: {
|
|
352
|
+
[key: string]: "*" | string[];
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
label: string | null;
|
|
431
356
|
createdAt: string;
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
readers: null | string[];
|
|
435
|
-
canBreak: boolean;
|
|
436
|
-
holderArchived: boolean;
|
|
357
|
+
createdBy: string;
|
|
358
|
+
lastUsedAt: string | null;
|
|
437
359
|
}[];
|
|
438
360
|
};
|
|
439
361
|
};
|
|
440
|
-
"POST /
|
|
362
|
+
"POST /members/:member/bindings": {
|
|
441
363
|
input: {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
364
|
+
profile: string;
|
|
365
|
+
claims: {
|
|
366
|
+
[key: string]: unknown;
|
|
367
|
+
};
|
|
368
|
+
issuer?: string | null;
|
|
369
|
+
scope?: {
|
|
448
370
|
[key: string]: string;
|
|
449
371
|
};
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
372
|
+
label?: string | null;
|
|
373
|
+
replaces?: string[];
|
|
374
|
+
jwks?: {
|
|
375
|
+
[key: string]: unknown;
|
|
376
|
+
keys: {
|
|
377
|
+
[key: string]: unknown;
|
|
378
|
+
}[];
|
|
379
|
+
};
|
|
380
|
+
policy?: {
|
|
381
|
+
[key: string]: unknown;
|
|
382
|
+
};
|
|
458
383
|
};
|
|
459
384
|
output: {
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
385
|
+
binding: {
|
|
386
|
+
id: string;
|
|
387
|
+
scope: {
|
|
388
|
+
[key: string]: string;
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
replaced: string[];
|
|
392
|
+
} | {
|
|
393
|
+
profile: "aws" | "azure" | "cloudflare" | "custom" | "enrollment" | "fly" | "gcp" | "github" | "github-reusable" | "github-reusable-organization" | "gitlab" | "kubernetes" | "vercel";
|
|
394
|
+
issuer: string;
|
|
395
|
+
jwksUri: string;
|
|
396
|
+
keys: null | {
|
|
397
|
+
kid: string | null;
|
|
398
|
+
alg: "ES256" | "RS256";
|
|
399
|
+
thumbprint: string;
|
|
400
|
+
}[];
|
|
401
|
+
claims: {
|
|
402
|
+
[key: string]: string | string[];
|
|
403
|
+
};
|
|
404
|
+
scope: {
|
|
405
|
+
[key: string]: string;
|
|
406
|
+
};
|
|
407
|
+
policy: null | {
|
|
408
|
+
sources?: string[];
|
|
409
|
+
audience?: string;
|
|
410
|
+
keyAudience?: true;
|
|
411
|
+
sessionHours?: number;
|
|
412
|
+
replicas?: number;
|
|
413
|
+
sessionDays?: number;
|
|
414
|
+
overlapMinutes?: number;
|
|
415
|
+
mintedBy?: string;
|
|
416
|
+
approve?: true;
|
|
417
|
+
onContention?: "alert";
|
|
418
|
+
unsignedUploads?: true;
|
|
419
|
+
reads?: {
|
|
420
|
+
[key: string]: "*" | string[];
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
withheld: string[];
|
|
424
|
+
replaces: {
|
|
425
|
+
id: string;
|
|
426
|
+
why: "asked" | "keys_moved";
|
|
427
|
+
}[];
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
"POST /members/:member/bindings/keys": {
|
|
431
|
+
input: {
|
|
432
|
+
issuer: string;
|
|
433
|
+
jwks: {
|
|
434
|
+
[key: string]: unknown;
|
|
435
|
+
keys: {
|
|
436
|
+
[key: string]: unknown;
|
|
437
|
+
}[];
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
output: {
|
|
441
|
+
issuer: string;
|
|
442
|
+
jwksUri: string;
|
|
443
|
+
keys: {
|
|
444
|
+
kid: string | null;
|
|
445
|
+
alg: "ES256" | "RS256";
|
|
446
|
+
thumbprint: string;
|
|
447
|
+
}[];
|
|
448
|
+
replaces: string[];
|
|
449
|
+
withheld: string[];
|
|
450
|
+
} | {
|
|
451
|
+
bindings: {
|
|
452
|
+
id: string;
|
|
453
|
+
scope: {
|
|
454
|
+
[key: string]: string;
|
|
455
|
+
};
|
|
456
|
+
}[];
|
|
457
|
+
replaced: string[];
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
"DELETE /members/:member/bindings/:id": {
|
|
461
|
+
input: undefined;
|
|
462
|
+
output: {
|
|
463
|
+
unbound: true;
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
"GET /members/:member/tokens": {
|
|
467
|
+
input: undefined;
|
|
468
|
+
output: {
|
|
469
|
+
tokens: {
|
|
470
|
+
id: string;
|
|
471
|
+
label: string | null;
|
|
472
|
+
hint: string;
|
|
473
|
+
createdAt: string;
|
|
474
|
+
createdBy: string;
|
|
475
|
+
expiresAt: string;
|
|
476
|
+
lastUsedAt: string | null;
|
|
477
|
+
lastUsedIp: string | null;
|
|
478
|
+
scope: null | {
|
|
479
|
+
[key: string]: string;
|
|
480
|
+
};
|
|
481
|
+
session?: {
|
|
482
|
+
bindingId: string | null;
|
|
483
|
+
};
|
|
484
|
+
}[];
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
"POST /members/:member/tokens": {
|
|
488
|
+
input: {
|
|
489
|
+
label?: string | null;
|
|
490
|
+
expiresInDays?: number;
|
|
491
|
+
expiresInMinutes?: number;
|
|
492
|
+
scope?: {
|
|
493
|
+
[key: string]: string;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
output: {
|
|
497
|
+
id: string;
|
|
498
|
+
token: string;
|
|
499
|
+
expiresAt: string;
|
|
500
|
+
scope: {
|
|
501
|
+
[key: string]: string;
|
|
502
|
+
};
|
|
503
|
+
withheld?: string[];
|
|
504
|
+
} | {
|
|
505
|
+
scope: {
|
|
506
|
+
[key: string]: string;
|
|
507
|
+
};
|
|
508
|
+
withheld?: string[];
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
"DELETE /members/:member/tokens/:id": {
|
|
512
|
+
input: undefined;
|
|
513
|
+
output: {
|
|
514
|
+
revoked: true;
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
"POST /handles": {
|
|
518
|
+
input: {
|
|
519
|
+
label: string;
|
|
520
|
+
paths: string[];
|
|
521
|
+
expiresInMinutes?: number;
|
|
522
|
+
};
|
|
523
|
+
output: {
|
|
524
|
+
id: string;
|
|
525
|
+
token: string;
|
|
526
|
+
expiresAt: string;
|
|
527
|
+
scope: {
|
|
528
|
+
[key: string]: string;
|
|
529
|
+
};
|
|
530
|
+
withheld?: string[];
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
"DELETE /handles/:id": {
|
|
534
|
+
input: undefined;
|
|
535
|
+
output: {
|
|
536
|
+
revoked: true;
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
"DELETE /sessions/:id": {
|
|
540
|
+
input: undefined;
|
|
541
|
+
output: {
|
|
542
|
+
revoked: true;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
"GET /members": {
|
|
546
|
+
input: {
|
|
547
|
+
path?: string;
|
|
548
|
+
};
|
|
549
|
+
output: {
|
|
550
|
+
members: {
|
|
551
|
+
member: string;
|
|
552
|
+
principalType: "service" | "user";
|
|
553
|
+
principalId: string;
|
|
554
|
+
instanceRole: "admin" | "auditor" | "developer" | "member" | "owner";
|
|
555
|
+
scope: null | {
|
|
556
|
+
projects: "all" | {
|
|
557
|
+
only: string[];
|
|
558
|
+
} | {
|
|
559
|
+
except: string[];
|
|
560
|
+
};
|
|
561
|
+
environments: "all" | {
|
|
562
|
+
only: string[];
|
|
563
|
+
} | {
|
|
564
|
+
except: string[];
|
|
475
565
|
};
|
|
476
566
|
};
|
|
477
567
|
reachesByRole: boolean;
|
|
@@ -533,7 +623,7 @@ export type Api = {
|
|
|
533
623
|
at: string;
|
|
534
624
|
}[];
|
|
535
625
|
rotated: number;
|
|
536
|
-
issuedTokens: {
|
|
626
|
+
issuedTokens: null | {
|
|
537
627
|
id: string;
|
|
538
628
|
service: string;
|
|
539
629
|
label: string | null;
|
|
@@ -544,7 +634,7 @@ export type Api = {
|
|
|
544
634
|
[key: string]: string;
|
|
545
635
|
};
|
|
546
636
|
}[];
|
|
547
|
-
apps: {
|
|
637
|
+
apps: null | {
|
|
548
638
|
id: string;
|
|
549
639
|
name: string;
|
|
550
640
|
host: string | null;
|
|
@@ -555,7 +645,7 @@ export type Api = {
|
|
|
555
645
|
lastUsedIp: string | null;
|
|
556
646
|
expiresAt: string;
|
|
557
647
|
}[];
|
|
558
|
-
personalTokens: {
|
|
648
|
+
personalTokens: null | {
|
|
559
649
|
id: string;
|
|
560
650
|
label: string | null;
|
|
561
651
|
hint: string;
|
|
@@ -571,17 +661,22 @@ export type Api = {
|
|
|
571
661
|
bindingId: string | null;
|
|
572
662
|
};
|
|
573
663
|
}[];
|
|
574
|
-
references: {
|
|
664
|
+
references: null | {
|
|
665
|
+
version: number | null;
|
|
666
|
+
source: string;
|
|
575
667
|
id: string;
|
|
668
|
+
state: "broken" | "live" | "source_archived" | "source_deleted" | "source_empty" | "source_is_reference";
|
|
576
669
|
holder: string;
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
version: number | null;
|
|
670
|
+
endedBy: null;
|
|
671
|
+
endedAt: null;
|
|
580
672
|
createdBy: string;
|
|
581
673
|
createdAt: string;
|
|
582
|
-
endedBy: string | null;
|
|
583
|
-
endedAt: string | null;
|
|
584
674
|
}[];
|
|
675
|
+
totals: {
|
|
676
|
+
issuedTokens: number | null;
|
|
677
|
+
personalTokens: number | null;
|
|
678
|
+
references: number | null;
|
|
679
|
+
};
|
|
585
680
|
personal: {
|
|
586
681
|
project: string;
|
|
587
682
|
of: string;
|
|
@@ -589,6 +684,38 @@ export type Api = {
|
|
|
589
684
|
}[];
|
|
590
685
|
};
|
|
591
686
|
};
|
|
687
|
+
"GET /members/:member/access": {
|
|
688
|
+
input: undefined;
|
|
689
|
+
output: {
|
|
690
|
+
member: string;
|
|
691
|
+
principalType: "service" | "user";
|
|
692
|
+
principalId: string;
|
|
693
|
+
status: "active" | "removed" | "tampered";
|
|
694
|
+
instanceRole: "admin" | "auditor" | "developer" | "member" | "owner";
|
|
695
|
+
scope: null | {
|
|
696
|
+
projects: "all" | {
|
|
697
|
+
only: string[];
|
|
698
|
+
} | {
|
|
699
|
+
except: string[];
|
|
700
|
+
};
|
|
701
|
+
environments: "all" | {
|
|
702
|
+
only: string[];
|
|
703
|
+
} | {
|
|
704
|
+
except: string[];
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
managed: boolean;
|
|
708
|
+
grants: {
|
|
709
|
+
id: string;
|
|
710
|
+
project: string;
|
|
711
|
+
environment: string | null;
|
|
712
|
+
role: string;
|
|
713
|
+
roleName: string;
|
|
714
|
+
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
715
|
+
expiresAt: string | null;
|
|
716
|
+
}[];
|
|
717
|
+
};
|
|
718
|
+
};
|
|
592
719
|
"PUT /members/:member": {
|
|
593
720
|
input: {
|
|
594
721
|
role?: "admin" | "auditor" | "developer" | "member" | "owner";
|
|
@@ -678,7 +805,7 @@ export type Api = {
|
|
|
678
805
|
at: string;
|
|
679
806
|
}[];
|
|
680
807
|
rotated: number;
|
|
681
|
-
issuedTokens: {
|
|
808
|
+
issuedTokens: null | {
|
|
682
809
|
id: string;
|
|
683
810
|
service: string;
|
|
684
811
|
label: string | null;
|
|
@@ -689,7 +816,7 @@ export type Api = {
|
|
|
689
816
|
[key: string]: string;
|
|
690
817
|
};
|
|
691
818
|
}[];
|
|
692
|
-
apps: {
|
|
819
|
+
apps: null | {
|
|
693
820
|
id: string;
|
|
694
821
|
name: string;
|
|
695
822
|
host: string | null;
|
|
@@ -700,7 +827,7 @@ export type Api = {
|
|
|
700
827
|
lastUsedIp: string | null;
|
|
701
828
|
expiresAt: string;
|
|
702
829
|
}[];
|
|
703
|
-
personalTokens: {
|
|
830
|
+
personalTokens: null | {
|
|
704
831
|
id: string;
|
|
705
832
|
label: string | null;
|
|
706
833
|
hint: string;
|
|
@@ -716,17 +843,22 @@ export type Api = {
|
|
|
716
843
|
bindingId: string | null;
|
|
717
844
|
};
|
|
718
845
|
}[];
|
|
719
|
-
references: {
|
|
846
|
+
references: null | {
|
|
847
|
+
version: number | null;
|
|
848
|
+
source: string;
|
|
720
849
|
id: string;
|
|
850
|
+
state: "broken" | "live" | "source_archived" | "source_deleted" | "source_empty" | "source_is_reference";
|
|
721
851
|
holder: string;
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
version: number | null;
|
|
852
|
+
endedBy: null;
|
|
853
|
+
endedAt: null;
|
|
725
854
|
createdBy: string;
|
|
726
855
|
createdAt: string;
|
|
727
|
-
endedBy: string | null;
|
|
728
|
-
endedAt: string | null;
|
|
729
856
|
}[];
|
|
857
|
+
totals: {
|
|
858
|
+
issuedTokens: number | null;
|
|
859
|
+
personalTokens: number | null;
|
|
860
|
+
references: number | null;
|
|
861
|
+
};
|
|
730
862
|
personal: {
|
|
731
863
|
project: string;
|
|
732
864
|
of: string;
|
|
@@ -735,195 +867,258 @@ export type Api = {
|
|
|
735
867
|
};
|
|
736
868
|
};
|
|
737
869
|
};
|
|
738
|
-
"
|
|
870
|
+
"PATCH /access/:member": {
|
|
871
|
+
input: {
|
|
872
|
+
[key: string]: string | null | {
|
|
873
|
+
role: string;
|
|
874
|
+
until: string | null;
|
|
875
|
+
};
|
|
876
|
+
};
|
|
877
|
+
output: {
|
|
878
|
+
changes: {
|
|
879
|
+
[key: string]: "created" | "revoked" | "unchanged" | "updated";
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
};
|
|
883
|
+
"GET /freezes": {
|
|
739
884
|
input: undefined;
|
|
740
885
|
output: {
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
createdAt: string;
|
|
746
|
-
createdBy: string;
|
|
747
|
-
expiresAt: string;
|
|
748
|
-
lastUsedAt: string | null;
|
|
749
|
-
lastUsedIp: string | null;
|
|
750
|
-
scope: null | {
|
|
751
|
-
[key: string]: string;
|
|
752
|
-
};
|
|
753
|
-
session?: {
|
|
754
|
-
bindingId: string | null;
|
|
755
|
-
};
|
|
886
|
+
freezes: {
|
|
887
|
+
target: string;
|
|
888
|
+
service: string | null;
|
|
889
|
+
frozenAt: string;
|
|
756
890
|
}[];
|
|
757
891
|
};
|
|
758
892
|
};
|
|
759
|
-
"POST /
|
|
893
|
+
"POST /freezes": {
|
|
760
894
|
input: {
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
expiresInMinutes?: number;
|
|
764
|
-
scope?: {
|
|
765
|
-
[key: string]: string;
|
|
766
|
-
};
|
|
895
|
+
target: string;
|
|
896
|
+
reason: string;
|
|
767
897
|
};
|
|
768
898
|
output: {
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
};
|
|
772
|
-
withheld?: string[];
|
|
773
|
-
} | {
|
|
774
|
-
id: string;
|
|
775
|
-
token: string;
|
|
776
|
-
expiresAt: string;
|
|
777
|
-
scope: {
|
|
778
|
-
[key: string]: string;
|
|
779
|
-
};
|
|
780
|
-
withheld?: string[];
|
|
899
|
+
target: string;
|
|
900
|
+
frozenAt: string | null;
|
|
781
901
|
};
|
|
782
902
|
};
|
|
783
|
-
"DELETE /
|
|
903
|
+
"DELETE /freezes/:target": {
|
|
784
904
|
input: undefined;
|
|
785
905
|
output: {
|
|
786
|
-
|
|
906
|
+
target: string;
|
|
907
|
+
frozenAt: string | null;
|
|
787
908
|
};
|
|
788
909
|
};
|
|
789
|
-
"GET /
|
|
910
|
+
"GET /me": {
|
|
790
911
|
input: undefined;
|
|
791
912
|
output: {
|
|
792
|
-
|
|
913
|
+
principal: {
|
|
914
|
+
type: "service" | "user";
|
|
793
915
|
id: string;
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
[key: string]: string | string[];
|
|
916
|
+
};
|
|
917
|
+
registered: boolean;
|
|
918
|
+
tampered: boolean;
|
|
919
|
+
instanceRole: "admin" | "auditor" | "developer" | "member" | "owner";
|
|
920
|
+
scope: {
|
|
921
|
+
projects: "all" | {
|
|
922
|
+
only: string[];
|
|
923
|
+
} | {
|
|
924
|
+
except: string[];
|
|
804
925
|
};
|
|
805
|
-
|
|
926
|
+
environments: "all" | {
|
|
927
|
+
only: string[];
|
|
928
|
+
} | {
|
|
929
|
+
except: string[];
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
runsInstance: boolean;
|
|
933
|
+
canReadAudit: boolean;
|
|
934
|
+
setsUpServices: boolean;
|
|
935
|
+
serviceSetup: null | {
|
|
936
|
+
projects: "all" | {
|
|
937
|
+
only: string[];
|
|
938
|
+
} | {
|
|
939
|
+
except: string[];
|
|
940
|
+
};
|
|
941
|
+
environments: "all" | {
|
|
942
|
+
only: string[];
|
|
943
|
+
} | {
|
|
944
|
+
except: string[];
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
features: {
|
|
948
|
+
mcp: string | null;
|
|
949
|
+
workloads: boolean;
|
|
950
|
+
};
|
|
951
|
+
personalToken: null | {
|
|
952
|
+
id: string;
|
|
953
|
+
label: string;
|
|
954
|
+
expiresAt: string;
|
|
955
|
+
scope: {
|
|
806
956
|
[key: string]: string;
|
|
807
957
|
};
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
958
|
+
};
|
|
959
|
+
credentialExpiresAt: string | null;
|
|
960
|
+
environments: {
|
|
961
|
+
project: string;
|
|
962
|
+
environment: string;
|
|
963
|
+
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
964
|
+
}[];
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
"GET /projects": {
|
|
968
|
+
input: undefined;
|
|
969
|
+
output: {
|
|
970
|
+
projects: {
|
|
971
|
+
slug: string;
|
|
972
|
+
name: string;
|
|
973
|
+
archivedAt: string | null;
|
|
974
|
+
folder: string | null;
|
|
975
|
+
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
976
|
+
environments: {
|
|
977
|
+
slug: string;
|
|
978
|
+
name: string;
|
|
979
|
+
accessible: boolean;
|
|
980
|
+
parent: string | null;
|
|
981
|
+
protected: boolean;
|
|
982
|
+
unprotectable: boolean;
|
|
983
|
+
personal: boolean;
|
|
984
|
+
details: null | {
|
|
985
|
+
archivedAt: string | null;
|
|
986
|
+
secretCount: number | null;
|
|
822
987
|
};
|
|
823
|
-
};
|
|
824
|
-
|
|
825
|
-
createdAt: string;
|
|
826
|
-
createdBy: string;
|
|
827
|
-
lastUsedAt: string | null;
|
|
988
|
+
}[];
|
|
989
|
+
secretCount: number | null;
|
|
828
990
|
}[];
|
|
829
991
|
};
|
|
830
992
|
};
|
|
831
|
-
"
|
|
993
|
+
"PUT /projects/:project": {
|
|
832
994
|
input: {
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
995
|
+
name?: string;
|
|
996
|
+
};
|
|
997
|
+
output: {
|
|
998
|
+
project: {
|
|
999
|
+
slug: string;
|
|
1000
|
+
name: string;
|
|
1001
|
+
archivedAt: string | null;
|
|
836
1002
|
};
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
1003
|
+
created: boolean;
|
|
1004
|
+
};
|
|
1005
|
+
};
|
|
1006
|
+
"PATCH /projects/:project": {
|
|
1007
|
+
input: {
|
|
1008
|
+
name?: string;
|
|
1009
|
+
slug?: string;
|
|
1010
|
+
archived?: boolean;
|
|
1011
|
+
folder?: string | null;
|
|
1012
|
+
};
|
|
1013
|
+
output: {
|
|
1014
|
+
project: {
|
|
1015
|
+
slug: string;
|
|
1016
|
+
name: string;
|
|
1017
|
+
archivedAt: string | null;
|
|
1018
|
+
folder: string | null;
|
|
840
1019
|
};
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
"DELETE /projects/:project": {
|
|
1023
|
+
input: undefined;
|
|
1024
|
+
output: {
|
|
1025
|
+
dryRun: boolean;
|
|
1026
|
+
deletion: {
|
|
1027
|
+
path: string;
|
|
1028
|
+
tombstone: string;
|
|
1029
|
+
environments: string[];
|
|
1030
|
+
keys: number;
|
|
1031
|
+
versions: number;
|
|
1032
|
+
grants: {
|
|
1033
|
+
member: string;
|
|
1034
|
+
place: string;
|
|
1035
|
+
role: string;
|
|
846
1036
|
}[];
|
|
1037
|
+
references: {
|
|
1038
|
+
holder: string;
|
|
1039
|
+
source: string;
|
|
1040
|
+
}[];
|
|
1041
|
+
stranded: string[];
|
|
847
1042
|
};
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
1043
|
+
};
|
|
1044
|
+
};
|
|
1045
|
+
"PUT /projects/:project/:environment": {
|
|
1046
|
+
input: {
|
|
1047
|
+
name?: string;
|
|
1048
|
+
from?: string;
|
|
1049
|
+
references?: boolean;
|
|
1050
|
+
inherit?: boolean;
|
|
851
1051
|
};
|
|
852
1052
|
output: {
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
alg: "ES256" | "RS256";
|
|
859
|
-
thumbprint: string;
|
|
860
|
-
}[];
|
|
861
|
-
claims: {
|
|
862
|
-
[key: string]: string | string[];
|
|
1053
|
+
environment: {
|
|
1054
|
+
slug: string;
|
|
1055
|
+
name: string;
|
|
1056
|
+
archivedAt: string | null;
|
|
1057
|
+
protected: boolean;
|
|
863
1058
|
};
|
|
864
|
-
|
|
865
|
-
|
|
1059
|
+
created: boolean;
|
|
1060
|
+
forked: null | {
|
|
1061
|
+
keys: number;
|
|
1062
|
+
references: number;
|
|
1063
|
+
copied: string[];
|
|
1064
|
+
from: string;
|
|
1065
|
+
inherits: boolean;
|
|
866
1066
|
};
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
"PATCH /projects/:project/:environment": {
|
|
1070
|
+
input: {
|
|
1071
|
+
name?: string;
|
|
1072
|
+
slug?: string;
|
|
1073
|
+
archived?: boolean;
|
|
1074
|
+
protected?: boolean;
|
|
1075
|
+
};
|
|
1076
|
+
output: {
|
|
1077
|
+
environment: {
|
|
1078
|
+
slug: string;
|
|
1079
|
+
name: string;
|
|
1080
|
+
archivedAt: string | null;
|
|
1081
|
+
protected: boolean;
|
|
882
1082
|
};
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
1083
|
+
};
|
|
1084
|
+
};
|
|
1085
|
+
"DELETE /projects/:project/:environment": {
|
|
1086
|
+
input: undefined;
|
|
1087
|
+
output: {
|
|
1088
|
+
dryRun: boolean;
|
|
1089
|
+
deletion: {
|
|
1090
|
+
path: string;
|
|
1091
|
+
tombstone: string;
|
|
1092
|
+
environments: string[];
|
|
1093
|
+
keys: number;
|
|
1094
|
+
versions: number;
|
|
1095
|
+
grants: {
|
|
1096
|
+
member: string;
|
|
1097
|
+
place: string;
|
|
1098
|
+
role: string;
|
|
898
1099
|
}[];
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
};
|
|
905
|
-
policy: null | {
|
|
906
|
-
sources?: string[];
|
|
907
|
-
audience?: string;
|
|
908
|
-
keyAudience?: true;
|
|
909
|
-
sessionHours?: number;
|
|
910
|
-
replicas?: number;
|
|
911
|
-
sessionDays?: number;
|
|
912
|
-
overlapMinutes?: number;
|
|
913
|
-
mintedBy?: string;
|
|
914
|
-
approve?: true;
|
|
915
|
-
onContention?: "alert";
|
|
916
|
-
unsignedUploads?: true;
|
|
917
|
-
reads?: {
|
|
918
|
-
[key: string]: "*" | string[];
|
|
919
|
-
};
|
|
920
|
-
};
|
|
921
|
-
label: string | null;
|
|
922
|
-
createdAt: string;
|
|
923
|
-
createdBy: string;
|
|
924
|
-
lastUsedAt: string | null;
|
|
1100
|
+
references: {
|
|
1101
|
+
holder: string;
|
|
1102
|
+
source: string;
|
|
1103
|
+
}[];
|
|
1104
|
+
stranded: string[];
|
|
925
1105
|
};
|
|
926
|
-
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
"PATCH /folders/:folder": {
|
|
1109
|
+
input: {
|
|
1110
|
+
name: string;
|
|
1111
|
+
};
|
|
1112
|
+
output: {
|
|
1113
|
+
folder: string;
|
|
1114
|
+
moved: string[];
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
"DELETE /folders/:folder": {
|
|
1118
|
+
input: undefined;
|
|
1119
|
+
output: {
|
|
1120
|
+
folder: null;
|
|
1121
|
+
moved: string[];
|
|
927
1122
|
};
|
|
928
1123
|
};
|
|
929
1124
|
"GET /workloads/lookup": {
|
|
@@ -945,42 +1140,6 @@ export type Api = {
|
|
|
945
1140
|
namespaceId: string;
|
|
946
1141
|
};
|
|
947
1142
|
};
|
|
948
|
-
"DELETE /members/:member/bindings/:id": {
|
|
949
|
-
input: undefined;
|
|
950
|
-
output: {
|
|
951
|
-
unbound: true;
|
|
952
|
-
};
|
|
953
|
-
};
|
|
954
|
-
"PATCH /access/:member": {
|
|
955
|
-
input: {
|
|
956
|
-
[key: string]: string | null | {
|
|
957
|
-
role: string;
|
|
958
|
-
until: string | null;
|
|
959
|
-
};
|
|
960
|
-
};
|
|
961
|
-
output: {
|
|
962
|
-
changes: {
|
|
963
|
-
[key: string]: "created" | "revoked" | "unchanged" | "updated";
|
|
964
|
-
};
|
|
965
|
-
admitted?: {
|
|
966
|
-
created: boolean;
|
|
967
|
-
role: "admin" | "auditor" | "developer" | "member" | "owner";
|
|
968
|
-
scope: {
|
|
969
|
-
projects: "all" | {
|
|
970
|
-
only: string[];
|
|
971
|
-
} | {
|
|
972
|
-
except: string[];
|
|
973
|
-
};
|
|
974
|
-
environments: "all" | {
|
|
975
|
-
only: string[];
|
|
976
|
-
} | {
|
|
977
|
-
except: string[];
|
|
978
|
-
};
|
|
979
|
-
};
|
|
980
|
-
generation: number;
|
|
981
|
-
};
|
|
982
|
-
};
|
|
983
|
-
};
|
|
984
1143
|
"GET /sessions": {
|
|
985
1144
|
input: undefined;
|
|
986
1145
|
output: {
|
|
@@ -996,12 +1155,7 @@ export type Api = {
|
|
|
996
1155
|
lastUsedIp: string | null;
|
|
997
1156
|
current: boolean;
|
|
998
1157
|
}[];
|
|
999
|
-
|
|
1000
|
-
};
|
|
1001
|
-
"DELETE /sessions/:id": {
|
|
1002
|
-
input: undefined;
|
|
1003
|
-
output: {
|
|
1004
|
-
revoked: true;
|
|
1158
|
+
more: boolean;
|
|
1005
1159
|
};
|
|
1006
1160
|
};
|
|
1007
1161
|
"GET /identities": {
|
|
@@ -1014,6 +1168,7 @@ export type Api = {
|
|
|
1014
1168
|
createdAt: string;
|
|
1015
1169
|
lastSignInAt: string | null;
|
|
1016
1170
|
}[];
|
|
1171
|
+
more: boolean;
|
|
1017
1172
|
};
|
|
1018
1173
|
};
|
|
1019
1174
|
"DELETE /identities/:id": {
|
|
@@ -1117,103 +1272,18 @@ export type Api = {
|
|
|
1117
1272
|
disconnected: true;
|
|
1118
1273
|
};
|
|
1119
1274
|
};
|
|
1120
|
-
"GET /audit": {
|
|
1121
|
-
input: {
|
|
1122
|
-
path?: string;
|
|
1123
|
-
actor?: string;
|
|
1124
|
-
decision?: "allow" | "deny";
|
|
1125
|
-
detail?: "1" | "true";
|
|
1126
|
-
before?: unknown;
|
|
1127
|
-
limit?: unknown;
|
|
1128
|
-
};
|
|
1129
|
-
output: {
|
|
1130
|
-
entries: {
|
|
1131
|
-
seq: number;
|
|
1132
|
-
author: "app" | "vault";
|
|
1133
|
-
occurredAt: string;
|
|
1134
|
-
actorType: "service" | "system" | "user";
|
|
1135
|
-
actorId: string;
|
|
1136
|
-
action: string;
|
|
1137
|
-
decision: "allow" | "deny";
|
|
1138
|
-
reason: string | null;
|
|
1139
|
-
detail: boolean;
|
|
1140
|
-
subject: string | null;
|
|
1141
|
-
project: string | null;
|
|
1142
|
-
environment: string | null;
|
|
1143
|
-
key: string | null;
|
|
1144
|
-
version: number | null;
|
|
1145
|
-
secrets: null | {
|
|
1146
|
-
key: string | null;
|
|
1147
|
-
version: number | null;
|
|
1148
|
-
}[];
|
|
1149
|
-
operationId: string | null;
|
|
1150
|
-
relatedSeq: number | null;
|
|
1151
|
-
requestId: string | null;
|
|
1152
|
-
run: null | {
|
|
1153
|
-
exchangeSeq: number;
|
|
1154
|
-
claims: {
|
|
1155
|
-
[key: string]: string | number;
|
|
1156
|
-
};
|
|
1157
|
-
};
|
|
1158
|
-
token: null | {
|
|
1159
|
-
id: string;
|
|
1160
|
-
label: string;
|
|
1161
|
-
};
|
|
1162
|
-
metadata: {
|
|
1163
|
-
[key: string]: unknown;
|
|
1164
|
-
};
|
|
1165
|
-
}[];
|
|
1166
|
-
more: boolean;
|
|
1167
|
-
hidden?: {
|
|
1168
|
-
action: string;
|
|
1169
|
-
count: number;
|
|
1170
|
-
}[];
|
|
1171
|
-
};
|
|
1172
|
-
};
|
|
1173
|
-
"GET /audit/verification": {
|
|
1174
|
-
input: {
|
|
1175
|
-
from?: string;
|
|
1176
|
-
};
|
|
1177
|
-
output: {
|
|
1178
|
-
ok: true;
|
|
1179
|
-
through: number | null;
|
|
1180
|
-
entries: number;
|
|
1181
|
-
from: number;
|
|
1182
|
-
remaining: number;
|
|
1183
|
-
next?: string | null;
|
|
1184
|
-
checkpoint: null | {
|
|
1185
|
-
seq: number;
|
|
1186
|
-
signedAt: string;
|
|
1187
|
-
};
|
|
1188
|
-
pending?: number;
|
|
1189
|
-
} | {
|
|
1190
|
-
ok: false;
|
|
1191
|
-
through: number | null;
|
|
1192
|
-
failedAtSeq: number | null;
|
|
1193
|
-
author: "app" | "vault";
|
|
1194
|
-
reason: string;
|
|
1195
|
-
};
|
|
1196
|
-
};
|
|
1197
1275
|
"GET /audit/keys": {
|
|
1198
1276
|
input: undefined;
|
|
1199
1277
|
output: {
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
};
|
|
1204
|
-
vault: {
|
|
1205
|
-
current: {
|
|
1206
|
-
vaultId: string;
|
|
1207
|
-
provider: string;
|
|
1208
|
-
};
|
|
1209
|
-
checks: {
|
|
1210
|
-
seq: number;
|
|
1211
|
-
vaultId: string;
|
|
1212
|
-
provider: string;
|
|
1213
|
-
version: string;
|
|
1214
|
-
wrapped: string;
|
|
1215
|
-
}[];
|
|
1278
|
+
kek: {
|
|
1279
|
+
provider: string;
|
|
1280
|
+
id: string;
|
|
1216
1281
|
};
|
|
1282
|
+
previous: {
|
|
1283
|
+
provider: string;
|
|
1284
|
+
id: string;
|
|
1285
|
+
}[];
|
|
1286
|
+
checks: string[];
|
|
1217
1287
|
};
|
|
1218
1288
|
};
|
|
1219
1289
|
"GET /approvals/:id": {
|
|
@@ -1284,38 +1354,6 @@ export type Api = {
|
|
|
1284
1354
|
}[];
|
|
1285
1355
|
};
|
|
1286
1356
|
};
|
|
1287
|
-
"GET /members/:member/access": {
|
|
1288
|
-
input: undefined;
|
|
1289
|
-
output: {
|
|
1290
|
-
member: string;
|
|
1291
|
-
principalType: "service" | "user";
|
|
1292
|
-
principalId: string;
|
|
1293
|
-
status: "active" | "removed" | "tampered";
|
|
1294
|
-
instanceRole: "admin" | "auditor" | "developer" | "member" | "owner";
|
|
1295
|
-
scope: null | {
|
|
1296
|
-
projects: "all" | {
|
|
1297
|
-
only: string[];
|
|
1298
|
-
} | {
|
|
1299
|
-
except: string[];
|
|
1300
|
-
};
|
|
1301
|
-
environments: "all" | {
|
|
1302
|
-
only: string[];
|
|
1303
|
-
} | {
|
|
1304
|
-
except: string[];
|
|
1305
|
-
};
|
|
1306
|
-
};
|
|
1307
|
-
managed: boolean;
|
|
1308
|
-
grants: {
|
|
1309
|
-
id: string;
|
|
1310
|
-
project: string;
|
|
1311
|
-
environment: string | null;
|
|
1312
|
-
role: string;
|
|
1313
|
-
roleName: string;
|
|
1314
|
-
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1315
|
-
expiresAt: string | null;
|
|
1316
|
-
}[];
|
|
1317
|
-
};
|
|
1318
|
-
};
|
|
1319
1357
|
"PUT /settings": {
|
|
1320
1358
|
input: {
|
|
1321
1359
|
serviceAccounts: {
|
|
@@ -1382,78 +1420,12 @@ export type Api = {
|
|
|
1382
1420
|
app: null;
|
|
1383
1421
|
};
|
|
1384
1422
|
};
|
|
1385
|
-
"GET /projects/:project/:environment/version": {
|
|
1386
|
-
input: undefined;
|
|
1387
|
-
output: {
|
|
1388
|
-
version: string;
|
|
1389
|
-
};
|
|
1390
|
-
};
|
|
1391
|
-
"POST /members/:member/bindings/keys": {
|
|
1392
|
-
input: {
|
|
1393
|
-
issuer: string;
|
|
1394
|
-
jwks: {
|
|
1395
|
-
keys: {
|
|
1396
|
-
[key: string]: unknown;
|
|
1397
|
-
}[];
|
|
1398
|
-
};
|
|
1399
|
-
};
|
|
1400
|
-
output: {
|
|
1401
|
-
issuer: string;
|
|
1402
|
-
jwksUri: string;
|
|
1403
|
-
keys: {
|
|
1404
|
-
kid: string | null;
|
|
1405
|
-
alg: "ES256" | "RS256";
|
|
1406
|
-
thumbprint: string;
|
|
1407
|
-
}[];
|
|
1408
|
-
replaces: string[];
|
|
1409
|
-
withheld: string[];
|
|
1410
|
-
} | {
|
|
1411
|
-
bindings: {
|
|
1412
|
-
id: string;
|
|
1413
|
-
profile: "aws" | "azure" | "cloudflare" | "custom" | "enrollment" | "fly" | "gcp" | "github" | "github-reusable" | "github-reusable-organization" | "gitlab" | "kubernetes" | "vercel";
|
|
1414
|
-
issuer: string;
|
|
1415
|
-
jwksUri: string;
|
|
1416
|
-
keys: null | {
|
|
1417
|
-
kid: string | null;
|
|
1418
|
-
alg: "ES256" | "RS256";
|
|
1419
|
-
thumbprint: string;
|
|
1420
|
-
}[];
|
|
1421
|
-
claims: {
|
|
1422
|
-
[key: string]: string | string[];
|
|
1423
|
-
};
|
|
1424
|
-
scope: null | {
|
|
1425
|
-
[key: string]: string;
|
|
1426
|
-
};
|
|
1427
|
-
policy: null | {
|
|
1428
|
-
sources?: string[];
|
|
1429
|
-
audience?: string;
|
|
1430
|
-
keyAudience?: true;
|
|
1431
|
-
sessionHours?: number;
|
|
1432
|
-
replicas?: number;
|
|
1433
|
-
sessionDays?: number;
|
|
1434
|
-
overlapMinutes?: number;
|
|
1435
|
-
mintedBy?: string;
|
|
1436
|
-
approve?: true;
|
|
1437
|
-
onContention?: "alert";
|
|
1438
|
-
unsignedUploads?: true;
|
|
1439
|
-
reads?: {
|
|
1440
|
-
[key: string]: "*" | string[];
|
|
1441
|
-
};
|
|
1442
|
-
};
|
|
1443
|
-
label: string | null;
|
|
1444
|
-
createdAt: string;
|
|
1445
|
-
createdBy: string;
|
|
1446
|
-
lastUsedAt: string | null;
|
|
1447
|
-
}[];
|
|
1448
|
-
replaced: string[];
|
|
1449
|
-
};
|
|
1450
|
-
};
|
|
1451
1423
|
"GET /personal/:project": {
|
|
1452
1424
|
input: undefined;
|
|
1453
1425
|
output: {
|
|
1454
1426
|
configs: {
|
|
1455
|
-
owner: string;
|
|
1456
1427
|
of: string;
|
|
1428
|
+
owner: string;
|
|
1457
1429
|
slug: string;
|
|
1458
1430
|
keys: string[];
|
|
1459
1431
|
archived: boolean;
|
|
@@ -1461,22 +1433,6 @@ export type Api = {
|
|
|
1461
1433
|
}[];
|
|
1462
1434
|
};
|
|
1463
1435
|
};
|
|
1464
|
-
"POST /handles": {
|
|
1465
|
-
input: {
|
|
1466
|
-
label: string;
|
|
1467
|
-
paths: string[];
|
|
1468
|
-
expiresInMinutes?: number;
|
|
1469
|
-
};
|
|
1470
|
-
output: {
|
|
1471
|
-
id: string;
|
|
1472
|
-
token: string;
|
|
1473
|
-
expiresAt: string;
|
|
1474
|
-
scope: {
|
|
1475
|
-
[key: string]: string;
|
|
1476
|
-
};
|
|
1477
|
-
withheld?: string[];
|
|
1478
|
-
};
|
|
1479
|
-
};
|
|
1480
1436
|
"GET /roles": {
|
|
1481
1437
|
input: undefined;
|
|
1482
1438
|
output: {
|
|
@@ -1541,22 +1497,22 @@ export type Api = {
|
|
|
1541
1497
|
revision: string;
|
|
1542
1498
|
} | {
|
|
1543
1499
|
role: null | {
|
|
1544
|
-
name: string;
|
|
1545
|
-
description: string;
|
|
1546
|
-
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1547
|
-
protected: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1548
|
-
id: string;
|
|
1549
|
-
builtin: boolean;
|
|
1550
|
-
edited: boolean;
|
|
1551
1500
|
fixed: boolean;
|
|
1501
|
+
name: string;
|
|
1502
|
+
description: string;
|
|
1503
|
+
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1504
|
+
protected: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1552
1505
|
default: null | {
|
|
1553
1506
|
name: string;
|
|
1554
1507
|
description: string;
|
|
1555
1508
|
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1556
1509
|
protected: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1557
1510
|
};
|
|
1511
|
+
id: string;
|
|
1512
|
+
builtin: boolean;
|
|
1513
|
+
edited: boolean;
|
|
1558
1514
|
assignableToEnvironment: boolean;
|
|
1559
|
-
grants: number;
|
|
1515
|
+
grants: number | null;
|
|
1560
1516
|
};
|
|
1561
1517
|
};
|
|
1562
1518
|
};
|
|
@@ -1577,22 +1533,22 @@ export type Api = {
|
|
|
1577
1533
|
revision: string;
|
|
1578
1534
|
} | {
|
|
1579
1535
|
role: null | {
|
|
1536
|
+
fixed: boolean;
|
|
1580
1537
|
name: string;
|
|
1581
1538
|
description: string;
|
|
1582
1539
|
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1583
1540
|
protected: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1584
|
-
id: string;
|
|
1585
|
-
builtin: boolean;
|
|
1586
|
-
edited: boolean;
|
|
1587
|
-
fixed: boolean;
|
|
1588
1541
|
default: null | {
|
|
1589
1542
|
name: string;
|
|
1590
1543
|
description: string;
|
|
1591
1544
|
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1592
1545
|
protected: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1593
1546
|
};
|
|
1547
|
+
id: string;
|
|
1548
|
+
builtin: boolean;
|
|
1549
|
+
edited: boolean;
|
|
1594
1550
|
assignableToEnvironment: boolean;
|
|
1595
|
-
grants: number;
|
|
1551
|
+
grants: number | null;
|
|
1596
1552
|
};
|
|
1597
1553
|
};
|
|
1598
1554
|
};
|
|
@@ -1618,22 +1574,22 @@ export type Api = {
|
|
|
1618
1574
|
revision: string;
|
|
1619
1575
|
} | {
|
|
1620
1576
|
role: null | {
|
|
1577
|
+
fixed: boolean;
|
|
1621
1578
|
name: string;
|
|
1622
1579
|
description: string;
|
|
1623
1580
|
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1624
1581
|
protected: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1625
|
-
id: string;
|
|
1626
|
-
builtin: boolean;
|
|
1627
|
-
edited: boolean;
|
|
1628
|
-
fixed: boolean;
|
|
1629
1582
|
default: null | {
|
|
1630
1583
|
name: string;
|
|
1631
1584
|
description: string;
|
|
1632
1585
|
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1633
1586
|
protected: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1634
1587
|
};
|
|
1588
|
+
id: string;
|
|
1589
|
+
builtin: boolean;
|
|
1590
|
+
edited: boolean;
|
|
1635
1591
|
assignableToEnvironment: boolean;
|
|
1636
|
-
grants: number;
|
|
1592
|
+
grants: number | null;
|
|
1637
1593
|
};
|
|
1638
1594
|
};
|
|
1639
1595
|
};
|
|
@@ -1654,22 +1610,22 @@ export type Api = {
|
|
|
1654
1610
|
revision: string;
|
|
1655
1611
|
} | {
|
|
1656
1612
|
role: null | {
|
|
1613
|
+
fixed: boolean;
|
|
1657
1614
|
name: string;
|
|
1658
1615
|
description: string;
|
|
1659
1616
|
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1660
1617
|
protected: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1661
|
-
id: string;
|
|
1662
|
-
builtin: boolean;
|
|
1663
|
-
edited: boolean;
|
|
1664
|
-
fixed: boolean;
|
|
1665
1618
|
default: null | {
|
|
1666
1619
|
name: string;
|
|
1667
1620
|
description: string;
|
|
1668
1621
|
permissions: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1669
1622
|
protected: ("audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write")[];
|
|
1670
1623
|
};
|
|
1624
|
+
id: string;
|
|
1625
|
+
builtin: boolean;
|
|
1626
|
+
edited: boolean;
|
|
1671
1627
|
assignableToEnvironment: boolean;
|
|
1672
|
-
grants: number;
|
|
1628
|
+
grants: number | null;
|
|
1673
1629
|
};
|
|
1674
1630
|
};
|
|
1675
1631
|
};
|
|
@@ -1678,51 +1634,17 @@ export type Api = {
|
|
|
1678
1634
|
output: never;
|
|
1679
1635
|
};
|
|
1680
1636
|
"POST /members/:member/bindings/:id/enrollments": {
|
|
1681
|
-
input: {
|
|
1682
|
-
[key: string]: never;
|
|
1683
|
-
};
|
|
1684
|
-
output: never;
|
|
1685
|
-
};
|
|
1686
|
-
"POST /members/:member/bindings/:id/enrollments/:enrollment/promote": {
|
|
1687
|
-
input: {
|
|
1688
|
-
now?: boolean;
|
|
1689
|
-
};
|
|
1690
|
-
output: never;
|
|
1691
|
-
};
|
|
1692
|
-
"POST /members/:member/tokens/:id/approve": {
|
|
1693
1637
|
input: undefined;
|
|
1694
1638
|
output: never;
|
|
1695
1639
|
};
|
|
1696
|
-
"
|
|
1640
|
+
"POST /members/:member/bindings/:id/enrollments/:enrollment/promote": {
|
|
1697
1641
|
input: undefined;
|
|
1698
1642
|
output: never;
|
|
1699
1643
|
};
|
|
1700
|
-
"POST /
|
|
1701
|
-
input: {
|
|
1702
|
-
target: string;
|
|
1703
|
-
reason: string;
|
|
1704
|
-
};
|
|
1705
|
-
output: never;
|
|
1706
|
-
};
|
|
1707
|
-
"DELETE /freezes/:target": {
|
|
1644
|
+
"POST /members/:member/tokens/:id/approve": {
|
|
1708
1645
|
input: undefined;
|
|
1709
1646
|
output: never;
|
|
1710
1647
|
};
|
|
1711
|
-
"DELETE /handles/:id": {
|
|
1712
|
-
input: undefined;
|
|
1713
|
-
output: {
|
|
1714
|
-
revoked: true;
|
|
1715
|
-
};
|
|
1716
|
-
};
|
|
1717
|
-
"POST /audit/loss": {
|
|
1718
|
-
input: {
|
|
1719
|
-
from: number;
|
|
1720
|
-
to: number;
|
|
1721
|
-
};
|
|
1722
|
-
output: {
|
|
1723
|
-
resumes: number | null;
|
|
1724
|
-
};
|
|
1725
|
-
};
|
|
1726
1648
|
};
|
|
1727
1649
|
|
|
1728
1650
|
export type AccessValue = string | null | {
|
|
@@ -1804,6 +1726,7 @@ export type AuditEntryView = {
|
|
|
1804
1726
|
metadata: {
|
|
1805
1727
|
[key: string]: unknown;
|
|
1806
1728
|
};
|
|
1729
|
+
proof: "failed" | "proven" | "unproven";
|
|
1807
1730
|
};
|
|
1808
1731
|
|
|
1809
1732
|
export type AuthInfo = {
|
|
@@ -1931,16 +1854,22 @@ export type ConnectedApp = {
|
|
|
1931
1854
|
expiresAt: string;
|
|
1932
1855
|
};
|
|
1933
1856
|
|
|
1934
|
-
export type
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1857
|
+
export type Decision = {
|
|
1858
|
+
status: "approved" | "cancelled" | "denied" | "expired" | "failed" | "pending";
|
|
1859
|
+
outcome: {
|
|
1860
|
+
text: string;
|
|
1861
|
+
result?: {
|
|
1862
|
+
[key: string]: unknown;
|
|
1863
|
+
};
|
|
1864
|
+
error?: string;
|
|
1865
|
+
};
|
|
1866
|
+
shown: {
|
|
1867
|
+
label: string;
|
|
1868
|
+
value: string;
|
|
1869
|
+
kind?: "mono" | "time";
|
|
1870
|
+
note?: string;
|
|
1871
|
+
warn?: true;
|
|
1941
1872
|
}[];
|
|
1942
|
-
replaces: string[];
|
|
1943
|
-
withheld: string[];
|
|
1944
1873
|
};
|
|
1945
1874
|
|
|
1946
1875
|
export type Deletion = {
|
|
@@ -1961,24 +1890,6 @@ export type Deletion = {
|
|
|
1961
1890
|
stranded: string[];
|
|
1962
1891
|
};
|
|
1963
1892
|
|
|
1964
|
-
export type Decision = {
|
|
1965
|
-
status: "approved" | "cancelled" | "denied" | "expired" | "failed" | "pending";
|
|
1966
|
-
outcome: {
|
|
1967
|
-
text: string;
|
|
1968
|
-
result?: {
|
|
1969
|
-
[key: string]: unknown;
|
|
1970
|
-
};
|
|
1971
|
-
error?: string;
|
|
1972
|
-
};
|
|
1973
|
-
shown: {
|
|
1974
|
-
label: string;
|
|
1975
|
-
value: string;
|
|
1976
|
-
kind?: "mono" | "time";
|
|
1977
|
-
note?: string;
|
|
1978
|
-
warn?: true;
|
|
1979
|
-
}[];
|
|
1980
|
-
};
|
|
1981
|
-
|
|
1982
1893
|
export type DeletionResult = {
|
|
1983
1894
|
dryRun: boolean;
|
|
1984
1895
|
deletion: {
|
|
@@ -2000,25 +1911,12 @@ export type DeletionResult = {
|
|
|
2000
1911
|
};
|
|
2001
1912
|
};
|
|
2002
1913
|
|
|
2003
|
-
export type WorkloadIds = {
|
|
2004
|
-
github: string;
|
|
2005
|
-
repositoryId: string;
|
|
2006
|
-
ownerId: string;
|
|
2007
|
-
} | {
|
|
2008
|
-
github: string;
|
|
2009
|
-
ownerId: string;
|
|
2010
|
-
} | {
|
|
2011
|
-
gitlab: string;
|
|
2012
|
-
projectId: string;
|
|
2013
|
-
namespaceId: string;
|
|
2014
|
-
};
|
|
2015
|
-
|
|
2016
1914
|
export type DismissedKey = {
|
|
1915
|
+
dismissedBy: string;
|
|
1916
|
+
dismissedAt: string;
|
|
2017
1917
|
key: string;
|
|
2018
1918
|
in: string[];
|
|
2019
1919
|
folder: string | null;
|
|
2020
|
-
dismissedBy: string;
|
|
2021
|
-
dismissedAt: string;
|
|
2022
1920
|
};
|
|
2023
1921
|
|
|
2024
1922
|
export type DryRunOutcome = "added" | "archived" | "changed" | "unchanged";
|
|
@@ -2030,6 +1928,13 @@ export type DryRunResult = {
|
|
|
2030
1928
|
};
|
|
2031
1929
|
};
|
|
2032
1930
|
|
|
1931
|
+
export type EnvironmentView = {
|
|
1932
|
+
slug: string;
|
|
1933
|
+
name: string;
|
|
1934
|
+
archivedAt: string | null;
|
|
1935
|
+
protected: boolean;
|
|
1936
|
+
};
|
|
1937
|
+
|
|
2033
1938
|
export type IdentityRow = {
|
|
2034
1939
|
id: string;
|
|
2035
1940
|
provider: string;
|
|
@@ -2038,11 +1943,50 @@ export type IdentityRow = {
|
|
|
2038
1943
|
lastSignInAt: string | null;
|
|
2039
1944
|
};
|
|
2040
1945
|
|
|
1946
|
+
export type ImpactLine = {
|
|
1947
|
+
change: "narrows" | "widens";
|
|
1948
|
+
permission: "audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write";
|
|
1949
|
+
protected: boolean;
|
|
1950
|
+
people: number;
|
|
1951
|
+
services: number;
|
|
1952
|
+
environments: number;
|
|
1953
|
+
projects: number;
|
|
1954
|
+
examples: string[];
|
|
1955
|
+
};
|
|
1956
|
+
|
|
2041
1957
|
export type InheritResult = {
|
|
1958
|
+
inherit?: boolean;
|
|
1959
|
+
folder?: string | null;
|
|
1960
|
+
archived?: boolean;
|
|
1961
|
+
operationId: string | null;
|
|
2042
1962
|
key: string;
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
1963
|
+
};
|
|
1964
|
+
|
|
1965
|
+
export type KeysPlan = {
|
|
1966
|
+
issuer: string;
|
|
1967
|
+
jwksUri: string;
|
|
1968
|
+
keys: {
|
|
1969
|
+
kid: string | null;
|
|
1970
|
+
alg: "ES256" | "RS256";
|
|
1971
|
+
thumbprint: string;
|
|
1972
|
+
}[];
|
|
1973
|
+
replaces: string[];
|
|
1974
|
+
withheld: string[];
|
|
1975
|
+
};
|
|
1976
|
+
|
|
1977
|
+
export type ListedReference = {
|
|
1978
|
+
readers: null | string[];
|
|
1979
|
+
canBreak: boolean;
|
|
1980
|
+
holderArchived: boolean;
|
|
1981
|
+
id: string;
|
|
1982
|
+
holder: string;
|
|
1983
|
+
source: string;
|
|
1984
|
+
state: "broken" | "live" | "source_archived" | "source_deleted" | "source_empty" | "source_is_reference";
|
|
1985
|
+
version: number | null;
|
|
1986
|
+
createdBy: string | null;
|
|
1987
|
+
createdAt: string | null;
|
|
1988
|
+
endedBy: null;
|
|
1989
|
+
endedAt: null;
|
|
2046
1990
|
};
|
|
2047
1991
|
|
|
2048
1992
|
export type Me = {
|
|
@@ -2162,21 +2106,6 @@ export type MemberAccess = {
|
|
|
2162
2106
|
}[];
|
|
2163
2107
|
};
|
|
2164
2108
|
|
|
2165
|
-
export type SettingsView = {
|
|
2166
|
-
serviceAccounts: {
|
|
2167
|
-
projects: "all" | {
|
|
2168
|
-
only: string[];
|
|
2169
|
-
} | {
|
|
2170
|
-
except: string[];
|
|
2171
|
-
};
|
|
2172
|
-
environments: "all" | {
|
|
2173
|
-
only: string[];
|
|
2174
|
-
} | {
|
|
2175
|
-
except: string[];
|
|
2176
|
-
};
|
|
2177
|
-
};
|
|
2178
|
-
};
|
|
2179
|
-
|
|
2180
2109
|
export type MissingKey = {
|
|
2181
2110
|
key: string;
|
|
2182
2111
|
in: string[];
|
|
@@ -2219,7 +2148,7 @@ export type OffboardingReport = {
|
|
|
2219
2148
|
at: string;
|
|
2220
2149
|
}[];
|
|
2221
2150
|
rotated: number;
|
|
2222
|
-
issuedTokens: {
|
|
2151
|
+
issuedTokens: null | {
|
|
2223
2152
|
id: string;
|
|
2224
2153
|
service: string;
|
|
2225
2154
|
label: string | null;
|
|
@@ -2230,7 +2159,7 @@ export type OffboardingReport = {
|
|
|
2230
2159
|
[key: string]: string;
|
|
2231
2160
|
};
|
|
2232
2161
|
}[];
|
|
2233
|
-
apps: {
|
|
2162
|
+
apps: null | {
|
|
2234
2163
|
id: string;
|
|
2235
2164
|
name: string;
|
|
2236
2165
|
host: string | null;
|
|
@@ -2241,7 +2170,7 @@ export type OffboardingReport = {
|
|
|
2241
2170
|
lastUsedIp: string | null;
|
|
2242
2171
|
expiresAt: string;
|
|
2243
2172
|
}[];
|
|
2244
|
-
personalTokens: {
|
|
2173
|
+
personalTokens: null | {
|
|
2245
2174
|
id: string;
|
|
2246
2175
|
label: string | null;
|
|
2247
2176
|
hint: string;
|
|
@@ -2257,17 +2186,22 @@ export type OffboardingReport = {
|
|
|
2257
2186
|
bindingId: string | null;
|
|
2258
2187
|
};
|
|
2259
2188
|
}[];
|
|
2260
|
-
references: {
|
|
2189
|
+
references: null | {
|
|
2190
|
+
version: number | null;
|
|
2191
|
+
source: string;
|
|
2261
2192
|
id: string;
|
|
2193
|
+
state: "broken" | "live" | "source_archived" | "source_deleted" | "source_empty" | "source_is_reference";
|
|
2262
2194
|
holder: string;
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
version: number | null;
|
|
2195
|
+
endedBy: null;
|
|
2196
|
+
endedAt: null;
|
|
2266
2197
|
createdBy: string;
|
|
2267
2198
|
createdAt: string;
|
|
2268
|
-
endedBy: string | null;
|
|
2269
|
-
endedAt: string | null;
|
|
2270
2199
|
}[];
|
|
2200
|
+
totals: {
|
|
2201
|
+
issuedTokens: number | null;
|
|
2202
|
+
personalTokens: number | null;
|
|
2203
|
+
references: number | null;
|
|
2204
|
+
};
|
|
2271
2205
|
personal: {
|
|
2272
2206
|
project: string;
|
|
2273
2207
|
of: string;
|
|
@@ -2276,29 +2210,14 @@ export type OffboardingReport = {
|
|
|
2276
2210
|
};
|
|
2277
2211
|
|
|
2278
2212
|
export type PersonalConfig = {
|
|
2279
|
-
owner: string;
|
|
2280
2213
|
of: string;
|
|
2214
|
+
owner: string;
|
|
2281
2215
|
slug: string;
|
|
2282
2216
|
keys: string[];
|
|
2283
2217
|
archived: boolean;
|
|
2284
2218
|
createdAt: string;
|
|
2285
2219
|
};
|
|
2286
2220
|
|
|
2287
|
-
export type ListedReference = {
|
|
2288
|
-
id: string;
|
|
2289
|
-
holder: string;
|
|
2290
|
-
source: string;
|
|
2291
|
-
state: "broken" | "live" | "replaced" | "source_archived" | "source_deleted" | "source_empty" | "source_is_reference";
|
|
2292
|
-
version: number | null;
|
|
2293
|
-
createdBy: string;
|
|
2294
|
-
createdAt: string;
|
|
2295
|
-
endedBy: string | null;
|
|
2296
|
-
endedAt: string | null;
|
|
2297
|
-
readers: null | string[];
|
|
2298
|
-
canBreak: boolean;
|
|
2299
|
-
holderArchived: boolean;
|
|
2300
|
-
};
|
|
2301
|
-
|
|
2302
2221
|
export type ProjectSummary = {
|
|
2303
2222
|
slug: string;
|
|
2304
2223
|
name: string;
|
|
@@ -2325,12 +2244,12 @@ export type ReferenceView = {
|
|
|
2325
2244
|
id: string;
|
|
2326
2245
|
holder: string;
|
|
2327
2246
|
source: string;
|
|
2328
|
-
state: "broken" | "live" | "
|
|
2247
|
+
state: "broken" | "live" | "source_archived" | "source_deleted" | "source_empty" | "source_is_reference";
|
|
2329
2248
|
version: number | null;
|
|
2330
|
-
createdBy: string;
|
|
2331
|
-
createdAt: string;
|
|
2332
|
-
endedBy:
|
|
2333
|
-
endedAt:
|
|
2249
|
+
createdBy: string | null;
|
|
2250
|
+
createdAt: string | null;
|
|
2251
|
+
endedBy: null;
|
|
2252
|
+
endedAt: null;
|
|
2334
2253
|
};
|
|
2335
2254
|
|
|
2336
2255
|
export type RemovedMember = {
|
|
@@ -2339,17 +2258,6 @@ export type RemovedMember = {
|
|
|
2339
2258
|
toRotate: number;
|
|
2340
2259
|
};
|
|
2341
2260
|
|
|
2342
|
-
export type ImpactLine = {
|
|
2343
|
-
change: "narrows" | "widens";
|
|
2344
|
-
permission: "audit.read" | "environment.manage" | "grant.manage" | "project.manage" | "secret.archive" | "secret.read" | "secret.use" | "secret.write";
|
|
2345
|
-
protected: boolean;
|
|
2346
|
-
people: number;
|
|
2347
|
-
services: number;
|
|
2348
|
-
environments: number;
|
|
2349
|
-
projects: number;
|
|
2350
|
-
examples: string[];
|
|
2351
|
-
};
|
|
2352
|
-
|
|
2353
2261
|
export type RoleImpact = {
|
|
2354
2262
|
impact: {
|
|
2355
2263
|
change: "narrows" | "widens";
|
|
@@ -2424,33 +2332,28 @@ export type RolesView = {
|
|
|
2424
2332
|
editable: boolean;
|
|
2425
2333
|
};
|
|
2426
2334
|
|
|
2427
|
-
export type EnvironmentView = {
|
|
2428
|
-
slug: string;
|
|
2429
|
-
name: string;
|
|
2430
|
-
archivedAt: string | null;
|
|
2431
|
-
protected: boolean;
|
|
2432
|
-
};
|
|
2433
|
-
|
|
2434
2335
|
export type SecretKey = {
|
|
2435
2336
|
key: string;
|
|
2436
2337
|
reference: null | {
|
|
2437
2338
|
id: string;
|
|
2438
2339
|
holder: string;
|
|
2439
2340
|
source: string;
|
|
2440
|
-
state: "broken" | "live" | "
|
|
2341
|
+
state: "broken" | "live" | "source_archived" | "source_deleted" | "source_empty" | "source_is_reference";
|
|
2441
2342
|
version: number | null;
|
|
2442
|
-
createdBy: string;
|
|
2443
|
-
createdAt: string;
|
|
2444
|
-
endedBy:
|
|
2445
|
-
endedAt:
|
|
2343
|
+
createdBy: string | null;
|
|
2344
|
+
createdAt: string | null;
|
|
2345
|
+
endedBy: null;
|
|
2346
|
+
endedAt: null;
|
|
2347
|
+
sourceId: string;
|
|
2446
2348
|
canOpenSource: boolean;
|
|
2447
2349
|
};
|
|
2448
2350
|
folder: string | null;
|
|
2449
2351
|
archived: boolean;
|
|
2450
2352
|
version: number | null;
|
|
2353
|
+
versionId: string | null;
|
|
2354
|
+
secret: string | null;
|
|
2451
2355
|
updatedAt: string | null;
|
|
2452
2356
|
updatedBy: string | null;
|
|
2453
|
-
versionId: string | null;
|
|
2454
2357
|
generated: null | {
|
|
2455
2358
|
recipe: string;
|
|
2456
2359
|
pair?: {
|
|
@@ -2495,7 +2398,7 @@ export type SessionRow = {
|
|
|
2495
2398
|
};
|
|
2496
2399
|
|
|
2497
2400
|
export type SetResult = {
|
|
2498
|
-
operationId: string;
|
|
2401
|
+
operationId: string | null;
|
|
2499
2402
|
keys: {
|
|
2500
2403
|
[key: string]: {
|
|
2501
2404
|
version: number;
|
|
@@ -2508,6 +2411,21 @@ export type SetResult = {
|
|
|
2508
2411
|
};
|
|
2509
2412
|
};
|
|
2510
2413
|
|
|
2414
|
+
export type SettingsView = {
|
|
2415
|
+
serviceAccounts: {
|
|
2416
|
+
projects: "all" | {
|
|
2417
|
+
only: string[];
|
|
2418
|
+
} | {
|
|
2419
|
+
except: string[];
|
|
2420
|
+
};
|
|
2421
|
+
environments: "all" | {
|
|
2422
|
+
only: string[];
|
|
2423
|
+
} | {
|
|
2424
|
+
except: string[];
|
|
2425
|
+
};
|
|
2426
|
+
};
|
|
2427
|
+
};
|
|
2428
|
+
|
|
2511
2429
|
export type TokenPlan = {
|
|
2512
2430
|
scope: {
|
|
2513
2431
|
[key: string]: string;
|
|
@@ -2531,3 +2449,16 @@ export type TokenRow = {
|
|
|
2531
2449
|
bindingId: string | null;
|
|
2532
2450
|
};
|
|
2533
2451
|
};
|
|
2452
|
+
|
|
2453
|
+
export type WorkloadIds = {
|
|
2454
|
+
github: string;
|
|
2455
|
+
repositoryId: string;
|
|
2456
|
+
ownerId: string;
|
|
2457
|
+
} | {
|
|
2458
|
+
github: string;
|
|
2459
|
+
ownerId: string;
|
|
2460
|
+
} | {
|
|
2461
|
+
gitlab: string;
|
|
2462
|
+
projectId: string;
|
|
2463
|
+
namespaceId: string;
|
|
2464
|
+
};
|