@happyvertical/smrt-secrets 0.51.14 → 0.51.15
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/chunks/{SecretService-BUp5S5Nb.js → SecretService-DIw_NgqJ.js} +2 -2
- package/dist/chunks/{SecretService-BUp5S5Nb.js.map → SecretService-DIw_NgqJ.js.map} +1 -1
- package/dist/chunks/TenantKey-DXrNVwe9.js +355 -0
- package/dist/chunks/TenantKey-DXrNVwe9.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/manifest.json +898 -898
- package/dist/models/index.js +1 -1
- package/dist/services/SecretService.js +1 -1
- package/dist/smrt-knowledge.json +945 -945
- package/package.json +4 -4
- package/dist/chunks/TenantKey-DGfnlV1z.js +0 -355
- package/dist/chunks/TenantKey-DGfnlV1z.js.map +0 -1
package/dist/smrt-knowledge.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"sensitiveFieldsExcluded": true,
|
|
4
4
|
"generatedAt": "1970-01-01T00:00:00.000Z",
|
|
5
5
|
"packageName": "@happyvertical/smrt-secrets",
|
|
6
|
-
"packageVersion": "0.51.
|
|
6
|
+
"packageVersion": "0.51.15",
|
|
7
7
|
"sourceManifestPath": "dist/manifest.json",
|
|
8
8
|
"agentDocPath": "AGENTS.md",
|
|
9
9
|
"sourceHashes": {
|
|
10
|
-
"manifest": "
|
|
11
|
-
"packageJson": "
|
|
10
|
+
"manifest": "f3356dd7dd6d647860f76de58528593d5fe982717e1ce354afba1fef570a93a5",
|
|
11
|
+
"packageJson": "cb10d1440074ebf42c0415086c1faf920bbb9dcdd62d69b5027042e2400a481e",
|
|
12
12
|
"agents": "96fe8095cb8a2673fb8752fdc2940b53ce09d83c42715396ba6812ce215e990b"
|
|
13
13
|
},
|
|
14
14
|
"exports": [
|
|
@@ -57,554 +57,516 @@
|
|
|
57
57
|
],
|
|
58
58
|
"objects": [
|
|
59
59
|
{
|
|
60
|
-
"name": "
|
|
61
|
-
"qualifiedName": "@happyvertical/smrt-secrets:
|
|
62
|
-
"collection": "
|
|
63
|
-
"tableName": "
|
|
60
|
+
"name": "SecretAuditLogCollection",
|
|
61
|
+
"qualifiedName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
62
|
+
"collection": "secretauditlogs",
|
|
63
|
+
"tableName": "secret_audit_logs",
|
|
64
64
|
"packageName": "@happyvertical/smrt-secrets",
|
|
65
|
-
"extends": "
|
|
66
|
-
"fields": [
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"default": ""
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "description",
|
|
83
|
-
"type": "text",
|
|
84
|
-
"required": false,
|
|
85
|
-
"columnType": "TEXT",
|
|
86
|
-
"default": ""
|
|
87
|
-
},
|
|
65
|
+
"extends": "SmrtCollection",
|
|
66
|
+
"fields": [],
|
|
67
|
+
"relationships": [],
|
|
68
|
+
"methods": [
|
|
69
|
+
"cleanup",
|
|
70
|
+
"countByAction",
|
|
71
|
+
"countByResult",
|
|
72
|
+
"getRecentDenials",
|
|
73
|
+
"getRecentFailures",
|
|
74
|
+
"getSecretHistory",
|
|
75
|
+
"getUserActivity",
|
|
76
|
+
"listLogs"
|
|
77
|
+
],
|
|
78
|
+
"methodSignatures": [
|
|
88
79
|
{
|
|
89
|
-
"name": "
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
80
|
+
"name": "cleanup",
|
|
81
|
+
"async": true,
|
|
82
|
+
"params": [
|
|
83
|
+
"olderThanDays?: number"
|
|
84
|
+
],
|
|
85
|
+
"returns": "Promise<number>"
|
|
94
86
|
},
|
|
95
87
|
{
|
|
96
|
-
"name": "
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
88
|
+
"name": "countByAction",
|
|
89
|
+
"async": true,
|
|
90
|
+
"params": [
|
|
91
|
+
"tenantId: string | null",
|
|
92
|
+
"since?: Date"
|
|
93
|
+
],
|
|
94
|
+
"returns": "Promise<Record<SecretAuditAction, number>>"
|
|
101
95
|
},
|
|
102
96
|
{
|
|
103
|
-
"name": "
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
|
|
97
|
+
"name": "countByResult",
|
|
98
|
+
"async": true,
|
|
99
|
+
"params": [
|
|
100
|
+
"tenantId: string | null",
|
|
101
|
+
"since?: Date"
|
|
102
|
+
],
|
|
103
|
+
"returns": "Promise<Record<SecretAuditResult, number>>"
|
|
108
104
|
},
|
|
109
105
|
{
|
|
110
|
-
"name": "
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
106
|
+
"name": "getRecentDenials",
|
|
107
|
+
"async": true,
|
|
108
|
+
"params": [
|
|
109
|
+
"tenantId: string | null",
|
|
110
|
+
"limit?: number"
|
|
111
|
+
],
|
|
112
|
+
"returns": "Promise<SecretAuditLog[]>"
|
|
115
113
|
},
|
|
116
114
|
{
|
|
117
|
-
"name": "
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
|
|
115
|
+
"name": "getRecentFailures",
|
|
116
|
+
"async": true,
|
|
117
|
+
"params": [
|
|
118
|
+
"tenantId: string | null",
|
|
119
|
+
"limit?: number"
|
|
120
|
+
],
|
|
121
|
+
"returns": "Promise<SecretAuditLog[]>"
|
|
121
122
|
},
|
|
122
123
|
{
|
|
123
|
-
"name": "
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
|
|
124
|
+
"name": "getSecretHistory",
|
|
125
|
+
"async": true,
|
|
126
|
+
"params": [
|
|
127
|
+
"tenantId: string | null",
|
|
128
|
+
"secretName: string",
|
|
129
|
+
"limit?: number"
|
|
130
|
+
],
|
|
131
|
+
"returns": "Promise<SecretAuditLog[]>"
|
|
127
132
|
},
|
|
128
133
|
{
|
|
129
|
-
"name": "
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
"name": "getUserActivity",
|
|
135
|
+
"async": true,
|
|
136
|
+
"params": [
|
|
137
|
+
"tenantId: string | null",
|
|
138
|
+
"userId: string",
|
|
139
|
+
"limit?: number"
|
|
140
|
+
],
|
|
141
|
+
"returns": "Promise<SecretAuditLog[]>"
|
|
134
142
|
},
|
|
135
143
|
{
|
|
136
|
-
"name": "
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
|
|
140
|
-
|
|
144
|
+
"name": "listLogs",
|
|
145
|
+
"async": true,
|
|
146
|
+
"params": [
|
|
147
|
+
"options?: ListAuditLogsOptions"
|
|
148
|
+
],
|
|
149
|
+
"returns": "Promise<SecretAuditLog[]>"
|
|
141
150
|
}
|
|
142
151
|
],
|
|
143
|
-
"
|
|
144
|
-
"methods": [
|
|
145
|
-
"disable",
|
|
146
|
-
"enable",
|
|
147
|
-
"isActive",
|
|
148
|
-
"isExpired",
|
|
149
|
-
"isUsable",
|
|
150
|
-
"recordAccess"
|
|
151
|
-
],
|
|
152
|
-
"methodSignatures": [
|
|
153
|
-
{
|
|
154
|
-
"name": "disable",
|
|
155
|
-
"returns": "void"
|
|
156
|
-
},
|
|
152
|
+
"surfaces": [
|
|
157
153
|
{
|
|
158
|
-
"
|
|
159
|
-
"
|
|
154
|
+
"kind": "api",
|
|
155
|
+
"name": "secretauditlogs.listLogs",
|
|
156
|
+
"operation": "listLogs",
|
|
157
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
158
|
+
"path": "/secretauditlogs/listLogs",
|
|
159
|
+
"method": "POST"
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
|
-
"
|
|
163
|
-
"
|
|
162
|
+
"kind": "api",
|
|
163
|
+
"name": "secretauditlogs.getSecretHistory",
|
|
164
|
+
"operation": "getSecretHistory",
|
|
165
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
166
|
+
"path": "/secretauditlogs/getSecretHistory",
|
|
167
|
+
"method": "POST"
|
|
164
168
|
},
|
|
165
169
|
{
|
|
166
|
-
"
|
|
167
|
-
"
|
|
170
|
+
"kind": "api",
|
|
171
|
+
"name": "secretauditlogs.getUserActivity",
|
|
172
|
+
"operation": "getUserActivity",
|
|
173
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
174
|
+
"path": "/secretauditlogs/getUserActivity",
|
|
175
|
+
"method": "POST"
|
|
168
176
|
},
|
|
169
177
|
{
|
|
170
|
-
"
|
|
171
|
-
"
|
|
178
|
+
"kind": "api",
|
|
179
|
+
"name": "secretauditlogs.getRecentFailures",
|
|
180
|
+
"operation": "getRecentFailures",
|
|
181
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
182
|
+
"path": "/secretauditlogs/getRecentFailures",
|
|
183
|
+
"method": "POST"
|
|
172
184
|
},
|
|
173
|
-
{
|
|
174
|
-
"name": "recordAccess",
|
|
175
|
-
"returns": "void"
|
|
176
|
-
}
|
|
177
|
-
],
|
|
178
|
-
"tenant": {
|
|
179
|
-
"scoped": true,
|
|
180
|
-
"mode": "required",
|
|
181
|
-
"field": "tenantId"
|
|
182
|
-
},
|
|
183
|
-
"conflictColumns": [
|
|
184
|
-
"tenant_id",
|
|
185
|
-
"slug",
|
|
186
|
-
"context"
|
|
187
|
-
],
|
|
188
|
-
"surfaces": [
|
|
189
|
-
{
|
|
190
|
-
"kind": "cli",
|
|
191
|
-
"name": "secret_list",
|
|
192
|
-
"operation": "list",
|
|
193
|
-
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
194
|
-
}
|
|
195
|
-
],
|
|
196
|
-
"withheldSurfaces": [
|
|
197
185
|
{
|
|
198
186
|
"kind": "api",
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"
|
|
187
|
+
"name": "secretauditlogs.getRecentDenials",
|
|
188
|
+
"operation": "getRecentDenials",
|
|
189
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
190
|
+
"path": "/secretauditlogs/getRecentDenials",
|
|
191
|
+
"method": "POST"
|
|
203
192
|
},
|
|
204
193
|
{
|
|
205
194
|
"kind": "api",
|
|
206
|
-
"
|
|
207
|
-
"
|
|
208
|
-
"
|
|
209
|
-
"
|
|
195
|
+
"name": "secretauditlogs.countByAction",
|
|
196
|
+
"operation": "countByAction",
|
|
197
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
198
|
+
"path": "/secretauditlogs/countByAction",
|
|
199
|
+
"method": "POST"
|
|
210
200
|
},
|
|
211
201
|
{
|
|
212
202
|
"kind": "api",
|
|
213
|
-
"
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
"
|
|
203
|
+
"name": "secretauditlogs.countByResult",
|
|
204
|
+
"operation": "countByResult",
|
|
205
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
206
|
+
"path": "/secretauditlogs/countByResult",
|
|
207
|
+
"method": "POST"
|
|
217
208
|
},
|
|
218
209
|
{
|
|
219
210
|
"kind": "api",
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
211
|
+
"name": "secretauditlogs.cleanup",
|
|
212
|
+
"operation": "cleanup",
|
|
213
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection",
|
|
214
|
+
"path": "/secretauditlogs/cleanup",
|
|
215
|
+
"method": "POST"
|
|
224
216
|
},
|
|
225
217
|
{
|
|
226
|
-
"kind": "
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
218
|
+
"kind": "cli",
|
|
219
|
+
"name": "secretauditlogcollection_listLogs",
|
|
220
|
+
"operation": "listLogs",
|
|
221
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
231
222
|
},
|
|
232
223
|
{
|
|
233
|
-
"kind": "
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
238
|
-
}
|
|
239
|
-
],
|
|
240
|
-
"relationshipFeatures": [
|
|
241
|
-
"uuidColumns"
|
|
242
|
-
],
|
|
243
|
-
"tags": [],
|
|
244
|
-
"risks": []
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"name": "SecretAuditLog",
|
|
248
|
-
"qualifiedName": "@happyvertical/smrt-secrets:SecretAuditLog",
|
|
249
|
-
"collection": "secretauditlogs",
|
|
250
|
-
"tableName": "secret_audit_logs",
|
|
251
|
-
"packageName": "@happyvertical/smrt-secrets",
|
|
252
|
-
"extends": "SmrtObject",
|
|
253
|
-
"fields": [
|
|
254
|
-
{
|
|
255
|
-
"name": "tenantId",
|
|
256
|
-
"type": "text",
|
|
257
|
-
"required": false,
|
|
258
|
-
"columnType": "UUID"
|
|
224
|
+
"kind": "cli",
|
|
225
|
+
"name": "secretauditlogcollection_getSecretHistory",
|
|
226
|
+
"operation": "getSecretHistory",
|
|
227
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
259
228
|
},
|
|
260
229
|
{
|
|
261
|
-
"
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
"columnType": "UUID"
|
|
230
|
+
"kind": "cli",
|
|
231
|
+
"name": "secretauditlogcollection_getUserActivity",
|
|
232
|
+
"operation": "getUserActivity",
|
|
233
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
266
234
|
},
|
|
267
235
|
{
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"default": ""
|
|
236
|
+
"kind": "cli",
|
|
237
|
+
"name": "secretauditlogcollection_getRecentFailures",
|
|
238
|
+
"operation": "getRecentFailures",
|
|
239
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
273
240
|
},
|
|
274
241
|
{
|
|
275
|
-
"
|
|
276
|
-
"
|
|
277
|
-
"
|
|
278
|
-
"
|
|
279
|
-
"columnType": "UUID"
|
|
242
|
+
"kind": "cli",
|
|
243
|
+
"name": "secretauditlogcollection_getRecentDenials",
|
|
244
|
+
"operation": "getRecentDenials",
|
|
245
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
280
246
|
},
|
|
281
247
|
{
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
"
|
|
285
|
-
"
|
|
286
|
-
"default": "read"
|
|
248
|
+
"kind": "cli",
|
|
249
|
+
"name": "secretauditlogcollection_countByAction",
|
|
250
|
+
"operation": "countByAction",
|
|
251
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
287
252
|
},
|
|
288
253
|
{
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"default": "success"
|
|
254
|
+
"kind": "cli",
|
|
255
|
+
"name": "secretauditlogcollection_countByResult",
|
|
256
|
+
"operation": "countByResult",
|
|
257
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
294
258
|
},
|
|
295
259
|
{
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"default": ""
|
|
260
|
+
"kind": "cli",
|
|
261
|
+
"name": "secretauditlogcollection_cleanup",
|
|
262
|
+
"operation": "cleanup",
|
|
263
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
301
264
|
},
|
|
302
265
|
{
|
|
303
|
-
"
|
|
304
|
-
"
|
|
305
|
-
"
|
|
306
|
-
"
|
|
307
|
-
"default": ""
|
|
266
|
+
"kind": "mcp",
|
|
267
|
+
"name": "secretauditlogcollection_listlogs",
|
|
268
|
+
"operation": "listLogs",
|
|
269
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
308
270
|
},
|
|
309
271
|
{
|
|
310
|
-
"
|
|
311
|
-
"
|
|
312
|
-
"
|
|
313
|
-
"
|
|
314
|
-
"default": {}
|
|
315
|
-
}
|
|
316
|
-
],
|
|
317
|
-
"relationships": [
|
|
318
|
-
{
|
|
319
|
-
"name": "secretId",
|
|
320
|
-
"type": "foreignKey",
|
|
321
|
-
"required": false,
|
|
322
|
-
"related": "Secret",
|
|
323
|
-
"columnType": "UUID"
|
|
272
|
+
"kind": "mcp",
|
|
273
|
+
"name": "secretauditlogcollection_getsecrethistory",
|
|
274
|
+
"operation": "getSecretHistory",
|
|
275
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
324
276
|
},
|
|
325
277
|
{
|
|
326
|
-
"
|
|
327
|
-
"
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"columnType": "UUID"
|
|
331
|
-
}
|
|
332
|
-
],
|
|
333
|
-
"methods": [
|
|
334
|
-
"isDenied",
|
|
335
|
-
"isFailure",
|
|
336
|
-
"isKeyOperation",
|
|
337
|
-
"isReadAction",
|
|
338
|
-
"isSuccess",
|
|
339
|
-
"isWriteAction"
|
|
340
|
-
],
|
|
341
|
-
"methodSignatures": [
|
|
342
|
-
{
|
|
343
|
-
"name": "isDenied",
|
|
344
|
-
"returns": "boolean"
|
|
278
|
+
"kind": "mcp",
|
|
279
|
+
"name": "secretauditlogcollection_getuseractivity",
|
|
280
|
+
"operation": "getUserActivity",
|
|
281
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
345
282
|
},
|
|
346
283
|
{
|
|
347
|
-
"
|
|
348
|
-
"
|
|
284
|
+
"kind": "mcp",
|
|
285
|
+
"name": "secretauditlogcollection_getrecentfailures",
|
|
286
|
+
"operation": "getRecentFailures",
|
|
287
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
349
288
|
},
|
|
350
289
|
{
|
|
351
|
-
"
|
|
352
|
-
"
|
|
290
|
+
"kind": "mcp",
|
|
291
|
+
"name": "secretauditlogcollection_getrecentdenials",
|
|
292
|
+
"operation": "getRecentDenials",
|
|
293
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
353
294
|
},
|
|
354
295
|
{
|
|
355
|
-
"
|
|
356
|
-
"
|
|
296
|
+
"kind": "mcp",
|
|
297
|
+
"name": "secretauditlogcollection_countbyaction",
|
|
298
|
+
"operation": "countByAction",
|
|
299
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
357
300
|
},
|
|
358
301
|
{
|
|
359
|
-
"
|
|
360
|
-
"
|
|
302
|
+
"kind": "mcp",
|
|
303
|
+
"name": "secretauditlogcollection_countbyresult",
|
|
304
|
+
"operation": "countByResult",
|
|
305
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
361
306
|
},
|
|
362
307
|
{
|
|
363
|
-
"
|
|
364
|
-
"
|
|
308
|
+
"kind": "mcp",
|
|
309
|
+
"name": "secretauditlogcollection_cleanup",
|
|
310
|
+
"operation": "cleanup",
|
|
311
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLogCollection"
|
|
365
312
|
}
|
|
366
313
|
],
|
|
367
|
-
"
|
|
368
|
-
"
|
|
369
|
-
"mode": "required",
|
|
370
|
-
"field": "tenantId"
|
|
371
|
-
},
|
|
372
|
-
"conflictColumns": [
|
|
373
|
-
"tenant_id",
|
|
374
|
-
"slug",
|
|
375
|
-
"context"
|
|
314
|
+
"relationshipFeatures": [
|
|
315
|
+
"uuidColumns"
|
|
376
316
|
],
|
|
377
|
-
"
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
317
|
+
"tags": [],
|
|
318
|
+
"risks": []
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "SecretCollection",
|
|
322
|
+
"qualifiedName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
323
|
+
"collection": "secrets",
|
|
324
|
+
"tableName": "secrets",
|
|
325
|
+
"packageName": "@happyvertical/smrt-secrets",
|
|
326
|
+
"extends": "SmrtCollection",
|
|
327
|
+
"fields": [],
|
|
328
|
+
"relationships": [],
|
|
329
|
+
"methods": [
|
|
330
|
+
"countByStatus",
|
|
331
|
+
"deleteByName",
|
|
332
|
+
"findByName",
|
|
333
|
+
"getCategories",
|
|
334
|
+
"listActive",
|
|
335
|
+
"listByCategory",
|
|
336
|
+
"listExpiring",
|
|
337
|
+
"listSecrets"
|
|
384
338
|
],
|
|
385
|
-
"
|
|
339
|
+
"methodSignatures": [
|
|
386
340
|
{
|
|
387
|
-
"
|
|
388
|
-
"
|
|
389
|
-
"
|
|
390
|
-
|
|
391
|
-
|
|
341
|
+
"name": "countByStatus",
|
|
342
|
+
"async": true,
|
|
343
|
+
"params": [
|
|
344
|
+
"tenantId: string"
|
|
345
|
+
],
|
|
346
|
+
"returns": "Promise<Record<SecretStatus, number>>"
|
|
392
347
|
},
|
|
393
348
|
{
|
|
394
|
-
"
|
|
395
|
-
"
|
|
396
|
-
"
|
|
397
|
-
|
|
398
|
-
|
|
349
|
+
"name": "deleteByName",
|
|
350
|
+
"async": true,
|
|
351
|
+
"params": [
|
|
352
|
+
"tenantId: string",
|
|
353
|
+
"name: string"
|
|
354
|
+
],
|
|
355
|
+
"returns": "Promise<boolean>"
|
|
399
356
|
},
|
|
400
357
|
{
|
|
401
|
-
"
|
|
402
|
-
"
|
|
403
|
-
"
|
|
404
|
-
|
|
405
|
-
|
|
358
|
+
"name": "findByName",
|
|
359
|
+
"async": true,
|
|
360
|
+
"params": [
|
|
361
|
+
"tenantId: string",
|
|
362
|
+
"name: string"
|
|
363
|
+
],
|
|
364
|
+
"returns": "Promise<Secret | null>"
|
|
406
365
|
},
|
|
407
366
|
{
|
|
408
|
-
"
|
|
409
|
-
"
|
|
410
|
-
"
|
|
411
|
-
|
|
412
|
-
|
|
367
|
+
"name": "getCategories",
|
|
368
|
+
"async": true,
|
|
369
|
+
"params": [
|
|
370
|
+
"tenantId: string"
|
|
371
|
+
],
|
|
372
|
+
"returns": "Promise<string[]>"
|
|
413
373
|
},
|
|
414
374
|
{
|
|
415
|
-
"
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
|
|
419
|
-
|
|
375
|
+
"name": "listActive",
|
|
376
|
+
"async": true,
|
|
377
|
+
"params": [
|
|
378
|
+
"tenantId: string"
|
|
379
|
+
],
|
|
380
|
+
"returns": "Promise<Secret[]>"
|
|
420
381
|
},
|
|
421
382
|
{
|
|
422
|
-
"
|
|
423
|
-
"
|
|
424
|
-
"
|
|
425
|
-
|
|
426
|
-
|
|
383
|
+
"name": "listByCategory",
|
|
384
|
+
"async": true,
|
|
385
|
+
"params": [
|
|
386
|
+
"tenantId: string",
|
|
387
|
+
"category: string"
|
|
388
|
+
],
|
|
389
|
+
"returns": "Promise<Secret[]>"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "listExpiring",
|
|
393
|
+
"async": true,
|
|
394
|
+
"params": [
|
|
395
|
+
"tenantId: string",
|
|
396
|
+
"daysAhead?: number"
|
|
397
|
+
],
|
|
398
|
+
"returns": "Promise<Secret[]>"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "listSecrets",
|
|
402
|
+
"async": true,
|
|
403
|
+
"params": [
|
|
404
|
+
"tenantId: string",
|
|
405
|
+
"options?: ListSecretsOptions"
|
|
406
|
+
],
|
|
407
|
+
"returns": "Promise<Secret[]>"
|
|
427
408
|
}
|
|
428
409
|
],
|
|
429
|
-
"
|
|
430
|
-
"crossPackageRef",
|
|
431
|
-
"foreignKey",
|
|
432
|
-
"uuidColumns"
|
|
433
|
-
],
|
|
434
|
-
"tags": [],
|
|
435
|
-
"risks": []
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
"name": "TenantKey",
|
|
439
|
-
"qualifiedName": "@happyvertical/smrt-secrets:TenantKey",
|
|
440
|
-
"collection": "tenantkeys",
|
|
441
|
-
"tableName": "tenant_keys",
|
|
442
|
-
"packageName": "@happyvertical/smrt-secrets",
|
|
443
|
-
"extends": "SmrtObject",
|
|
444
|
-
"fields": [
|
|
410
|
+
"surfaces": [
|
|
445
411
|
{
|
|
446
|
-
"
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"
|
|
412
|
+
"kind": "api",
|
|
413
|
+
"name": "secrets.findByName",
|
|
414
|
+
"operation": "findByName",
|
|
415
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
416
|
+
"path": "/secrets/findByName",
|
|
417
|
+
"method": "POST"
|
|
451
418
|
},
|
|
452
419
|
{
|
|
453
|
-
"
|
|
454
|
-
"
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
"
|
|
420
|
+
"kind": "api",
|
|
421
|
+
"name": "secrets.listSecrets",
|
|
422
|
+
"operation": "listSecrets",
|
|
423
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
424
|
+
"path": "/secrets/listSecrets",
|
|
425
|
+
"method": "POST"
|
|
458
426
|
},
|
|
459
427
|
{
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"
|
|
464
|
-
"
|
|
428
|
+
"kind": "api",
|
|
429
|
+
"name": "secrets.listActive",
|
|
430
|
+
"operation": "listActive",
|
|
431
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
432
|
+
"path": "/secrets/listActive",
|
|
433
|
+
"method": "POST"
|
|
465
434
|
},
|
|
466
435
|
{
|
|
467
|
-
"
|
|
468
|
-
"
|
|
469
|
-
"
|
|
470
|
-
"
|
|
471
|
-
"
|
|
436
|
+
"kind": "api",
|
|
437
|
+
"name": "secrets.listByCategory",
|
|
438
|
+
"operation": "listByCategory",
|
|
439
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
440
|
+
"path": "/secrets/listByCategory",
|
|
441
|
+
"method": "POST"
|
|
472
442
|
},
|
|
473
443
|
{
|
|
474
|
-
"
|
|
475
|
-
"
|
|
476
|
-
"
|
|
477
|
-
"
|
|
478
|
-
"
|
|
444
|
+
"kind": "api",
|
|
445
|
+
"name": "secrets.listExpiring",
|
|
446
|
+
"operation": "listExpiring",
|
|
447
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
448
|
+
"path": "/secrets/listExpiring",
|
|
449
|
+
"method": "POST"
|
|
479
450
|
},
|
|
480
451
|
{
|
|
481
|
-
"
|
|
482
|
-
"
|
|
483
|
-
"
|
|
484
|
-
"
|
|
452
|
+
"kind": "api",
|
|
453
|
+
"name": "secrets.getCategories",
|
|
454
|
+
"operation": "getCategories",
|
|
455
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
456
|
+
"path": "/secrets/getCategories",
|
|
457
|
+
"method": "POST"
|
|
485
458
|
},
|
|
486
459
|
{
|
|
487
|
-
"
|
|
488
|
-
"
|
|
489
|
-
"
|
|
490
|
-
"
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
"relationships": [],
|
|
494
|
-
"methods": [
|
|
495
|
-
"canDecrypt",
|
|
496
|
-
"canEncrypt",
|
|
497
|
-
"isActive",
|
|
498
|
-
"isCompromised",
|
|
499
|
-
"isRetired",
|
|
500
|
-
"markCompromised",
|
|
501
|
-
"needsRotation",
|
|
502
|
-
"retire"
|
|
503
|
-
],
|
|
504
|
-
"methodSignatures": [
|
|
505
|
-
{
|
|
506
|
-
"name": "canDecrypt",
|
|
507
|
-
"returns": "boolean"
|
|
460
|
+
"kind": "api",
|
|
461
|
+
"name": "secrets.countByStatus",
|
|
462
|
+
"operation": "countByStatus",
|
|
463
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
464
|
+
"path": "/secrets/countByStatus",
|
|
465
|
+
"method": "POST"
|
|
508
466
|
},
|
|
509
467
|
{
|
|
510
|
-
"
|
|
511
|
-
"
|
|
468
|
+
"kind": "api",
|
|
469
|
+
"name": "secrets.deleteByName",
|
|
470
|
+
"operation": "deleteByName",
|
|
471
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
472
|
+
"path": "/secrets/deleteByName",
|
|
473
|
+
"method": "POST"
|
|
512
474
|
},
|
|
513
475
|
{
|
|
514
|
-
"
|
|
515
|
-
"
|
|
476
|
+
"kind": "cli",
|
|
477
|
+
"name": "secretcollection_findByName",
|
|
478
|
+
"operation": "findByName",
|
|
479
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
516
480
|
},
|
|
517
481
|
{
|
|
518
|
-
"
|
|
519
|
-
"
|
|
482
|
+
"kind": "cli",
|
|
483
|
+
"name": "secretcollection_listSecrets",
|
|
484
|
+
"operation": "listSecrets",
|
|
485
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
520
486
|
},
|
|
521
487
|
{
|
|
522
|
-
"
|
|
523
|
-
"
|
|
488
|
+
"kind": "cli",
|
|
489
|
+
"name": "secretcollection_listActive",
|
|
490
|
+
"operation": "listActive",
|
|
491
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
524
492
|
},
|
|
525
493
|
{
|
|
526
|
-
"
|
|
527
|
-
"
|
|
494
|
+
"kind": "cli",
|
|
495
|
+
"name": "secretcollection_listByCategory",
|
|
496
|
+
"operation": "listByCategory",
|
|
497
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
528
498
|
},
|
|
529
499
|
{
|
|
530
|
-
"
|
|
531
|
-
"
|
|
500
|
+
"kind": "cli",
|
|
501
|
+
"name": "secretcollection_listExpiring",
|
|
502
|
+
"operation": "listExpiring",
|
|
503
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
532
504
|
},
|
|
533
505
|
{
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
506
|
+
"kind": "cli",
|
|
507
|
+
"name": "secretcollection_getCategories",
|
|
508
|
+
"operation": "getCategories",
|
|
509
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
510
|
+
},
|
|
539
511
|
{
|
|
540
512
|
"kind": "cli",
|
|
541
|
-
"name": "
|
|
542
|
-
"operation": "
|
|
543
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
513
|
+
"name": "secretcollection_countByStatus",
|
|
514
|
+
"operation": "countByStatus",
|
|
515
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
544
516
|
},
|
|
545
517
|
{
|
|
546
518
|
"kind": "cli",
|
|
547
|
-
"name": "
|
|
548
|
-
"operation": "
|
|
549
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
550
|
-
}
|
|
551
|
-
],
|
|
552
|
-
"withheldSurfaces": [
|
|
519
|
+
"name": "secretcollection_deleteByName",
|
|
520
|
+
"operation": "deleteByName",
|
|
521
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
522
|
+
},
|
|
553
523
|
{
|
|
554
|
-
"kind": "
|
|
555
|
-
"
|
|
556
|
-
"
|
|
557
|
-
"
|
|
558
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
524
|
+
"kind": "mcp",
|
|
525
|
+
"name": "secretcollection_findbyname",
|
|
526
|
+
"operation": "findByName",
|
|
527
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
559
528
|
},
|
|
560
529
|
{
|
|
561
|
-
"kind": "
|
|
562
|
-
"
|
|
563
|
-
"
|
|
564
|
-
"
|
|
565
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
530
|
+
"kind": "mcp",
|
|
531
|
+
"name": "secretcollection_listsecrets",
|
|
532
|
+
"operation": "listSecrets",
|
|
533
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
566
534
|
},
|
|
567
535
|
{
|
|
568
|
-
"kind": "
|
|
569
|
-
"
|
|
570
|
-
"
|
|
571
|
-
"
|
|
572
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
536
|
+
"kind": "mcp",
|
|
537
|
+
"name": "secretcollection_listactive",
|
|
538
|
+
"operation": "listActive",
|
|
539
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
573
540
|
},
|
|
574
541
|
{
|
|
575
|
-
"kind": "
|
|
576
|
-
"
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
542
|
+
"kind": "mcp",
|
|
543
|
+
"name": "secretcollection_listbycategory",
|
|
544
|
+
"operation": "listByCategory",
|
|
545
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
580
546
|
},
|
|
581
547
|
{
|
|
582
|
-
"kind": "
|
|
583
|
-
"
|
|
584
|
-
"
|
|
585
|
-
"
|
|
586
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
548
|
+
"kind": "mcp",
|
|
549
|
+
"name": "secretcollection_listexpiring",
|
|
550
|
+
"operation": "listExpiring",
|
|
551
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
587
552
|
},
|
|
588
553
|
{
|
|
589
|
-
"kind": "
|
|
590
|
-
"
|
|
591
|
-
"
|
|
592
|
-
"
|
|
593
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
554
|
+
"kind": "mcp",
|
|
555
|
+
"name": "secretcollection_getcategories",
|
|
556
|
+
"operation": "getCategories",
|
|
557
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
594
558
|
},
|
|
595
559
|
{
|
|
596
|
-
"kind": "
|
|
597
|
-
"
|
|
598
|
-
"
|
|
599
|
-
"
|
|
600
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
560
|
+
"kind": "mcp",
|
|
561
|
+
"name": "secretcollection_countbystatus",
|
|
562
|
+
"operation": "countByStatus",
|
|
563
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
601
564
|
},
|
|
602
565
|
{
|
|
603
|
-
"kind": "
|
|
604
|
-
"
|
|
605
|
-
"
|
|
606
|
-
"
|
|
607
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
566
|
+
"kind": "mcp",
|
|
567
|
+
"name": "secretcollection_deletebyname",
|
|
568
|
+
"operation": "deleteByName",
|
|
569
|
+
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
608
570
|
}
|
|
609
571
|
],
|
|
610
572
|
"relationshipFeatures": [
|
|
@@ -614,27 +576,27 @@
|
|
|
614
576
|
"risks": []
|
|
615
577
|
},
|
|
616
578
|
{
|
|
617
|
-
"name": "
|
|
618
|
-
"qualifiedName": "@happyvertical/smrt-secrets:
|
|
619
|
-
"collection": "
|
|
620
|
-
"tableName": "
|
|
579
|
+
"name": "TenantKeyCollection",
|
|
580
|
+
"qualifiedName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
581
|
+
"collection": "tenantkeys",
|
|
582
|
+
"tableName": "tenant_keys",
|
|
621
583
|
"packageName": "@happyvertical/smrt-secrets",
|
|
622
584
|
"extends": "SmrtCollection",
|
|
623
585
|
"fields": [],
|
|
624
586
|
"relationships": [],
|
|
625
587
|
"methods": [
|
|
626
|
-
"
|
|
627
|
-
"
|
|
628
|
-
"
|
|
629
|
-
"
|
|
630
|
-
"
|
|
631
|
-
"
|
|
632
|
-
"
|
|
633
|
-
"
|
|
588
|
+
"cleanupRetiredKeys",
|
|
589
|
+
"countByStatus",
|
|
590
|
+
"findKeysNeedingRotation",
|
|
591
|
+
"getActiveKey",
|
|
592
|
+
"getKeyVersion",
|
|
593
|
+
"listAllActiveKeys",
|
|
594
|
+
"listKeyVersions",
|
|
595
|
+
"markCompromised"
|
|
634
596
|
],
|
|
635
597
|
"methodSignatures": [
|
|
636
598
|
{
|
|
637
|
-
"name": "
|
|
599
|
+
"name": "cleanupRetiredKeys",
|
|
638
600
|
"async": true,
|
|
639
601
|
"params": [
|
|
640
602
|
"olderThanDays?: number"
|
|
@@ -642,734 +604,772 @@
|
|
|
642
604
|
"returns": "Promise<number>"
|
|
643
605
|
},
|
|
644
606
|
{
|
|
645
|
-
"name": "
|
|
607
|
+
"name": "countByStatus",
|
|
646
608
|
"async": true,
|
|
647
|
-
"
|
|
648
|
-
"tenantId: string | null",
|
|
649
|
-
"since?: Date"
|
|
650
|
-
],
|
|
651
|
-
"returns": "Promise<Record<SecretAuditAction, number>>"
|
|
609
|
+
"returns": "Promise<Record<TenantKeyStatus, number>>"
|
|
652
610
|
},
|
|
653
611
|
{
|
|
654
|
-
"name": "
|
|
612
|
+
"name": "findKeysNeedingRotation",
|
|
655
613
|
"async": true,
|
|
656
|
-
"
|
|
657
|
-
"tenantId: string | null",
|
|
658
|
-
"since?: Date"
|
|
659
|
-
],
|
|
660
|
-
"returns": "Promise<Record<SecretAuditResult, number>>"
|
|
614
|
+
"returns": "Promise<TenantKey[]>"
|
|
661
615
|
},
|
|
662
616
|
{
|
|
663
|
-
"name": "
|
|
617
|
+
"name": "getActiveKey",
|
|
664
618
|
"async": true,
|
|
665
619
|
"params": [
|
|
666
|
-
"tenantId: string
|
|
667
|
-
"limit?: number"
|
|
620
|
+
"tenantId: string"
|
|
668
621
|
],
|
|
669
|
-
"returns": "Promise<
|
|
622
|
+
"returns": "Promise<TenantKey | null>"
|
|
670
623
|
},
|
|
671
624
|
{
|
|
672
|
-
"name": "
|
|
625
|
+
"name": "getKeyVersion",
|
|
673
626
|
"async": true,
|
|
674
627
|
"params": [
|
|
675
|
-
"tenantId: string
|
|
676
|
-
"
|
|
628
|
+
"tenantId: string",
|
|
629
|
+
"version: number"
|
|
677
630
|
],
|
|
678
|
-
"returns": "Promise<
|
|
631
|
+
"returns": "Promise<TenantKey | null>"
|
|
679
632
|
},
|
|
680
633
|
{
|
|
681
|
-
"name": "
|
|
634
|
+
"name": "listAllActiveKeys",
|
|
682
635
|
"async": true,
|
|
683
|
-
"
|
|
684
|
-
"tenantId: string | null",
|
|
685
|
-
"secretName: string",
|
|
686
|
-
"limit?: number"
|
|
687
|
-
],
|
|
688
|
-
"returns": "Promise<SecretAuditLog[]>"
|
|
636
|
+
"returns": "Promise<TenantKey[]>"
|
|
689
637
|
},
|
|
690
638
|
{
|
|
691
|
-
"name": "
|
|
639
|
+
"name": "listKeyVersions",
|
|
692
640
|
"async": true,
|
|
693
641
|
"params": [
|
|
694
|
-
"tenantId: string
|
|
695
|
-
"userId: string",
|
|
696
|
-
"limit?: number"
|
|
642
|
+
"tenantId: string"
|
|
697
643
|
],
|
|
698
|
-
"returns": "Promise<
|
|
644
|
+
"returns": "Promise<TenantKey[]>"
|
|
699
645
|
},
|
|
700
646
|
{
|
|
701
|
-
"name": "
|
|
647
|
+
"name": "markCompromised",
|
|
702
648
|
"async": true,
|
|
703
649
|
"params": [
|
|
704
|
-
"
|
|
650
|
+
"tenantId: string",
|
|
651
|
+
"keyId: string"
|
|
705
652
|
],
|
|
706
|
-
"returns": "Promise<
|
|
653
|
+
"returns": "Promise<boolean>"
|
|
707
654
|
}
|
|
708
655
|
],
|
|
709
656
|
"surfaces": [
|
|
710
657
|
{
|
|
711
658
|
"kind": "api",
|
|
712
|
-
"name": "
|
|
713
|
-
"operation": "
|
|
714
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
715
|
-
"path": "/
|
|
659
|
+
"name": "tenantkeys.getActiveKey",
|
|
660
|
+
"operation": "getActiveKey",
|
|
661
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
662
|
+
"path": "/tenantkeys/getActiveKey",
|
|
716
663
|
"method": "POST"
|
|
717
664
|
},
|
|
718
665
|
{
|
|
719
666
|
"kind": "api",
|
|
720
|
-
"name": "
|
|
721
|
-
"operation": "
|
|
722
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
723
|
-
"path": "/
|
|
667
|
+
"name": "tenantkeys.listKeyVersions",
|
|
668
|
+
"operation": "listKeyVersions",
|
|
669
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
670
|
+
"path": "/tenantkeys/listKeyVersions",
|
|
724
671
|
"method": "POST"
|
|
725
672
|
},
|
|
726
673
|
{
|
|
727
674
|
"kind": "api",
|
|
728
|
-
"name": "
|
|
729
|
-
"operation": "
|
|
730
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
731
|
-
"path": "/
|
|
675
|
+
"name": "tenantkeys.getKeyVersion",
|
|
676
|
+
"operation": "getKeyVersion",
|
|
677
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
678
|
+
"path": "/tenantkeys/getKeyVersion",
|
|
732
679
|
"method": "POST"
|
|
733
680
|
},
|
|
734
681
|
{
|
|
735
682
|
"kind": "api",
|
|
736
|
-
"name": "
|
|
737
|
-
"operation": "
|
|
738
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
739
|
-
"path": "/
|
|
683
|
+
"name": "tenantkeys.findKeysNeedingRotation",
|
|
684
|
+
"operation": "findKeysNeedingRotation",
|
|
685
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
686
|
+
"path": "/tenantkeys/findKeysNeedingRotation",
|
|
740
687
|
"method": "POST"
|
|
741
688
|
},
|
|
742
689
|
{
|
|
743
690
|
"kind": "api",
|
|
744
|
-
"name": "
|
|
745
|
-
"operation": "
|
|
746
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
747
|
-
"path": "/
|
|
691
|
+
"name": "tenantkeys.listAllActiveKeys",
|
|
692
|
+
"operation": "listAllActiveKeys",
|
|
693
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
694
|
+
"path": "/tenantkeys/listAllActiveKeys",
|
|
748
695
|
"method": "POST"
|
|
749
696
|
},
|
|
750
697
|
{
|
|
751
698
|
"kind": "api",
|
|
752
|
-
"name": "
|
|
753
|
-
"operation": "
|
|
754
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
755
|
-
"path": "/
|
|
699
|
+
"name": "tenantkeys.countByStatus",
|
|
700
|
+
"operation": "countByStatus",
|
|
701
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
702
|
+
"path": "/tenantkeys/countByStatus",
|
|
756
703
|
"method": "POST"
|
|
757
704
|
},
|
|
758
705
|
{
|
|
759
706
|
"kind": "api",
|
|
760
|
-
"name": "
|
|
761
|
-
"operation": "
|
|
762
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
763
|
-
"path": "/
|
|
707
|
+
"name": "tenantkeys.markCompromised",
|
|
708
|
+
"operation": "markCompromised",
|
|
709
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
710
|
+
"path": "/tenantkeys/markCompromised",
|
|
764
711
|
"method": "POST"
|
|
765
712
|
},
|
|
766
713
|
{
|
|
767
714
|
"kind": "api",
|
|
768
|
-
"name": "
|
|
769
|
-
"operation": "
|
|
770
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
771
|
-
"path": "/
|
|
715
|
+
"name": "tenantkeys.cleanupRetiredKeys",
|
|
716
|
+
"operation": "cleanupRetiredKeys",
|
|
717
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
718
|
+
"path": "/tenantkeys/cleanupRetiredKeys",
|
|
772
719
|
"method": "POST"
|
|
773
720
|
},
|
|
774
721
|
{
|
|
775
722
|
"kind": "cli",
|
|
776
|
-
"name": "
|
|
777
|
-
"operation": "
|
|
778
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
723
|
+
"name": "tenantkeycollection_getActiveKey",
|
|
724
|
+
"operation": "getActiveKey",
|
|
725
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
779
726
|
},
|
|
780
727
|
{
|
|
781
728
|
"kind": "cli",
|
|
782
|
-
"name": "
|
|
783
|
-
"operation": "
|
|
784
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
729
|
+
"name": "tenantkeycollection_listKeyVersions",
|
|
730
|
+
"operation": "listKeyVersions",
|
|
731
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
785
732
|
},
|
|
786
733
|
{
|
|
787
734
|
"kind": "cli",
|
|
788
|
-
"name": "
|
|
789
|
-
"operation": "
|
|
790
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
735
|
+
"name": "tenantkeycollection_getKeyVersion",
|
|
736
|
+
"operation": "getKeyVersion",
|
|
737
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
791
738
|
},
|
|
792
739
|
{
|
|
793
740
|
"kind": "cli",
|
|
794
|
-
"name": "
|
|
795
|
-
"operation": "
|
|
796
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
741
|
+
"name": "tenantkeycollection_findKeysNeedingRotation",
|
|
742
|
+
"operation": "findKeysNeedingRotation",
|
|
743
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
797
744
|
},
|
|
798
745
|
{
|
|
799
746
|
"kind": "cli",
|
|
800
|
-
"name": "
|
|
801
|
-
"operation": "
|
|
802
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
747
|
+
"name": "tenantkeycollection_listAllActiveKeys",
|
|
748
|
+
"operation": "listAllActiveKeys",
|
|
749
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
803
750
|
},
|
|
804
751
|
{
|
|
805
752
|
"kind": "cli",
|
|
806
|
-
"name": "
|
|
807
|
-
"operation": "
|
|
808
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
753
|
+
"name": "tenantkeycollection_countByStatus",
|
|
754
|
+
"operation": "countByStatus",
|
|
755
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
809
756
|
},
|
|
810
757
|
{
|
|
811
758
|
"kind": "cli",
|
|
812
|
-
"name": "
|
|
813
|
-
"operation": "
|
|
814
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
759
|
+
"name": "tenantkeycollection_markCompromised",
|
|
760
|
+
"operation": "markCompromised",
|
|
761
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
815
762
|
},
|
|
816
763
|
{
|
|
817
764
|
"kind": "cli",
|
|
818
|
-
"name": "
|
|
819
|
-
"operation": "
|
|
820
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
765
|
+
"name": "tenantkeycollection_cleanupRetiredKeys",
|
|
766
|
+
"operation": "cleanupRetiredKeys",
|
|
767
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
821
768
|
},
|
|
822
769
|
{
|
|
823
770
|
"kind": "mcp",
|
|
824
|
-
"name": "
|
|
825
|
-
"operation": "
|
|
826
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
771
|
+
"name": "tenantkeycollection_getactivekey",
|
|
772
|
+
"operation": "getActiveKey",
|
|
773
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
827
774
|
},
|
|
828
775
|
{
|
|
829
776
|
"kind": "mcp",
|
|
830
|
-
"name": "
|
|
831
|
-
"operation": "
|
|
832
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
777
|
+
"name": "tenantkeycollection_listkeyversions",
|
|
778
|
+
"operation": "listKeyVersions",
|
|
779
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
833
780
|
},
|
|
834
781
|
{
|
|
835
782
|
"kind": "mcp",
|
|
836
|
-
"name": "
|
|
837
|
-
"operation": "
|
|
838
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
783
|
+
"name": "tenantkeycollection_getkeyversion",
|
|
784
|
+
"operation": "getKeyVersion",
|
|
785
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
839
786
|
},
|
|
840
787
|
{
|
|
841
788
|
"kind": "mcp",
|
|
842
|
-
"name": "
|
|
843
|
-
"operation": "
|
|
844
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
789
|
+
"name": "tenantkeycollection_findkeysneedingrotation",
|
|
790
|
+
"operation": "findKeysNeedingRotation",
|
|
791
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
845
792
|
},
|
|
846
793
|
{
|
|
847
794
|
"kind": "mcp",
|
|
848
|
-
"name": "
|
|
849
|
-
"operation": "
|
|
850
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
795
|
+
"name": "tenantkeycollection_listallactivekeys",
|
|
796
|
+
"operation": "listAllActiveKeys",
|
|
797
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
851
798
|
},
|
|
852
799
|
{
|
|
853
800
|
"kind": "mcp",
|
|
854
|
-
"name": "
|
|
855
|
-
"operation": "
|
|
856
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
801
|
+
"name": "tenantkeycollection_countbystatus",
|
|
802
|
+
"operation": "countByStatus",
|
|
803
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
857
804
|
},
|
|
858
805
|
{
|
|
859
806
|
"kind": "mcp",
|
|
860
|
-
"name": "
|
|
861
|
-
"operation": "
|
|
862
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
807
|
+
"name": "tenantkeycollection_markcompromised",
|
|
808
|
+
"operation": "markCompromised",
|
|
809
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
863
810
|
},
|
|
864
811
|
{
|
|
865
812
|
"kind": "mcp",
|
|
866
|
-
"name": "
|
|
867
|
-
"operation": "
|
|
868
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
813
|
+
"name": "tenantkeycollection_cleanupretiredkeys",
|
|
814
|
+
"operation": "cleanupRetiredKeys",
|
|
815
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
816
|
+
}
|
|
817
|
+
],
|
|
818
|
+
"relationshipFeatures": [
|
|
819
|
+
"uuidColumns"
|
|
820
|
+
],
|
|
821
|
+
"tags": [],
|
|
822
|
+
"risks": []
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"name": "Secret",
|
|
826
|
+
"qualifiedName": "@happyvertical/smrt-secrets:Secret",
|
|
827
|
+
"collection": "secrets",
|
|
828
|
+
"tableName": "secrets",
|
|
829
|
+
"packageName": "@happyvertical/smrt-secrets",
|
|
830
|
+
"extends": "SmrtObject",
|
|
831
|
+
"fields": [
|
|
832
|
+
{
|
|
833
|
+
"name": "tenantId",
|
|
834
|
+
"type": "text",
|
|
835
|
+
"required": false,
|
|
836
|
+
"columnType": "UUID",
|
|
837
|
+
"default": ""
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"name": "name",
|
|
841
|
+
"type": "text",
|
|
842
|
+
"required": false,
|
|
843
|
+
"columnType": "TEXT",
|
|
844
|
+
"default": ""
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"name": "description",
|
|
848
|
+
"type": "text",
|
|
849
|
+
"required": false,
|
|
850
|
+
"columnType": "TEXT",
|
|
851
|
+
"default": ""
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"name": "category",
|
|
855
|
+
"type": "text",
|
|
856
|
+
"required": false,
|
|
857
|
+
"columnType": "TEXT",
|
|
858
|
+
"default": ""
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"name": "encryptedValue",
|
|
862
|
+
"type": "text",
|
|
863
|
+
"required": false,
|
|
864
|
+
"columnType": "TEXT",
|
|
865
|
+
"default": ""
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"name": "keyVersion",
|
|
869
|
+
"type": "integer",
|
|
870
|
+
"required": false,
|
|
871
|
+
"columnType": "INTEGER",
|
|
872
|
+
"default": 1
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"name": "status",
|
|
876
|
+
"type": "text",
|
|
877
|
+
"required": false,
|
|
878
|
+
"columnType": "TEXT",
|
|
879
|
+
"default": "active"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "expiresAt",
|
|
883
|
+
"type": "datetime",
|
|
884
|
+
"required": false,
|
|
885
|
+
"columnType": "TIMESTAMP"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"name": "lastAccessedAt",
|
|
889
|
+
"type": "datetime",
|
|
890
|
+
"required": false,
|
|
891
|
+
"columnType": "TIMESTAMP"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "accessCount",
|
|
895
|
+
"type": "integer",
|
|
896
|
+
"required": false,
|
|
897
|
+
"columnType": "INTEGER",
|
|
898
|
+
"default": 0
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"name": "metadata",
|
|
902
|
+
"type": "json",
|
|
903
|
+
"required": false,
|
|
904
|
+
"columnType": "JSON",
|
|
905
|
+
"default": {}
|
|
869
906
|
}
|
|
870
907
|
],
|
|
871
|
-
"relationshipFeatures": [
|
|
872
|
-
"uuidColumns"
|
|
873
|
-
],
|
|
874
|
-
"tags": [],
|
|
875
|
-
"risks": []
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
"name": "SecretCollection",
|
|
879
|
-
"qualifiedName": "@happyvertical/smrt-secrets:SecretCollection",
|
|
880
|
-
"collection": "secrets",
|
|
881
|
-
"tableName": "secrets",
|
|
882
|
-
"packageName": "@happyvertical/smrt-secrets",
|
|
883
|
-
"extends": "SmrtCollection",
|
|
884
|
-
"fields": [],
|
|
885
908
|
"relationships": [],
|
|
886
909
|
"methods": [
|
|
887
|
-
"
|
|
888
|
-
"
|
|
889
|
-
"
|
|
890
|
-
"
|
|
891
|
-
"
|
|
892
|
-
"
|
|
893
|
-
"listExpiring",
|
|
894
|
-
"listSecrets"
|
|
910
|
+
"disable",
|
|
911
|
+
"enable",
|
|
912
|
+
"isActive",
|
|
913
|
+
"isExpired",
|
|
914
|
+
"isUsable",
|
|
915
|
+
"recordAccess"
|
|
895
916
|
],
|
|
896
917
|
"methodSignatures": [
|
|
897
918
|
{
|
|
898
|
-
"name": "
|
|
899
|
-
"
|
|
900
|
-
"params": [
|
|
901
|
-
"tenantId: string"
|
|
902
|
-
],
|
|
903
|
-
"returns": "Promise<Record<SecretStatus, number>>"
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
"name": "deleteByName",
|
|
907
|
-
"async": true,
|
|
908
|
-
"params": [
|
|
909
|
-
"tenantId: string",
|
|
910
|
-
"name: string"
|
|
911
|
-
],
|
|
912
|
-
"returns": "Promise<boolean>"
|
|
913
|
-
},
|
|
914
|
-
{
|
|
915
|
-
"name": "findByName",
|
|
916
|
-
"async": true,
|
|
917
|
-
"params": [
|
|
918
|
-
"tenantId: string",
|
|
919
|
-
"name: string"
|
|
920
|
-
],
|
|
921
|
-
"returns": "Promise<Secret | null>"
|
|
919
|
+
"name": "disable",
|
|
920
|
+
"returns": "void"
|
|
922
921
|
},
|
|
923
922
|
{
|
|
924
|
-
"name": "
|
|
925
|
-
"
|
|
926
|
-
"params": [
|
|
927
|
-
"tenantId: string"
|
|
928
|
-
],
|
|
929
|
-
"returns": "Promise<string[]>"
|
|
923
|
+
"name": "enable",
|
|
924
|
+
"returns": "void"
|
|
930
925
|
},
|
|
931
926
|
{
|
|
932
|
-
"name": "
|
|
933
|
-
"
|
|
934
|
-
"params": [
|
|
935
|
-
"tenantId: string"
|
|
936
|
-
],
|
|
937
|
-
"returns": "Promise<Secret[]>"
|
|
927
|
+
"name": "isActive",
|
|
928
|
+
"returns": "boolean"
|
|
938
929
|
},
|
|
939
930
|
{
|
|
940
|
-
"name": "
|
|
941
|
-
"
|
|
942
|
-
"params": [
|
|
943
|
-
"tenantId: string",
|
|
944
|
-
"category: string"
|
|
945
|
-
],
|
|
946
|
-
"returns": "Promise<Secret[]>"
|
|
931
|
+
"name": "isExpired",
|
|
932
|
+
"returns": "boolean"
|
|
947
933
|
},
|
|
948
934
|
{
|
|
949
|
-
"name": "
|
|
950
|
-
"
|
|
951
|
-
"params": [
|
|
952
|
-
"tenantId: string",
|
|
953
|
-
"daysAhead?: number"
|
|
954
|
-
],
|
|
955
|
-
"returns": "Promise<Secret[]>"
|
|
935
|
+
"name": "isUsable",
|
|
936
|
+
"returns": "boolean"
|
|
956
937
|
},
|
|
957
938
|
{
|
|
958
|
-
"name": "
|
|
959
|
-
"
|
|
960
|
-
"params": [
|
|
961
|
-
"tenantId: string",
|
|
962
|
-
"options?: ListSecretsOptions"
|
|
963
|
-
],
|
|
964
|
-
"returns": "Promise<Secret[]>"
|
|
939
|
+
"name": "recordAccess",
|
|
940
|
+
"returns": "void"
|
|
965
941
|
}
|
|
966
942
|
],
|
|
943
|
+
"tenant": {
|
|
944
|
+
"scoped": true,
|
|
945
|
+
"mode": "required",
|
|
946
|
+
"field": "tenantId"
|
|
947
|
+
},
|
|
948
|
+
"conflictColumns": [
|
|
949
|
+
"tenant_id",
|
|
950
|
+
"slug",
|
|
951
|
+
"context"
|
|
952
|
+
],
|
|
967
953
|
"surfaces": [
|
|
954
|
+
{
|
|
955
|
+
"kind": "cli",
|
|
956
|
+
"name": "secret_list",
|
|
957
|
+
"operation": "list",
|
|
958
|
+
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
959
|
+
}
|
|
960
|
+
],
|
|
961
|
+
"withheldSurfaces": [
|
|
968
962
|
{
|
|
969
963
|
"kind": "api",
|
|
970
|
-
"
|
|
971
|
-
"
|
|
972
|
-
"
|
|
973
|
-
"
|
|
974
|
-
"method": "POST"
|
|
964
|
+
"operation": "disable",
|
|
965
|
+
"code": "not-included",
|
|
966
|
+
"reason": "not listed in api.include",
|
|
967
|
+
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
975
968
|
},
|
|
976
969
|
{
|
|
977
970
|
"kind": "api",
|
|
978
|
-
"
|
|
979
|
-
"
|
|
980
|
-
"
|
|
981
|
-
"
|
|
982
|
-
"method": "POST"
|
|
971
|
+
"operation": "enable",
|
|
972
|
+
"code": "not-included",
|
|
973
|
+
"reason": "not listed in api.include",
|
|
974
|
+
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
983
975
|
},
|
|
984
976
|
{
|
|
985
977
|
"kind": "api",
|
|
986
|
-
"
|
|
987
|
-
"
|
|
988
|
-
"
|
|
989
|
-
"
|
|
990
|
-
"method": "POST"
|
|
978
|
+
"operation": "isActive",
|
|
979
|
+
"code": "not-included",
|
|
980
|
+
"reason": "not listed in api.include",
|
|
981
|
+
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
991
982
|
},
|
|
992
983
|
{
|
|
993
984
|
"kind": "api",
|
|
994
|
-
"
|
|
995
|
-
"
|
|
996
|
-
"
|
|
997
|
-
"
|
|
998
|
-
"method": "POST"
|
|
985
|
+
"operation": "isExpired",
|
|
986
|
+
"code": "not-included",
|
|
987
|
+
"reason": "not listed in api.include",
|
|
988
|
+
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
999
989
|
},
|
|
1000
990
|
{
|
|
1001
991
|
"kind": "api",
|
|
1002
|
-
"
|
|
1003
|
-
"
|
|
1004
|
-
"
|
|
1005
|
-
"
|
|
1006
|
-
"method": "POST"
|
|
992
|
+
"operation": "isUsable",
|
|
993
|
+
"code": "not-included",
|
|
994
|
+
"reason": "not listed in api.include",
|
|
995
|
+
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
1007
996
|
},
|
|
1008
997
|
{
|
|
1009
998
|
"kind": "api",
|
|
1010
|
-
"
|
|
1011
|
-
"
|
|
1012
|
-
"
|
|
1013
|
-
"
|
|
1014
|
-
|
|
999
|
+
"operation": "recordAccess",
|
|
1000
|
+
"code": "not-included",
|
|
1001
|
+
"reason": "not listed in api.include",
|
|
1002
|
+
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
1003
|
+
}
|
|
1004
|
+
],
|
|
1005
|
+
"relationshipFeatures": [
|
|
1006
|
+
"uuidColumns"
|
|
1007
|
+
],
|
|
1008
|
+
"tags": [],
|
|
1009
|
+
"risks": []
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"name": "SecretAuditLog",
|
|
1013
|
+
"qualifiedName": "@happyvertical/smrt-secrets:SecretAuditLog",
|
|
1014
|
+
"collection": "secretauditlogs",
|
|
1015
|
+
"tableName": "secret_audit_logs",
|
|
1016
|
+
"packageName": "@happyvertical/smrt-secrets",
|
|
1017
|
+
"extends": "SmrtObject",
|
|
1018
|
+
"fields": [
|
|
1019
|
+
{
|
|
1020
|
+
"name": "tenantId",
|
|
1021
|
+
"type": "text",
|
|
1022
|
+
"required": false,
|
|
1023
|
+
"columnType": "UUID"
|
|
1015
1024
|
},
|
|
1016
1025
|
{
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1019
|
-
"
|
|
1020
|
-
"
|
|
1021
|
-
"
|
|
1022
|
-
"method": "POST"
|
|
1026
|
+
"name": "secretId",
|
|
1027
|
+
"type": "foreignKey",
|
|
1028
|
+
"required": false,
|
|
1029
|
+
"related": "Secret",
|
|
1030
|
+
"columnType": "UUID"
|
|
1023
1031
|
},
|
|
1024
1032
|
{
|
|
1025
|
-
"
|
|
1026
|
-
"
|
|
1027
|
-
"
|
|
1028
|
-
"
|
|
1029
|
-
"
|
|
1030
|
-
"method": "POST"
|
|
1033
|
+
"name": "secretName",
|
|
1034
|
+
"type": "text",
|
|
1035
|
+
"required": false,
|
|
1036
|
+
"columnType": "TEXT",
|
|
1037
|
+
"default": ""
|
|
1031
1038
|
},
|
|
1032
1039
|
{
|
|
1033
|
-
"
|
|
1034
|
-
"
|
|
1035
|
-
"
|
|
1036
|
-
"
|
|
1040
|
+
"name": "userId",
|
|
1041
|
+
"type": "crossPackageRef",
|
|
1042
|
+
"required": false,
|
|
1043
|
+
"related": "@happyvertical/smrt-users:User",
|
|
1044
|
+
"columnType": "UUID"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"name": "action",
|
|
1048
|
+
"type": "text",
|
|
1049
|
+
"required": false,
|
|
1050
|
+
"columnType": "TEXT",
|
|
1051
|
+
"default": "read"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"name": "result",
|
|
1055
|
+
"type": "text",
|
|
1056
|
+
"required": false,
|
|
1057
|
+
"columnType": "TEXT",
|
|
1058
|
+
"default": "success"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"name": "ipAddress",
|
|
1062
|
+
"type": "text",
|
|
1063
|
+
"required": false,
|
|
1064
|
+
"columnType": "TEXT",
|
|
1065
|
+
"default": ""
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "userAgent",
|
|
1069
|
+
"type": "text",
|
|
1070
|
+
"required": false,
|
|
1071
|
+
"columnType": "TEXT",
|
|
1072
|
+
"default": ""
|
|
1037
1073
|
},
|
|
1038
1074
|
{
|
|
1039
|
-
"
|
|
1040
|
-
"
|
|
1041
|
-
"
|
|
1042
|
-
"
|
|
1043
|
-
|
|
1075
|
+
"name": "details",
|
|
1076
|
+
"type": "json",
|
|
1077
|
+
"required": false,
|
|
1078
|
+
"columnType": "JSON",
|
|
1079
|
+
"default": {}
|
|
1080
|
+
}
|
|
1081
|
+
],
|
|
1082
|
+
"relationships": [
|
|
1044
1083
|
{
|
|
1045
|
-
"
|
|
1046
|
-
"
|
|
1047
|
-
"
|
|
1048
|
-
"
|
|
1084
|
+
"name": "secretId",
|
|
1085
|
+
"type": "foreignKey",
|
|
1086
|
+
"required": false,
|
|
1087
|
+
"related": "Secret",
|
|
1088
|
+
"columnType": "UUID"
|
|
1049
1089
|
},
|
|
1050
1090
|
{
|
|
1051
|
-
"
|
|
1052
|
-
"
|
|
1053
|
-
"
|
|
1054
|
-
"
|
|
1055
|
-
|
|
1091
|
+
"name": "userId",
|
|
1092
|
+
"type": "crossPackageRef",
|
|
1093
|
+
"required": false,
|
|
1094
|
+
"related": "@happyvertical/smrt-users:User",
|
|
1095
|
+
"columnType": "UUID"
|
|
1096
|
+
}
|
|
1097
|
+
],
|
|
1098
|
+
"methods": [
|
|
1099
|
+
"isDenied",
|
|
1100
|
+
"isFailure",
|
|
1101
|
+
"isKeyOperation",
|
|
1102
|
+
"isReadAction",
|
|
1103
|
+
"isSuccess",
|
|
1104
|
+
"isWriteAction"
|
|
1105
|
+
],
|
|
1106
|
+
"methodSignatures": [
|
|
1056
1107
|
{
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1059
|
-
"operation": "listExpiring",
|
|
1060
|
-
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
1108
|
+
"name": "isDenied",
|
|
1109
|
+
"returns": "boolean"
|
|
1061
1110
|
},
|
|
1062
1111
|
{
|
|
1063
|
-
"
|
|
1064
|
-
"
|
|
1065
|
-
"operation": "getCategories",
|
|
1066
|
-
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
1112
|
+
"name": "isFailure",
|
|
1113
|
+
"returns": "boolean"
|
|
1067
1114
|
},
|
|
1068
1115
|
{
|
|
1069
|
-
"
|
|
1070
|
-
"
|
|
1071
|
-
"operation": "countByStatus",
|
|
1072
|
-
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
1116
|
+
"name": "isKeyOperation",
|
|
1117
|
+
"returns": "boolean"
|
|
1073
1118
|
},
|
|
1074
1119
|
{
|
|
1075
|
-
"
|
|
1076
|
-
"
|
|
1077
|
-
"operation": "deleteByName",
|
|
1078
|
-
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
1120
|
+
"name": "isReadAction",
|
|
1121
|
+
"returns": "boolean"
|
|
1079
1122
|
},
|
|
1080
1123
|
{
|
|
1081
|
-
"
|
|
1082
|
-
"
|
|
1083
|
-
"operation": "findByName",
|
|
1084
|
-
"objectName": "@happyvertical/smrt-secrets:SecretCollection"
|
|
1124
|
+
"name": "isSuccess",
|
|
1125
|
+
"returns": "boolean"
|
|
1085
1126
|
},
|
|
1086
1127
|
{
|
|
1087
|
-
"
|
|
1088
|
-
"
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1128
|
+
"name": "isWriteAction",
|
|
1129
|
+
"returns": "boolean"
|
|
1130
|
+
}
|
|
1131
|
+
],
|
|
1132
|
+
"tenant": {
|
|
1133
|
+
"scoped": true,
|
|
1134
|
+
"mode": "required",
|
|
1135
|
+
"field": "tenantId"
|
|
1136
|
+
},
|
|
1137
|
+
"conflictColumns": [
|
|
1138
|
+
"tenant_id",
|
|
1139
|
+
"slug",
|
|
1140
|
+
"context"
|
|
1141
|
+
],
|
|
1142
|
+
"surfaces": [
|
|
1092
1143
|
{
|
|
1093
|
-
"kind": "
|
|
1094
|
-
"name": "
|
|
1095
|
-
"operation": "
|
|
1096
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
1144
|
+
"kind": "cli",
|
|
1145
|
+
"name": "secretauditlog_list",
|
|
1146
|
+
"operation": "list",
|
|
1147
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLog"
|
|
1148
|
+
}
|
|
1149
|
+
],
|
|
1150
|
+
"withheldSurfaces": [
|
|
1151
|
+
{
|
|
1152
|
+
"kind": "api",
|
|
1153
|
+
"operation": "isDenied",
|
|
1154
|
+
"code": "not-included",
|
|
1155
|
+
"reason": "not listed in api.include",
|
|
1156
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLog"
|
|
1097
1157
|
},
|
|
1098
1158
|
{
|
|
1099
|
-
"kind": "
|
|
1100
|
-
"
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
1159
|
+
"kind": "api",
|
|
1160
|
+
"operation": "isFailure",
|
|
1161
|
+
"code": "not-included",
|
|
1162
|
+
"reason": "not listed in api.include",
|
|
1163
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLog"
|
|
1103
1164
|
},
|
|
1104
1165
|
{
|
|
1105
|
-
"kind": "
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1108
|
-
"
|
|
1166
|
+
"kind": "api",
|
|
1167
|
+
"operation": "isKeyOperation",
|
|
1168
|
+
"code": "not-included",
|
|
1169
|
+
"reason": "not listed in api.include",
|
|
1170
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLog"
|
|
1109
1171
|
},
|
|
1110
1172
|
{
|
|
1111
|
-
"kind": "
|
|
1112
|
-
"
|
|
1113
|
-
"
|
|
1114
|
-
"
|
|
1173
|
+
"kind": "api",
|
|
1174
|
+
"operation": "isReadAction",
|
|
1175
|
+
"code": "not-included",
|
|
1176
|
+
"reason": "not listed in api.include",
|
|
1177
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLog"
|
|
1115
1178
|
},
|
|
1116
1179
|
{
|
|
1117
|
-
"kind": "
|
|
1118
|
-
"
|
|
1119
|
-
"
|
|
1120
|
-
"
|
|
1180
|
+
"kind": "api",
|
|
1181
|
+
"operation": "isSuccess",
|
|
1182
|
+
"code": "not-included",
|
|
1183
|
+
"reason": "not listed in api.include",
|
|
1184
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLog"
|
|
1121
1185
|
},
|
|
1122
1186
|
{
|
|
1123
|
-
"kind": "
|
|
1124
|
-
"
|
|
1125
|
-
"
|
|
1126
|
-
"
|
|
1187
|
+
"kind": "api",
|
|
1188
|
+
"operation": "isWriteAction",
|
|
1189
|
+
"code": "not-included",
|
|
1190
|
+
"reason": "not listed in api.include",
|
|
1191
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLog"
|
|
1127
1192
|
}
|
|
1128
1193
|
],
|
|
1129
1194
|
"relationshipFeatures": [
|
|
1195
|
+
"crossPackageRef",
|
|
1196
|
+
"foreignKey",
|
|
1130
1197
|
"uuidColumns"
|
|
1131
1198
|
],
|
|
1132
1199
|
"tags": [],
|
|
1133
1200
|
"risks": []
|
|
1134
1201
|
},
|
|
1135
1202
|
{
|
|
1136
|
-
"name": "
|
|
1137
|
-
"qualifiedName": "@happyvertical/smrt-secrets:
|
|
1203
|
+
"name": "TenantKey",
|
|
1204
|
+
"qualifiedName": "@happyvertical/smrt-secrets:TenantKey",
|
|
1138
1205
|
"collection": "tenantkeys",
|
|
1139
1206
|
"tableName": "tenant_keys",
|
|
1140
1207
|
"packageName": "@happyvertical/smrt-secrets",
|
|
1141
|
-
"extends": "
|
|
1142
|
-
"fields": [
|
|
1143
|
-
"relationships": [],
|
|
1144
|
-
"methods": [
|
|
1145
|
-
"cleanupRetiredKeys",
|
|
1146
|
-
"countByStatus",
|
|
1147
|
-
"findKeysNeedingRotation",
|
|
1148
|
-
"getActiveKey",
|
|
1149
|
-
"getKeyVersion",
|
|
1150
|
-
"listAllActiveKeys",
|
|
1151
|
-
"listKeyVersions",
|
|
1152
|
-
"markCompromised"
|
|
1153
|
-
],
|
|
1154
|
-
"methodSignatures": [
|
|
1155
|
-
{
|
|
1156
|
-
"name": "cleanupRetiredKeys",
|
|
1157
|
-
"async": true,
|
|
1158
|
-
"params": [
|
|
1159
|
-
"olderThanDays?: number"
|
|
1160
|
-
],
|
|
1161
|
-
"returns": "Promise<number>"
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"name": "countByStatus",
|
|
1165
|
-
"async": true,
|
|
1166
|
-
"returns": "Promise<Record<TenantKeyStatus, number>>"
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
"name": "findKeysNeedingRotation",
|
|
1170
|
-
"async": true,
|
|
1171
|
-
"returns": "Promise<TenantKey[]>"
|
|
1172
|
-
},
|
|
1173
|
-
{
|
|
1174
|
-
"name": "getActiveKey",
|
|
1175
|
-
"async": true,
|
|
1176
|
-
"params": [
|
|
1177
|
-
"tenantId: string"
|
|
1178
|
-
],
|
|
1179
|
-
"returns": "Promise<TenantKey | null>"
|
|
1180
|
-
},
|
|
1181
|
-
{
|
|
1182
|
-
"name": "getKeyVersion",
|
|
1183
|
-
"async": true,
|
|
1184
|
-
"params": [
|
|
1185
|
-
"tenantId: string",
|
|
1186
|
-
"version: number"
|
|
1187
|
-
],
|
|
1188
|
-
"returns": "Promise<TenantKey | null>"
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
"name": "listAllActiveKeys",
|
|
1192
|
-
"async": true,
|
|
1193
|
-
"returns": "Promise<TenantKey[]>"
|
|
1194
|
-
},
|
|
1195
|
-
{
|
|
1196
|
-
"name": "listKeyVersions",
|
|
1197
|
-
"async": true,
|
|
1198
|
-
"params": [
|
|
1199
|
-
"tenantId: string"
|
|
1200
|
-
],
|
|
1201
|
-
"returns": "Promise<TenantKey[]>"
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
"name": "markCompromised",
|
|
1205
|
-
"async": true,
|
|
1206
|
-
"params": [
|
|
1207
|
-
"tenantId: string",
|
|
1208
|
-
"keyId: string"
|
|
1209
|
-
],
|
|
1210
|
-
"returns": "Promise<boolean>"
|
|
1211
|
-
}
|
|
1212
|
-
],
|
|
1213
|
-
"surfaces": [
|
|
1208
|
+
"extends": "SmrtObject",
|
|
1209
|
+
"fields": [
|
|
1214
1210
|
{
|
|
1215
|
-
"
|
|
1216
|
-
"
|
|
1217
|
-
"
|
|
1218
|
-
"
|
|
1219
|
-
"
|
|
1220
|
-
"method": "POST"
|
|
1211
|
+
"name": "tenantId",
|
|
1212
|
+
"type": "text",
|
|
1213
|
+
"required": false,
|
|
1214
|
+
"columnType": "TEXT",
|
|
1215
|
+
"default": ""
|
|
1221
1216
|
},
|
|
1222
1217
|
{
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
1225
|
-
"
|
|
1226
|
-
"
|
|
1227
|
-
"
|
|
1228
|
-
"method": "POST"
|
|
1218
|
+
"name": "wrappedKey",
|
|
1219
|
+
"type": "text",
|
|
1220
|
+
"required": false,
|
|
1221
|
+
"columnType": "TEXT",
|
|
1222
|
+
"default": ""
|
|
1229
1223
|
},
|
|
1230
1224
|
{
|
|
1231
|
-
"
|
|
1232
|
-
"
|
|
1233
|
-
"
|
|
1234
|
-
"
|
|
1235
|
-
"
|
|
1236
|
-
"method": "POST"
|
|
1225
|
+
"name": "amkKeyId",
|
|
1226
|
+
"type": "text",
|
|
1227
|
+
"required": false,
|
|
1228
|
+
"columnType": "TEXT",
|
|
1229
|
+
"default": ""
|
|
1237
1230
|
},
|
|
1238
1231
|
{
|
|
1239
|
-
"
|
|
1240
|
-
"
|
|
1241
|
-
"
|
|
1242
|
-
"
|
|
1243
|
-
"
|
|
1244
|
-
"method": "POST"
|
|
1232
|
+
"name": "status",
|
|
1233
|
+
"type": "text",
|
|
1234
|
+
"required": false,
|
|
1235
|
+
"columnType": "TEXT",
|
|
1236
|
+
"default": "active"
|
|
1245
1237
|
},
|
|
1246
1238
|
{
|
|
1247
|
-
"
|
|
1248
|
-
"
|
|
1249
|
-
"
|
|
1250
|
-
"
|
|
1251
|
-
"
|
|
1252
|
-
"method": "POST"
|
|
1239
|
+
"name": "version",
|
|
1240
|
+
"type": "integer",
|
|
1241
|
+
"required": false,
|
|
1242
|
+
"columnType": "INTEGER",
|
|
1243
|
+
"default": 1
|
|
1253
1244
|
},
|
|
1254
1245
|
{
|
|
1255
|
-
"
|
|
1256
|
-
"
|
|
1257
|
-
"
|
|
1258
|
-
"
|
|
1259
|
-
"path": "/tenantkeys/countByStatus",
|
|
1260
|
-
"method": "POST"
|
|
1246
|
+
"name": "rotateAfter",
|
|
1247
|
+
"type": "datetime",
|
|
1248
|
+
"required": false,
|
|
1249
|
+
"columnType": "TIMESTAMP"
|
|
1261
1250
|
},
|
|
1262
1251
|
{
|
|
1263
|
-
"
|
|
1264
|
-
"
|
|
1265
|
-
"
|
|
1266
|
-
"
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1252
|
+
"name": "retiredAt",
|
|
1253
|
+
"type": "datetime",
|
|
1254
|
+
"required": false,
|
|
1255
|
+
"columnType": "TIMESTAMP"
|
|
1256
|
+
}
|
|
1257
|
+
],
|
|
1258
|
+
"relationships": [],
|
|
1259
|
+
"methods": [
|
|
1260
|
+
"canDecrypt",
|
|
1261
|
+
"canEncrypt",
|
|
1262
|
+
"isActive",
|
|
1263
|
+
"isCompromised",
|
|
1264
|
+
"isRetired",
|
|
1265
|
+
"markCompromised",
|
|
1266
|
+
"needsRotation",
|
|
1267
|
+
"retire"
|
|
1268
|
+
],
|
|
1269
|
+
"methodSignatures": [
|
|
1270
1270
|
{
|
|
1271
|
-
"
|
|
1272
|
-
"
|
|
1273
|
-
"operation": "cleanupRetiredKeys",
|
|
1274
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection",
|
|
1275
|
-
"path": "/tenantkeys/cleanupRetiredKeys",
|
|
1276
|
-
"method": "POST"
|
|
1271
|
+
"name": "canDecrypt",
|
|
1272
|
+
"returns": "boolean"
|
|
1277
1273
|
},
|
|
1278
1274
|
{
|
|
1279
|
-
"
|
|
1280
|
-
"
|
|
1281
|
-
"operation": "getActiveKey",
|
|
1282
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
1275
|
+
"name": "canEncrypt",
|
|
1276
|
+
"returns": "boolean"
|
|
1283
1277
|
},
|
|
1284
1278
|
{
|
|
1285
|
-
"
|
|
1286
|
-
"
|
|
1287
|
-
"operation": "listKeyVersions",
|
|
1288
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
1279
|
+
"name": "isActive",
|
|
1280
|
+
"returns": "boolean"
|
|
1289
1281
|
},
|
|
1290
1282
|
{
|
|
1291
|
-
"
|
|
1292
|
-
"
|
|
1293
|
-
"operation": "getKeyVersion",
|
|
1294
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
1283
|
+
"name": "isCompromised",
|
|
1284
|
+
"returns": "boolean"
|
|
1295
1285
|
},
|
|
1296
1286
|
{
|
|
1297
|
-
"
|
|
1298
|
-
"
|
|
1299
|
-
"operation": "findKeysNeedingRotation",
|
|
1300
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
1287
|
+
"name": "isRetired",
|
|
1288
|
+
"returns": "boolean"
|
|
1301
1289
|
},
|
|
1302
1290
|
{
|
|
1303
|
-
"
|
|
1304
|
-
"
|
|
1305
|
-
"operation": "listAllActiveKeys",
|
|
1306
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
1291
|
+
"name": "markCompromised",
|
|
1292
|
+
"returns": "void"
|
|
1307
1293
|
},
|
|
1308
1294
|
{
|
|
1309
|
-
"
|
|
1310
|
-
"
|
|
1311
|
-
"operation": "countByStatus",
|
|
1312
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
1295
|
+
"name": "needsRotation",
|
|
1296
|
+
"returns": "boolean"
|
|
1313
1297
|
},
|
|
1298
|
+
{
|
|
1299
|
+
"name": "retire",
|
|
1300
|
+
"returns": "void"
|
|
1301
|
+
}
|
|
1302
|
+
],
|
|
1303
|
+
"surfaces": [
|
|
1314
1304
|
{
|
|
1315
1305
|
"kind": "cli",
|
|
1316
|
-
"name": "
|
|
1317
|
-
"operation": "
|
|
1318
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
1306
|
+
"name": "tenantkey_list",
|
|
1307
|
+
"operation": "list",
|
|
1308
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1319
1309
|
},
|
|
1320
1310
|
{
|
|
1321
1311
|
"kind": "cli",
|
|
1322
|
-
"name": "
|
|
1323
|
-
"operation": "
|
|
1324
|
-
"objectName": "@happyvertical/smrt-secrets:
|
|
1325
|
-
}
|
|
1312
|
+
"name": "tenantkey_get",
|
|
1313
|
+
"operation": "get",
|
|
1314
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1315
|
+
}
|
|
1316
|
+
],
|
|
1317
|
+
"withheldSurfaces": [
|
|
1326
1318
|
{
|
|
1327
|
-
"kind": "
|
|
1328
|
-
"
|
|
1329
|
-
"
|
|
1330
|
-
"
|
|
1319
|
+
"kind": "api",
|
|
1320
|
+
"operation": "canDecrypt",
|
|
1321
|
+
"code": "not-included",
|
|
1322
|
+
"reason": "not listed in api.include",
|
|
1323
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1331
1324
|
},
|
|
1332
1325
|
{
|
|
1333
|
-
"kind": "
|
|
1334
|
-
"
|
|
1335
|
-
"
|
|
1336
|
-
"
|
|
1326
|
+
"kind": "api",
|
|
1327
|
+
"operation": "canEncrypt",
|
|
1328
|
+
"code": "not-included",
|
|
1329
|
+
"reason": "not listed in api.include",
|
|
1330
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1337
1331
|
},
|
|
1338
1332
|
{
|
|
1339
|
-
"kind": "
|
|
1340
|
-
"
|
|
1341
|
-
"
|
|
1342
|
-
"
|
|
1333
|
+
"kind": "api",
|
|
1334
|
+
"operation": "isActive",
|
|
1335
|
+
"code": "not-included",
|
|
1336
|
+
"reason": "not listed in api.include",
|
|
1337
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1343
1338
|
},
|
|
1344
1339
|
{
|
|
1345
|
-
"kind": "
|
|
1346
|
-
"
|
|
1347
|
-
"
|
|
1348
|
-
"
|
|
1340
|
+
"kind": "api",
|
|
1341
|
+
"operation": "isCompromised",
|
|
1342
|
+
"code": "not-included",
|
|
1343
|
+
"reason": "not listed in api.include",
|
|
1344
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1349
1345
|
},
|
|
1350
1346
|
{
|
|
1351
|
-
"kind": "
|
|
1352
|
-
"
|
|
1353
|
-
"
|
|
1354
|
-
"
|
|
1347
|
+
"kind": "api",
|
|
1348
|
+
"operation": "isRetired",
|
|
1349
|
+
"code": "not-included",
|
|
1350
|
+
"reason": "not listed in api.include",
|
|
1351
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1355
1352
|
},
|
|
1356
1353
|
{
|
|
1357
|
-
"kind": "
|
|
1358
|
-
"
|
|
1359
|
-
"
|
|
1360
|
-
"
|
|
1354
|
+
"kind": "api",
|
|
1355
|
+
"operation": "markCompromised",
|
|
1356
|
+
"code": "not-included",
|
|
1357
|
+
"reason": "not listed in api.include",
|
|
1358
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1361
1359
|
},
|
|
1362
1360
|
{
|
|
1363
|
-
"kind": "
|
|
1364
|
-
"
|
|
1365
|
-
"
|
|
1366
|
-
"
|
|
1361
|
+
"kind": "api",
|
|
1362
|
+
"operation": "needsRotation",
|
|
1363
|
+
"code": "not-included",
|
|
1364
|
+
"reason": "not listed in api.include",
|
|
1365
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1367
1366
|
},
|
|
1368
1367
|
{
|
|
1369
|
-
"kind": "
|
|
1370
|
-
"
|
|
1371
|
-
"
|
|
1372
|
-
"
|
|
1368
|
+
"kind": "api",
|
|
1369
|
+
"operation": "retire",
|
|
1370
|
+
"code": "not-included",
|
|
1371
|
+
"reason": "not listed in api.include",
|
|
1372
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1373
1373
|
}
|
|
1374
1374
|
],
|
|
1375
1375
|
"relationshipFeatures": [
|
|
@@ -1380,30 +1380,6 @@
|
|
|
1380
1380
|
}
|
|
1381
1381
|
],
|
|
1382
1382
|
"surfaces": [
|
|
1383
|
-
{
|
|
1384
|
-
"kind": "cli",
|
|
1385
|
-
"name": "secret_list",
|
|
1386
|
-
"operation": "list",
|
|
1387
|
-
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
"kind": "cli",
|
|
1391
|
-
"name": "secretauditlog_list",
|
|
1392
|
-
"operation": "list",
|
|
1393
|
-
"objectName": "@happyvertical/smrt-secrets:SecretAuditLog"
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
"kind": "cli",
|
|
1397
|
-
"name": "tenantkey_list",
|
|
1398
|
-
"operation": "list",
|
|
1399
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1400
|
-
},
|
|
1401
|
-
{
|
|
1402
|
-
"kind": "cli",
|
|
1403
|
-
"name": "tenantkey_get",
|
|
1404
|
-
"operation": "get",
|
|
1405
|
-
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1406
|
-
},
|
|
1407
1383
|
{
|
|
1408
1384
|
"kind": "api",
|
|
1409
1385
|
"name": "secretauditlogs.listLogs",
|
|
@@ -1883,6 +1859,30 @@
|
|
|
1883
1859
|
"name": "tenantkeycollection_cleanupretiredkeys",
|
|
1884
1860
|
"operation": "cleanupRetiredKeys",
|
|
1885
1861
|
"objectName": "@happyvertical/smrt-secrets:TenantKeyCollection"
|
|
1862
|
+
},
|
|
1863
|
+
{
|
|
1864
|
+
"kind": "cli",
|
|
1865
|
+
"name": "secret_list",
|
|
1866
|
+
"operation": "list",
|
|
1867
|
+
"objectName": "@happyvertical/smrt-secrets:Secret"
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"kind": "cli",
|
|
1871
|
+
"name": "secretauditlog_list",
|
|
1872
|
+
"operation": "list",
|
|
1873
|
+
"objectName": "@happyvertical/smrt-secrets:SecretAuditLog"
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"kind": "cli",
|
|
1877
|
+
"name": "tenantkey_list",
|
|
1878
|
+
"operation": "list",
|
|
1879
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"kind": "cli",
|
|
1883
|
+
"name": "tenantkey_get",
|
|
1884
|
+
"operation": "get",
|
|
1885
|
+
"objectName": "@happyvertical/smrt-secrets:TenantKey"
|
|
1886
1886
|
}
|
|
1887
1887
|
],
|
|
1888
1888
|
"prompts": [],
|