@zitadel/api 0.1.0 → 0.2.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/{fetch-DD3lSbnp.d.mts → fetch-CtYe0OvX.d.mts} +8 -2
- package/dist/fetch-CtYe0OvX.d.mts.map +1 -0
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +228 -42
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +15 -4
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +3156 -1476
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +1282 -94
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +1785 -641
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/model/index.mjs +72 -65
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/generated/operations.mjs +181 -29
- package/dist/generated/operations.mjs.map +1 -1
- package/dist/{index-DuuFQkA8.d.mts → index-D7-l5LV6.d.mts} +6051 -1072
- package/dist/index-D7-l5LV6.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/runtime/fetch.d.mts +1 -1
- package/dist/runtime/fetch.mjs +9 -2
- package/dist/runtime/fetch.mjs.map +1 -1
- package/dist/{zitadelNextGen-BdUDEEuX.d.mts → zitadelNextGen-Cw3DrCn1.d.mts} +135 -37
- package/dist/zitadelNextGen-Cw3DrCn1.d.mts.map +1 -0
- package/package.json +2 -2
- package/src/generated/endpoints/zitadelNextGen.faker.ts +37 -19
- package/src/generated/endpoints/zitadelNextGen.msw.ts +91 -13
- package/src/generated/endpoints/zitadelNextGen.ts +322 -52
- package/src/generated/endpoints/zitadelNextGen.zod.ts +1072 -123
- package/src/generated/model/addOriginDefault.ts +27 -0
- package/src/generated/model/beginUserPasskeyRegistrationDefault.ts +18 -0
- package/src/generated/model/buildRelease200PointersItem.ts +2 -0
- package/src/generated/model/buildRelease200PointersItemKind.ts +1 -0
- package/src/generated/model/buildRelease201PointersItem.ts +2 -0
- package/src/generated/model/buildRelease201PointersItemKind.ts +1 -0
- package/src/generated/model/buildRelease400DetailsResourcesItemKind.ts +1 -0
- package/src/generated/model/buildReleaseBody.ts +3 -3
- package/src/generated/model/buildReleaseBodyBundle.ts +20 -3
- package/src/generated/model/buildReleaseBodyBundlePoliciesItem.ts +47 -0
- package/src/generated/model/buildReleaseDefault.ts +36 -0
- package/src/generated/model/createAuthAttemptDefault.ts +27 -0
- package/src/generated/model/createBrandingDefault.ts +18 -0
- package/src/generated/model/createDeployment200ReleasePointersItem.ts +2 -0
- package/src/generated/model/createDeployment200ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/createDeployment201ReleasePointersItem.ts +2 -0
- package/src/generated/model/createDeployment201ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/createDeployment409.ts +3 -1
- package/src/generated/model/createDeploymentBody.ts +2 -4
- package/src/generated/model/createDeploymentDefault.ts +54 -0
- package/src/generated/model/createFlow201Step.ts +19 -0
- package/src/generated/model/createFlow201StepPurpose.ts +26 -0
- package/src/generated/model/createFlowDefault.ts +18 -0
- package/src/generated/model/createFlowDefinitionDefault.ts +18 -0
- package/src/generated/model/createGrant201Team.ts +4 -1
- package/src/generated/model/createGrantDefault.ts +18 -0
- package/src/generated/model/createHandoffDefault.ts +18 -0
- package/src/generated/model/createIdpDefault.ts +18 -0
- package/src/generated/model/createRelease200PointersItem.ts +2 -0
- package/src/generated/model/createRelease200PointersItemKind.ts +1 -0
- package/src/generated/model/createRelease201PointersItem.ts +2 -0
- package/src/generated/model/createRelease201PointersItemKind.ts +1 -0
- package/src/generated/model/createReleaseBodyPointersItemKind.ts +1 -0
- package/src/generated/model/createReleaseDefault.ts +18 -0
- package/src/generated/model/createSchemaDefault.ts +18 -0
- package/src/generated/model/createSessionDefault.ts +18 -0
- package/src/generated/model/createTeamDefault.ts +18 -0
- package/src/generated/model/createUserDefault.ts +18 -0
- package/src/generated/model/deleteGrantDefault.ts +18 -0
- package/src/generated/model/deleteTeamDefault.ts +18 -0
- package/src/generated/model/deleteUserByIDDefault.ts +18 -0
- package/src/generated/model/deleteVariableDefault.ts +18 -0
- package/src/generated/model/exchangeHandoffDefault.ts +36 -0
- package/src/generated/model/finishUserPasskeyRegistrationDefault.ts +18 -0
- package/src/generated/model/getAuthAttemptDefault.ts +18 -0
- package/src/generated/model/getBrandingByIdDefault.ts +18 -0
- package/src/generated/model/getClaimStatusDefault.ts +18 -0
- package/src/generated/model/getDeploymentById200ReleasePointersItem.ts +2 -0
- package/src/generated/model/getDeploymentById200ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/getDeploymentByIdDefault.ts +18 -0
- package/src/generated/model/getDeploymentVariablesDefault.ts +9 -0
- package/src/generated/model/getEvent200.ts +788 -0
- package/src/generated/model/getEventDefault.ts +18 -0
- package/src/generated/model/getFlowDefinitionDefault.ts +18 -0
- package/src/generated/model/getFlowStep200Step.ts +19 -0
- package/src/generated/model/getFlowStep200StepPurpose.ts +26 -0
- package/src/generated/model/getFlowStepDefault.ts +36 -0
- package/src/generated/model/getGrant200Team.ts +4 -1
- package/src/generated/model/getGrantDefault.ts +18 -0
- package/src/generated/model/getIdpByIdDefault.ts +18 -0
- package/src/generated/model/getIdpRevisionByIdDefault.ts +18 -0
- package/src/generated/model/getMyPasswordStateDefault.ts +18 -0
- package/src/generated/model/getMySessionCsrfTokenDefault.ts +18 -0
- package/src/generated/model/getMySessionDefault.ts +18 -0
- package/src/generated/model/getMyUserDefault.ts +18 -0
- package/src/generated/model/getMyUserSchemaDefault.ts +18 -0
- package/src/generated/model/getPolicy200.ts +62 -0
- package/src/generated/model/getPolicyDefault.ts +72 -0
- package/src/generated/model/getPolicyParams.ts +15 -0
- package/src/generated/model/getPolicyRevision200.ts +62 -0
- package/src/generated/model/getPolicyRevisionDefault.ts +72 -0
- package/src/generated/model/getPolicyRevisionParams.ts +15 -0
- package/src/generated/model/getProject200.ts +64 -6
- package/src/generated/model/getReleaseById200PointersItem.ts +2 -0
- package/src/generated/model/getReleaseById200PointersItemKind.ts +1 -0
- package/src/generated/model/getReleaseByIdDefault.ts +18 -0
- package/src/generated/model/getSchemaByIdDefault.ts +18 -0
- package/src/generated/model/getSessionDefault.ts +18 -0
- package/src/generated/model/getTeamDefault.ts +18 -0
- package/src/generated/model/getUserByIDDefault.ts +18 -0
- package/src/generated/model/getUserPasswordStateDefault.ts +18 -0
- package/src/generated/model/getVariableDefault.ts +18 -0
- package/src/generated/model/getVariablesDefault.ts +18 -0
- package/src/generated/model/index.ts +38 -21
- package/src/generated/model/initClaimDefault.ts +18 -0
- package/src/generated/model/issueChallengeDefault.ts +18 -0
- package/src/generated/model/listBrandingDefault.ts +18 -0
- package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItem.ts +2 -0
- package/src/generated/model/listDeployments200DeploymentsItemReleasePointersItemKind.ts +1 -0
- package/src/generated/model/listDeploymentsDefault.ts +18 -0
- package/src/generated/model/listEvents200DataItem.ts +788 -0
- package/src/generated/model/listEventsDefault.ts +18 -0
- package/src/generated/model/listFlowDefinitionsDefault.ts +18 -0
- package/src/generated/model/listIdpRevisionsDefault.ts +18 -0
- package/src/generated/model/listMyIdentityLinksDefault.ts +18 -0
- package/src/generated/model/listMyPasskeysDefault.ts +18 -0
- package/src/generated/model/listMyProjectsDefault.ts +18 -0
- package/src/generated/model/listMyProjectsParams.ts +8 -0
- package/src/generated/model/listMyTeamsDefault.ts +18 -0
- package/src/generated/model/listPolicies200.ts +21 -0
- package/src/generated/model/listPolicies200PoliciesItem.ts +62 -0
- package/src/generated/model/listPoliciesDefault.ts +72 -0
- package/src/generated/model/listPoliciesOperation.ts +14 -0
- package/src/generated/model/listPoliciesParams.ts +33 -0
- package/src/generated/model/listPolicyRevisions200.ts +20 -0
- package/src/generated/model/listPolicyRevisions200RevisionsItem.ts +62 -0
- package/src/generated/model/listPolicyRevisionsDefault.ts +72 -0
- package/src/generated/model/listPolicyRevisionsParams.ts +28 -0
- package/src/generated/model/listPreviewsDefault.ts +9 -0
- package/src/generated/model/listProjectAdmins200.ts +20 -0
- package/src/generated/model/listProjectAdmins200AdminsItem.ts +31 -0
- package/src/generated/model/listProjectAdmins200AdminsItemSourcesItem.ts +57 -0
- package/src/generated/model/listProjectAdmins200AdminsItemUser.ts +40 -0
- package/src/generated/model/{createAuthAttempt409.ts → listProjectAdmins400.ts} +3 -3
- package/src/generated/model/{createAuthAttempt409Details.ts → listProjectAdmins400Details.ts} +1 -1
- package/src/generated/model/{issueChallenge409.ts → listProjectAdmins401.ts} +3 -3
- package/src/generated/model/{issueChallenge409Details.ts → listProjectAdmins401Details.ts} +1 -1
- package/src/generated/model/{getAuthAttempt409.ts → listProjectAdmins403.ts} +3 -3
- package/src/generated/model/{getHealth4xxDetails.ts → listProjectAdmins403Details.ts} +1 -1
- package/src/generated/model/{getHealth4xx.ts → listProjectAdmins404.ts} +3 -3
- package/src/generated/model/{getAuthAttempt409Details.ts → listProjectAdmins404Details.ts} +1 -1
- package/src/generated/model/listProjectAdminsDefault.ts +81 -0
- package/src/generated/model/listProjectAdminsParams.ts +23 -0
- package/src/generated/model/listReleasesDefault.ts +18 -0
- package/src/generated/model/listSchemasDefault.ts +18 -0
- package/src/generated/model/listUserIdentityLinksDefault.ts +18 -0
- package/src/generated/model/listUserPasskeysDefault.ts +18 -0
- package/src/generated/model/listUserTeamsDefault.ts +18 -0
- package/src/generated/model/patchMyUserDefault.ts +18 -0
- package/src/generated/model/patchProject200.ts +64 -6
- package/src/generated/model/patchProjectDefault.ts +18 -0
- package/src/generated/model/patchUserByIDDefault.ts +18 -0
- package/src/generated/model/publishPolicy201.ts +62 -0
- package/src/generated/model/publishPolicyBody.ts +47 -0
- package/src/generated/model/publishPolicyDefault.ts +99 -0
- package/src/generated/model/publishPolicyParams.ts +15 -0
- package/src/generated/model/queryGrants200GrantsItemTeam.ts +4 -1
- package/src/generated/model/queryGrantsDefault.ts +9 -0
- package/src/generated/model/queryIdpsDefault.ts +9 -0
- package/src/generated/model/queryProjectsDefault.ts +9 -0
- package/src/generated/model/querySessionsDefault.ts +9 -0
- package/src/generated/model/queryTeamsDefault.ts +9 -0
- package/src/generated/model/queryUsersDefault.ts +9 -0
- package/src/generated/model/removeOriginDefault.ts +27 -0
- package/src/generated/model/removePreviewDefault.ts +18 -0
- package/src/generated/model/revokeMySessionDefault.ts +18 -0
- package/src/generated/model/revokeRelease200PointersItem.ts +2 -0
- package/src/generated/model/revokeRelease200PointersItemKind.ts +1 -0
- package/src/generated/model/revokeRelease409DetailsOriginsItem.ts +9 -1
- package/src/generated/model/revokeReleaseDefault.ts +63 -0
- package/src/generated/model/revokeSessionDefault.ts +18 -0
- package/src/generated/model/rollbackDeployment200ReleasePointersItem.ts +2 -0
- package/src/generated/model/rollbackDeployment200ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/rollbackDeployment201ReleasePointersItem.ts +2 -0
- package/src/generated/model/rollbackDeployment201ReleasePointersItemKind.ts +1 -0
- package/src/generated/model/rollbackDeployment409.ts +3 -1
- package/src/generated/model/rollbackDeploymentDefault.ts +99 -0
- package/src/generated/model/setUserPasswordDefault.ts +18 -0
- package/src/generated/model/submitFlowStep200Step.ts +19 -0
- package/src/generated/model/submitFlowStep200StepPurpose.ts +26 -0
- package/src/generated/model/submitFlowStep400Step.ts +19 -0
- package/src/generated/model/submitFlowStep400StepPurpose.ts +26 -0
- package/src/generated/model/submitFlowStepDefault.ts +36 -0
- package/src/generated/model/updateTeamDefault.ts +18 -0
- package/src/generated/model/updateVariablesDefault.ts +18 -0
- package/src/generated/model/verifyChallengeProofDefault.ts +18 -0
- package/src/generated/operations.ts +189 -29
- package/src/runtime/config.spec.ts +2 -2
- package/src/runtime/fetch.spec.ts +13 -1
- package/src/runtime/fetch.ts +15 -2
- package/dist/fetch-DD3lSbnp.d.mts.map +0 -1
- package/dist/index-DuuFQkA8.d.mts.map +0 -1
- package/dist/zitadelNextGen-BdUDEEuX.d.mts.map +0 -1
- package/src/generated/model/getHealthDefault.ts +0 -27
- package/src/generated/model/getProject200OriginsItem.ts +0 -23
- package/src/generated/model/getProject200OriginsItemKind.ts +0 -15
- package/src/generated/model/getProject200PasswordHash.ts +0 -42
- package/src/generated/model/getProject200PasswordHashAlgorithm.ts +0 -24
- package/src/generated/model/getProject200PasswordHashParams.ts +0 -47
- package/src/generated/model/getProject200PasswordHashParamsHash.ts +0 -24
- package/src/generated/model/patchProject200OriginsItem.ts +0 -23
- package/src/generated/model/patchProject200OriginsItemKind.ts +0 -15
- package/src/generated/model/patchProject200PasswordHash.ts +0 -42
- package/src/generated/model/patchProject200PasswordHashAlgorithm.ts +0 -24
- package/src/generated/model/patchProject200PasswordHashParams.ts +0 -47
- package/src/generated/model/patchProject200PasswordHashParamsHash.ts +0 -24
|
@@ -58,6 +58,19 @@ export type GetEvent200 = ({
|
|
|
58
58
|
* live risk-evaluator input.
|
|
59
59
|
*/
|
|
60
60
|
metadata?: {
|
|
61
|
+
/**
|
|
62
|
+
* What authorized the request, when it was not a grant on the event's
|
|
63
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
64
|
+
*/
|
|
65
|
+
authorization?: {
|
|
66
|
+
/**
|
|
67
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
68
|
+
* (ADR 075), which administers every project.
|
|
69
|
+
*/
|
|
70
|
+
path: 'platform_operator';
|
|
71
|
+
/** The project the actor's user belongs to. */
|
|
72
|
+
actor_home_project_id?: string;
|
|
73
|
+
};
|
|
61
74
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
62
75
|
client?: {
|
|
63
76
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -124,6 +137,19 @@ export type GetEvent200 = ({
|
|
|
124
137
|
* live risk-evaluator input.
|
|
125
138
|
*/
|
|
126
139
|
metadata?: {
|
|
140
|
+
/**
|
|
141
|
+
* What authorized the request, when it was not a grant on the event's
|
|
142
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
143
|
+
*/
|
|
144
|
+
authorization?: {
|
|
145
|
+
/**
|
|
146
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
147
|
+
* (ADR 075), which administers every project.
|
|
148
|
+
*/
|
|
149
|
+
path: 'platform_operator';
|
|
150
|
+
/** The project the actor's user belongs to. */
|
|
151
|
+
actor_home_project_id?: string;
|
|
152
|
+
};
|
|
127
153
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
128
154
|
client?: {
|
|
129
155
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -190,6 +216,19 @@ export type GetEvent200 = ({
|
|
|
190
216
|
* live risk-evaluator input.
|
|
191
217
|
*/
|
|
192
218
|
metadata?: {
|
|
219
|
+
/**
|
|
220
|
+
* What authorized the request, when it was not a grant on the event's
|
|
221
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
222
|
+
*/
|
|
223
|
+
authorization?: {
|
|
224
|
+
/**
|
|
225
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
226
|
+
* (ADR 075), which administers every project.
|
|
227
|
+
*/
|
|
228
|
+
path: 'platform_operator';
|
|
229
|
+
/** The project the actor's user belongs to. */
|
|
230
|
+
actor_home_project_id?: string;
|
|
231
|
+
};
|
|
193
232
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
194
233
|
client?: {
|
|
195
234
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -262,6 +301,19 @@ export type GetEvent200 = ({
|
|
|
262
301
|
* live risk-evaluator input.
|
|
263
302
|
*/
|
|
264
303
|
metadata?: {
|
|
304
|
+
/**
|
|
305
|
+
* What authorized the request, when it was not a grant on the event's
|
|
306
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
307
|
+
*/
|
|
308
|
+
authorization?: {
|
|
309
|
+
/**
|
|
310
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
311
|
+
* (ADR 075), which administers every project.
|
|
312
|
+
*/
|
|
313
|
+
path: 'platform_operator';
|
|
314
|
+
/** The project the actor's user belongs to. */
|
|
315
|
+
actor_home_project_id?: string;
|
|
316
|
+
};
|
|
265
317
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
266
318
|
client?: {
|
|
267
319
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -334,6 +386,19 @@ export type GetEvent200 = ({
|
|
|
334
386
|
* live risk-evaluator input.
|
|
335
387
|
*/
|
|
336
388
|
metadata?: {
|
|
389
|
+
/**
|
|
390
|
+
* What authorized the request, when it was not a grant on the event's
|
|
391
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
392
|
+
*/
|
|
393
|
+
authorization?: {
|
|
394
|
+
/**
|
|
395
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
396
|
+
* (ADR 075), which administers every project.
|
|
397
|
+
*/
|
|
398
|
+
path: 'platform_operator';
|
|
399
|
+
/** The project the actor's user belongs to. */
|
|
400
|
+
actor_home_project_id?: string;
|
|
401
|
+
};
|
|
337
402
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
338
403
|
client?: {
|
|
339
404
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -400,6 +465,19 @@ export type GetEvent200 = ({
|
|
|
400
465
|
* live risk-evaluator input.
|
|
401
466
|
*/
|
|
402
467
|
metadata?: {
|
|
468
|
+
/**
|
|
469
|
+
* What authorized the request, when it was not a grant on the event's
|
|
470
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
471
|
+
*/
|
|
472
|
+
authorization?: {
|
|
473
|
+
/**
|
|
474
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
475
|
+
* (ADR 075), which administers every project.
|
|
476
|
+
*/
|
|
477
|
+
path: 'platform_operator';
|
|
478
|
+
/** The project the actor's user belongs to. */
|
|
479
|
+
actor_home_project_id?: string;
|
|
480
|
+
};
|
|
403
481
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
404
482
|
client?: {
|
|
405
483
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -466,6 +544,19 @@ export type GetEvent200 = ({
|
|
|
466
544
|
* live risk-evaluator input.
|
|
467
545
|
*/
|
|
468
546
|
metadata?: {
|
|
547
|
+
/**
|
|
548
|
+
* What authorized the request, when it was not a grant on the event's
|
|
549
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
550
|
+
*/
|
|
551
|
+
authorization?: {
|
|
552
|
+
/**
|
|
553
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
554
|
+
* (ADR 075), which administers every project.
|
|
555
|
+
*/
|
|
556
|
+
path: 'platform_operator';
|
|
557
|
+
/** The project the actor's user belongs to. */
|
|
558
|
+
actor_home_project_id?: string;
|
|
559
|
+
};
|
|
469
560
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
470
561
|
client?: {
|
|
471
562
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -538,6 +629,19 @@ export type GetEvent200 = ({
|
|
|
538
629
|
* live risk-evaluator input.
|
|
539
630
|
*/
|
|
540
631
|
metadata?: {
|
|
632
|
+
/**
|
|
633
|
+
* What authorized the request, when it was not a grant on the event's
|
|
634
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
635
|
+
*/
|
|
636
|
+
authorization?: {
|
|
637
|
+
/**
|
|
638
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
639
|
+
* (ADR 075), which administers every project.
|
|
640
|
+
*/
|
|
641
|
+
path: 'platform_operator';
|
|
642
|
+
/** The project the actor's user belongs to. */
|
|
643
|
+
actor_home_project_id?: string;
|
|
644
|
+
};
|
|
541
645
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
542
646
|
client?: {
|
|
543
647
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -610,6 +714,19 @@ export type GetEvent200 = ({
|
|
|
610
714
|
* live risk-evaluator input.
|
|
611
715
|
*/
|
|
612
716
|
metadata?: {
|
|
717
|
+
/**
|
|
718
|
+
* What authorized the request, when it was not a grant on the event's
|
|
719
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
720
|
+
*/
|
|
721
|
+
authorization?: {
|
|
722
|
+
/**
|
|
723
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
724
|
+
* (ADR 075), which administers every project.
|
|
725
|
+
*/
|
|
726
|
+
path: 'platform_operator';
|
|
727
|
+
/** The project the actor's user belongs to. */
|
|
728
|
+
actor_home_project_id?: string;
|
|
729
|
+
};
|
|
613
730
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
614
731
|
client?: {
|
|
615
732
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -682,6 +799,19 @@ export type GetEvent200 = ({
|
|
|
682
799
|
* live risk-evaluator input.
|
|
683
800
|
*/
|
|
684
801
|
metadata?: {
|
|
802
|
+
/**
|
|
803
|
+
* What authorized the request, when it was not a grant on the event's
|
|
804
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
805
|
+
*/
|
|
806
|
+
authorization?: {
|
|
807
|
+
/**
|
|
808
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
809
|
+
* (ADR 075), which administers every project.
|
|
810
|
+
*/
|
|
811
|
+
path: 'platform_operator';
|
|
812
|
+
/** The project the actor's user belongs to. */
|
|
813
|
+
actor_home_project_id?: string;
|
|
814
|
+
};
|
|
685
815
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
686
816
|
client?: {
|
|
687
817
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -747,6 +877,19 @@ export type GetEvent200 = ({
|
|
|
747
877
|
* live risk-evaluator input.
|
|
748
878
|
*/
|
|
749
879
|
metadata?: {
|
|
880
|
+
/**
|
|
881
|
+
* What authorized the request, when it was not a grant on the event's
|
|
882
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
883
|
+
*/
|
|
884
|
+
authorization?: {
|
|
885
|
+
/**
|
|
886
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
887
|
+
* (ADR 075), which administers every project.
|
|
888
|
+
*/
|
|
889
|
+
path: 'platform_operator';
|
|
890
|
+
/** The project the actor's user belongs to. */
|
|
891
|
+
actor_home_project_id?: string;
|
|
892
|
+
};
|
|
750
893
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
751
894
|
client?: {
|
|
752
895
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -813,6 +956,19 @@ export type GetEvent200 = ({
|
|
|
813
956
|
* live risk-evaluator input.
|
|
814
957
|
*/
|
|
815
958
|
metadata?: {
|
|
959
|
+
/**
|
|
960
|
+
* What authorized the request, when it was not a grant on the event's
|
|
961
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
962
|
+
*/
|
|
963
|
+
authorization?: {
|
|
964
|
+
/**
|
|
965
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
966
|
+
* (ADR 075), which administers every project.
|
|
967
|
+
*/
|
|
968
|
+
path: 'platform_operator';
|
|
969
|
+
/** The project the actor's user belongs to. */
|
|
970
|
+
actor_home_project_id?: string;
|
|
971
|
+
};
|
|
816
972
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
817
973
|
client?: {
|
|
818
974
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -880,6 +1036,19 @@ export type GetEvent200 = ({
|
|
|
880
1036
|
* live risk-evaluator input.
|
|
881
1037
|
*/
|
|
882
1038
|
metadata?: {
|
|
1039
|
+
/**
|
|
1040
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1041
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1042
|
+
*/
|
|
1043
|
+
authorization?: {
|
|
1044
|
+
/**
|
|
1045
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1046
|
+
* (ADR 075), which administers every project.
|
|
1047
|
+
*/
|
|
1048
|
+
path: 'platform_operator';
|
|
1049
|
+
/** The project the actor's user belongs to. */
|
|
1050
|
+
actor_home_project_id?: string;
|
|
1051
|
+
};
|
|
883
1052
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
884
1053
|
client?: {
|
|
885
1054
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -947,6 +1116,19 @@ export type GetEvent200 = ({
|
|
|
947
1116
|
* live risk-evaluator input.
|
|
948
1117
|
*/
|
|
949
1118
|
metadata?: {
|
|
1119
|
+
/**
|
|
1120
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1121
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1122
|
+
*/
|
|
1123
|
+
authorization?: {
|
|
1124
|
+
/**
|
|
1125
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1126
|
+
* (ADR 075), which administers every project.
|
|
1127
|
+
*/
|
|
1128
|
+
path: 'platform_operator';
|
|
1129
|
+
/** The project the actor's user belongs to. */
|
|
1130
|
+
actor_home_project_id?: string;
|
|
1131
|
+
};
|
|
950
1132
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
951
1133
|
client?: {
|
|
952
1134
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1015,6 +1197,19 @@ export type GetEvent200 = ({
|
|
|
1015
1197
|
* live risk-evaluator input.
|
|
1016
1198
|
*/
|
|
1017
1199
|
metadata?: {
|
|
1200
|
+
/**
|
|
1201
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1202
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1203
|
+
*/
|
|
1204
|
+
authorization?: {
|
|
1205
|
+
/**
|
|
1206
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1207
|
+
* (ADR 075), which administers every project.
|
|
1208
|
+
*/
|
|
1209
|
+
path: 'platform_operator';
|
|
1210
|
+
/** The project the actor's user belongs to. */
|
|
1211
|
+
actor_home_project_id?: string;
|
|
1212
|
+
};
|
|
1018
1213
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1019
1214
|
client?: {
|
|
1020
1215
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1088,6 +1283,19 @@ export type GetEvent200 = ({
|
|
|
1088
1283
|
* live risk-evaluator input.
|
|
1089
1284
|
*/
|
|
1090
1285
|
metadata?: {
|
|
1286
|
+
/**
|
|
1287
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1288
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1289
|
+
*/
|
|
1290
|
+
authorization?: {
|
|
1291
|
+
/**
|
|
1292
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1293
|
+
* (ADR 075), which administers every project.
|
|
1294
|
+
*/
|
|
1295
|
+
path: 'platform_operator';
|
|
1296
|
+
/** The project the actor's user belongs to. */
|
|
1297
|
+
actor_home_project_id?: string;
|
|
1298
|
+
};
|
|
1091
1299
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1092
1300
|
client?: {
|
|
1093
1301
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1163,6 +1371,19 @@ export type GetEvent200 = ({
|
|
|
1163
1371
|
* live risk-evaluator input.
|
|
1164
1372
|
*/
|
|
1165
1373
|
metadata?: {
|
|
1374
|
+
/**
|
|
1375
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1376
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1377
|
+
*/
|
|
1378
|
+
authorization?: {
|
|
1379
|
+
/**
|
|
1380
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1381
|
+
* (ADR 075), which administers every project.
|
|
1382
|
+
*/
|
|
1383
|
+
path: 'platform_operator';
|
|
1384
|
+
/** The project the actor's user belongs to. */
|
|
1385
|
+
actor_home_project_id?: string;
|
|
1386
|
+
};
|
|
1166
1387
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1167
1388
|
client?: {
|
|
1168
1389
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1229,6 +1450,19 @@ export type GetEvent200 = ({
|
|
|
1229
1450
|
* live risk-evaluator input.
|
|
1230
1451
|
*/
|
|
1231
1452
|
metadata?: {
|
|
1453
|
+
/**
|
|
1454
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1455
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1456
|
+
*/
|
|
1457
|
+
authorization?: {
|
|
1458
|
+
/**
|
|
1459
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1460
|
+
* (ADR 075), which administers every project.
|
|
1461
|
+
*/
|
|
1462
|
+
path: 'platform_operator';
|
|
1463
|
+
/** The project the actor's user belongs to. */
|
|
1464
|
+
actor_home_project_id?: string;
|
|
1465
|
+
};
|
|
1232
1466
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1233
1467
|
client?: {
|
|
1234
1468
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1304,6 +1538,19 @@ export type GetEvent200 = ({
|
|
|
1304
1538
|
* live risk-evaluator input.
|
|
1305
1539
|
*/
|
|
1306
1540
|
metadata?: {
|
|
1541
|
+
/**
|
|
1542
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1543
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1544
|
+
*/
|
|
1545
|
+
authorization?: {
|
|
1546
|
+
/**
|
|
1547
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1548
|
+
* (ADR 075), which administers every project.
|
|
1549
|
+
*/
|
|
1550
|
+
path: 'platform_operator';
|
|
1551
|
+
/** The project the actor's user belongs to. */
|
|
1552
|
+
actor_home_project_id?: string;
|
|
1553
|
+
};
|
|
1307
1554
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1308
1555
|
client?: {
|
|
1309
1556
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1383,6 +1630,19 @@ export type GetEvent200 = ({
|
|
|
1383
1630
|
* live risk-evaluator input.
|
|
1384
1631
|
*/
|
|
1385
1632
|
metadata?: {
|
|
1633
|
+
/**
|
|
1634
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1635
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1636
|
+
*/
|
|
1637
|
+
authorization?: {
|
|
1638
|
+
/**
|
|
1639
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1640
|
+
* (ADR 075), which administers every project.
|
|
1641
|
+
*/
|
|
1642
|
+
path: 'platform_operator';
|
|
1643
|
+
/** The project the actor's user belongs to. */
|
|
1644
|
+
actor_home_project_id?: string;
|
|
1645
|
+
};
|
|
1386
1646
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1387
1647
|
client?: {
|
|
1388
1648
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1455,6 +1715,19 @@ export type GetEvent200 = ({
|
|
|
1455
1715
|
* live risk-evaluator input.
|
|
1456
1716
|
*/
|
|
1457
1717
|
metadata?: {
|
|
1718
|
+
/**
|
|
1719
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1720
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1721
|
+
*/
|
|
1722
|
+
authorization?: {
|
|
1723
|
+
/**
|
|
1724
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1725
|
+
* (ADR 075), which administers every project.
|
|
1726
|
+
*/
|
|
1727
|
+
path: 'platform_operator';
|
|
1728
|
+
/** The project the actor's user belongs to. */
|
|
1729
|
+
actor_home_project_id?: string;
|
|
1730
|
+
};
|
|
1458
1731
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1459
1732
|
client?: {
|
|
1460
1733
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1534,6 +1807,19 @@ export type GetEvent200 = ({
|
|
|
1534
1807
|
* live risk-evaluator input.
|
|
1535
1808
|
*/
|
|
1536
1809
|
metadata?: {
|
|
1810
|
+
/**
|
|
1811
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1812
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1813
|
+
*/
|
|
1814
|
+
authorization?: {
|
|
1815
|
+
/**
|
|
1816
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1817
|
+
* (ADR 075), which administers every project.
|
|
1818
|
+
*/
|
|
1819
|
+
path: 'platform_operator';
|
|
1820
|
+
/** The project the actor's user belongs to. */
|
|
1821
|
+
actor_home_project_id?: string;
|
|
1822
|
+
};
|
|
1537
1823
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1538
1824
|
client?: {
|
|
1539
1825
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1600,6 +1886,19 @@ export type GetEvent200 = ({
|
|
|
1600
1886
|
* live risk-evaluator input.
|
|
1601
1887
|
*/
|
|
1602
1888
|
metadata?: {
|
|
1889
|
+
/**
|
|
1890
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1891
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1892
|
+
*/
|
|
1893
|
+
authorization?: {
|
|
1894
|
+
/**
|
|
1895
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1896
|
+
* (ADR 075), which administers every project.
|
|
1897
|
+
*/
|
|
1898
|
+
path: 'platform_operator';
|
|
1899
|
+
/** The project the actor's user belongs to. */
|
|
1900
|
+
actor_home_project_id?: string;
|
|
1901
|
+
};
|
|
1603
1902
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1604
1903
|
client?: {
|
|
1605
1904
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1666,6 +1965,274 @@ export type GetEvent200 = ({
|
|
|
1666
1965
|
* live risk-evaluator input.
|
|
1667
1966
|
*/
|
|
1668
1967
|
metadata?: {
|
|
1968
|
+
/**
|
|
1969
|
+
* What authorized the request, when it was not a grant on the event's
|
|
1970
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
1971
|
+
*/
|
|
1972
|
+
authorization?: {
|
|
1973
|
+
/**
|
|
1974
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
1975
|
+
* (ADR 075), which administers every project.
|
|
1976
|
+
*/
|
|
1977
|
+
path: 'platform_operator';
|
|
1978
|
+
/** The project the actor's user belongs to. */
|
|
1979
|
+
actor_home_project_id?: string;
|
|
1980
|
+
};
|
|
1981
|
+
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1982
|
+
client?: {
|
|
1983
|
+
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
1984
|
+
ip?: string;
|
|
1985
|
+
/** Observed User-Agent header. */
|
|
1986
|
+
user_agent?: string;
|
|
1987
|
+
/** Origin header when present. */
|
|
1988
|
+
origin?: string;
|
|
1989
|
+
};
|
|
1990
|
+
[key: string]: unknown;
|
|
1991
|
+
};
|
|
1992
|
+
}) & {
|
|
1993
|
+
event_type: 'policy.created';
|
|
1994
|
+
/**
|
|
1995
|
+
* Allowlisted fields for `policy.created` (the first publish of an
|
|
1996
|
+
* operation's policy) and `policy.updated` (every later publish). The policy id
|
|
1997
|
+
* is the event's `entity_id`. `config` holds the published settings, which are
|
|
1998
|
+
* configuration values, never user data.
|
|
1999
|
+
*/
|
|
2000
|
+
payload: {
|
|
2001
|
+
/** The operation the policy guards, e.g. `auth.factor.password.set`. */
|
|
2002
|
+
operation: string;
|
|
2003
|
+
/** The revision the publish appended. */
|
|
2004
|
+
revision_id: string;
|
|
2005
|
+
/** The instance's settings as published. */
|
|
2006
|
+
config: { [key: string]: unknown };
|
|
2007
|
+
};
|
|
2008
|
+
} | ({
|
|
2009
|
+
/** Managed event id (`evt_<opaque>`). */
|
|
2010
|
+
id: string;
|
|
2011
|
+
/** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
2012
|
+
project_id: string;
|
|
2013
|
+
/** Emit-time team scope, when the actor operated under a team. */
|
|
2014
|
+
team_id?: string | null;
|
|
2015
|
+
/**
|
|
2016
|
+
* Semantic event name (dot-separated). Discriminator for the Event union —
|
|
2017
|
+
* see docs/design/api/events-catalog.md.
|
|
2018
|
+
*/
|
|
2019
|
+
event_type: string;
|
|
2020
|
+
/** Wide-event category. */
|
|
2021
|
+
category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
|
|
2022
|
+
/** When the action happened (server/storage clock, dialect-owned). */
|
|
2023
|
+
occurred_at: string;
|
|
2024
|
+
/** When the row was inserted (server/storage clock, dialect-owned). */
|
|
2025
|
+
created_at: string;
|
|
2026
|
+
/** Who triggered the event. */
|
|
2027
|
+
actor_id?: string | null;
|
|
2028
|
+
/** Actor kind. */
|
|
2029
|
+
actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
|
|
2030
|
+
/** Resource type affected. */
|
|
2031
|
+
entity_type?: string | null;
|
|
2032
|
+
/** Resource id affected. */
|
|
2033
|
+
entity_id?: string | null;
|
|
2034
|
+
/** Application or agent that produced the event. */
|
|
2035
|
+
client_id: string;
|
|
2036
|
+
/** Token id present at emit time, when any. */
|
|
2037
|
+
token_id?: string;
|
|
2038
|
+
/** Delegation kind (omit when unset). */
|
|
2039
|
+
delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
|
|
2040
|
+
delegation_id?: string;
|
|
2041
|
+
grantor?: string;
|
|
2042
|
+
/** Device fingerprint correlation id. */
|
|
2043
|
+
fingerprint?: string;
|
|
2044
|
+
/** HTTP request correlation id. */
|
|
2045
|
+
request_id?: string | null;
|
|
2046
|
+
/** Session correlation id. */
|
|
2047
|
+
session_id?: string | null;
|
|
2048
|
+
/** Login flow correlation id. */
|
|
2049
|
+
flow_id?: string | null;
|
|
2050
|
+
/**
|
|
2051
|
+
* Emit-time metadata, already redacted at write. Path A request.api may
|
|
2052
|
+
* set client (ip, user_agent, origin) for SIEM join on request_id. Not a
|
|
2053
|
+
* live risk-evaluator input.
|
|
2054
|
+
*/
|
|
2055
|
+
metadata?: {
|
|
2056
|
+
/**
|
|
2057
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2058
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2059
|
+
*/
|
|
2060
|
+
authorization?: {
|
|
2061
|
+
/**
|
|
2062
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2063
|
+
* (ADR 075), which administers every project.
|
|
2064
|
+
*/
|
|
2065
|
+
path: 'platform_operator';
|
|
2066
|
+
/** The project the actor's user belongs to. */
|
|
2067
|
+
actor_home_project_id?: string;
|
|
2068
|
+
};
|
|
2069
|
+
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2070
|
+
client?: {
|
|
2071
|
+
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
2072
|
+
ip?: string;
|
|
2073
|
+
/** Observed User-Agent header. */
|
|
2074
|
+
user_agent?: string;
|
|
2075
|
+
/** Origin header when present. */
|
|
2076
|
+
origin?: string;
|
|
2077
|
+
};
|
|
2078
|
+
[key: string]: unknown;
|
|
2079
|
+
};
|
|
2080
|
+
}) & {
|
|
2081
|
+
event_type: 'policy.updated';
|
|
2082
|
+
/**
|
|
2083
|
+
* Allowlisted fields for `policy.created` (the first publish of an
|
|
2084
|
+
* operation's policy) and `policy.updated` (every later publish). The policy id
|
|
2085
|
+
* is the event's `entity_id`. `config` holds the published settings, which are
|
|
2086
|
+
* configuration values, never user data.
|
|
2087
|
+
*/
|
|
2088
|
+
payload: {
|
|
2089
|
+
/** The operation the policy guards, e.g. `auth.factor.password.set`. */
|
|
2090
|
+
operation: string;
|
|
2091
|
+
/** The revision the publish appended. */
|
|
2092
|
+
revision_id: string;
|
|
2093
|
+
/** The instance's settings as published. */
|
|
2094
|
+
config: { [key: string]: unknown };
|
|
2095
|
+
};
|
|
2096
|
+
} | ({
|
|
2097
|
+
/** Managed event id (`evt_<opaque>`). */
|
|
2098
|
+
id: string;
|
|
2099
|
+
/** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
2100
|
+
project_id: string;
|
|
2101
|
+
/** Emit-time team scope, when the actor operated under a team. */
|
|
2102
|
+
team_id?: string | null;
|
|
2103
|
+
/**
|
|
2104
|
+
* Semantic event name (dot-separated). Discriminator for the Event union —
|
|
2105
|
+
* see docs/design/api/events-catalog.md.
|
|
2106
|
+
*/
|
|
2107
|
+
event_type: string;
|
|
2108
|
+
/** Wide-event category. */
|
|
2109
|
+
category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
|
|
2110
|
+
/** When the action happened (server/storage clock, dialect-owned). */
|
|
2111
|
+
occurred_at: string;
|
|
2112
|
+
/** When the row was inserted (server/storage clock, dialect-owned). */
|
|
2113
|
+
created_at: string;
|
|
2114
|
+
/** Who triggered the event. */
|
|
2115
|
+
actor_id?: string | null;
|
|
2116
|
+
/** Actor kind. */
|
|
2117
|
+
actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
|
|
2118
|
+
/** Resource type affected. */
|
|
2119
|
+
entity_type?: string | null;
|
|
2120
|
+
/** Resource id affected. */
|
|
2121
|
+
entity_id?: string | null;
|
|
2122
|
+
/** Application or agent that produced the event. */
|
|
2123
|
+
client_id: string;
|
|
2124
|
+
/** Token id present at emit time, when any. */
|
|
2125
|
+
token_id?: string;
|
|
2126
|
+
/** Delegation kind (omit when unset). */
|
|
2127
|
+
delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
|
|
2128
|
+
delegation_id?: string;
|
|
2129
|
+
grantor?: string;
|
|
2130
|
+
/** Device fingerprint correlation id. */
|
|
2131
|
+
fingerprint?: string;
|
|
2132
|
+
/** HTTP request correlation id. */
|
|
2133
|
+
request_id?: string | null;
|
|
2134
|
+
/** Session correlation id. */
|
|
2135
|
+
session_id?: string | null;
|
|
2136
|
+
/** Login flow correlation id. */
|
|
2137
|
+
flow_id?: string | null;
|
|
2138
|
+
/**
|
|
2139
|
+
* Emit-time metadata, already redacted at write. Path A request.api may
|
|
2140
|
+
* set client (ip, user_agent, origin) for SIEM join on request_id. Not a
|
|
2141
|
+
* live risk-evaluator input.
|
|
2142
|
+
*/
|
|
2143
|
+
metadata?: {
|
|
2144
|
+
/**
|
|
2145
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2146
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2147
|
+
*/
|
|
2148
|
+
authorization?: {
|
|
2149
|
+
/**
|
|
2150
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2151
|
+
* (ADR 075), which administers every project.
|
|
2152
|
+
*/
|
|
2153
|
+
path: 'platform_operator';
|
|
2154
|
+
/** The project the actor's user belongs to. */
|
|
2155
|
+
actor_home_project_id?: string;
|
|
2156
|
+
};
|
|
2157
|
+
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2158
|
+
client?: {
|
|
2159
|
+
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
2160
|
+
ip?: string;
|
|
2161
|
+
/** Observed User-Agent header. */
|
|
2162
|
+
user_agent?: string;
|
|
2163
|
+
/** Origin header when present. */
|
|
2164
|
+
origin?: string;
|
|
2165
|
+
};
|
|
2166
|
+
[key: string]: unknown;
|
|
2167
|
+
};
|
|
2168
|
+
}) & {
|
|
2169
|
+
event_type: 'preview.removed';
|
|
2170
|
+
/**
|
|
2171
|
+
* Empty payload for event types with no typed fields
|
|
2172
|
+
* (e.g. `project.deleted`, `user.deleted`, `session.expired`).
|
|
2173
|
+
*/
|
|
2174
|
+
payload: { [key: string]: unknown };
|
|
2175
|
+
} | ({
|
|
2176
|
+
/** Managed event id (`evt_<opaque>`). */
|
|
2177
|
+
id: string;
|
|
2178
|
+
/** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
2179
|
+
project_id: string;
|
|
2180
|
+
/** Emit-time team scope, when the actor operated under a team. */
|
|
2181
|
+
team_id?: string | null;
|
|
2182
|
+
/**
|
|
2183
|
+
* Semantic event name (dot-separated). Discriminator for the Event union —
|
|
2184
|
+
* see docs/design/api/events-catalog.md.
|
|
2185
|
+
*/
|
|
2186
|
+
event_type: string;
|
|
2187
|
+
/** Wide-event category. */
|
|
2188
|
+
category: 'request' | 'auth' | 'session' | 'admin' | 'entity' | 'signal';
|
|
2189
|
+
/** When the action happened (server/storage clock, dialect-owned). */
|
|
2190
|
+
occurred_at: string;
|
|
2191
|
+
/** When the row was inserted (server/storage clock, dialect-owned). */
|
|
2192
|
+
created_at: string;
|
|
2193
|
+
/** Who triggered the event. */
|
|
2194
|
+
actor_id?: string | null;
|
|
2195
|
+
/** Actor kind. */
|
|
2196
|
+
actor_type?: 'human' | 'service' | 'system' | 'agent' | null;
|
|
2197
|
+
/** Resource type affected. */
|
|
2198
|
+
entity_type?: string | null;
|
|
2199
|
+
/** Resource id affected. */
|
|
2200
|
+
entity_id?: string | null;
|
|
2201
|
+
/** Application or agent that produced the event. */
|
|
2202
|
+
client_id: string;
|
|
2203
|
+
/** Token id present at emit time, when any. */
|
|
2204
|
+
token_id?: string;
|
|
2205
|
+
/** Delegation kind (omit when unset). */
|
|
2206
|
+
delegation_type?: 'direct' | 'delegated' | 'pat_shared' | 'exchanged';
|
|
2207
|
+
delegation_id?: string;
|
|
2208
|
+
grantor?: string;
|
|
2209
|
+
/** Device fingerprint correlation id. */
|
|
2210
|
+
fingerprint?: string;
|
|
2211
|
+
/** HTTP request correlation id. */
|
|
2212
|
+
request_id?: string | null;
|
|
2213
|
+
/** Session correlation id. */
|
|
2214
|
+
session_id?: string | null;
|
|
2215
|
+
/** Login flow correlation id. */
|
|
2216
|
+
flow_id?: string | null;
|
|
2217
|
+
/**
|
|
2218
|
+
* Emit-time metadata, already redacted at write. Path A request.api may
|
|
2219
|
+
* set client (ip, user_agent, origin) for SIEM join on request_id. Not a
|
|
2220
|
+
* live risk-evaluator input.
|
|
2221
|
+
*/
|
|
2222
|
+
metadata?: {
|
|
2223
|
+
/**
|
|
2224
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2225
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2226
|
+
*/
|
|
2227
|
+
authorization?: {
|
|
2228
|
+
/**
|
|
2229
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2230
|
+
* (ADR 075), which administers every project.
|
|
2231
|
+
*/
|
|
2232
|
+
path: 'platform_operator';
|
|
2233
|
+
/** The project the actor's user belongs to. */
|
|
2234
|
+
actor_home_project_id?: string;
|
|
2235
|
+
};
|
|
1669
2236
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1670
2237
|
client?: {
|
|
1671
2238
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1744,6 +2311,19 @@ export type GetEvent200 = ({
|
|
|
1744
2311
|
* live risk-evaluator input.
|
|
1745
2312
|
*/
|
|
1746
2313
|
metadata?: {
|
|
2314
|
+
/**
|
|
2315
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2316
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2317
|
+
*/
|
|
2318
|
+
authorization?: {
|
|
2319
|
+
/**
|
|
2320
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2321
|
+
* (ADR 075), which administers every project.
|
|
2322
|
+
*/
|
|
2323
|
+
path: 'platform_operator';
|
|
2324
|
+
/** The project the actor's user belongs to. */
|
|
2325
|
+
actor_home_project_id?: string;
|
|
2326
|
+
};
|
|
1747
2327
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1748
2328
|
client?: {
|
|
1749
2329
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1810,6 +2390,19 @@ export type GetEvent200 = ({
|
|
|
1810
2390
|
* live risk-evaluator input.
|
|
1811
2391
|
*/
|
|
1812
2392
|
metadata?: {
|
|
2393
|
+
/**
|
|
2394
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2395
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2396
|
+
*/
|
|
2397
|
+
authorization?: {
|
|
2398
|
+
/**
|
|
2399
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2400
|
+
* (ADR 075), which administers every project.
|
|
2401
|
+
*/
|
|
2402
|
+
path: 'platform_operator';
|
|
2403
|
+
/** The project the actor's user belongs to. */
|
|
2404
|
+
actor_home_project_id?: string;
|
|
2405
|
+
};
|
|
1813
2406
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1814
2407
|
client?: {
|
|
1815
2408
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1888,6 +2481,19 @@ export type GetEvent200 = ({
|
|
|
1888
2481
|
* live risk-evaluator input.
|
|
1889
2482
|
*/
|
|
1890
2483
|
metadata?: {
|
|
2484
|
+
/**
|
|
2485
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2486
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2487
|
+
*/
|
|
2488
|
+
authorization?: {
|
|
2489
|
+
/**
|
|
2490
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2491
|
+
* (ADR 075), which administers every project.
|
|
2492
|
+
*/
|
|
2493
|
+
path: 'platform_operator';
|
|
2494
|
+
/** The project the actor's user belongs to. */
|
|
2495
|
+
actor_home_project_id?: string;
|
|
2496
|
+
};
|
|
1891
2497
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1892
2498
|
client?: {
|
|
1893
2499
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -1965,6 +2571,19 @@ export type GetEvent200 = ({
|
|
|
1965
2571
|
* live risk-evaluator input.
|
|
1966
2572
|
*/
|
|
1967
2573
|
metadata?: {
|
|
2574
|
+
/**
|
|
2575
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2576
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2577
|
+
*/
|
|
2578
|
+
authorization?: {
|
|
2579
|
+
/**
|
|
2580
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2581
|
+
* (ADR 075), which administers every project.
|
|
2582
|
+
*/
|
|
2583
|
+
path: 'platform_operator';
|
|
2584
|
+
/** The project the actor's user belongs to. */
|
|
2585
|
+
actor_home_project_id?: string;
|
|
2586
|
+
};
|
|
1968
2587
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
1969
2588
|
client?: {
|
|
1970
2589
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2073,6 +2692,19 @@ export type GetEvent200 = ({
|
|
|
2073
2692
|
* live risk-evaluator input.
|
|
2074
2693
|
*/
|
|
2075
2694
|
metadata?: {
|
|
2695
|
+
/**
|
|
2696
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2697
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2698
|
+
*/
|
|
2699
|
+
authorization?: {
|
|
2700
|
+
/**
|
|
2701
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2702
|
+
* (ADR 075), which administers every project.
|
|
2703
|
+
*/
|
|
2704
|
+
path: 'platform_operator';
|
|
2705
|
+
/** The project the actor's user belongs to. */
|
|
2706
|
+
actor_home_project_id?: string;
|
|
2707
|
+
};
|
|
2076
2708
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2077
2709
|
client?: {
|
|
2078
2710
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2148,6 +2780,19 @@ export type GetEvent200 = ({
|
|
|
2148
2780
|
* live risk-evaluator input.
|
|
2149
2781
|
*/
|
|
2150
2782
|
metadata?: {
|
|
2783
|
+
/**
|
|
2784
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2785
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2786
|
+
*/
|
|
2787
|
+
authorization?: {
|
|
2788
|
+
/**
|
|
2789
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2790
|
+
* (ADR 075), which administers every project.
|
|
2791
|
+
*/
|
|
2792
|
+
path: 'platform_operator';
|
|
2793
|
+
/** The project the actor's user belongs to. */
|
|
2794
|
+
actor_home_project_id?: string;
|
|
2795
|
+
};
|
|
2151
2796
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2152
2797
|
client?: {
|
|
2153
2798
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2226,6 +2871,19 @@ export type GetEvent200 = ({
|
|
|
2226
2871
|
* live risk-evaluator input.
|
|
2227
2872
|
*/
|
|
2228
2873
|
metadata?: {
|
|
2874
|
+
/**
|
|
2875
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2876
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2877
|
+
*/
|
|
2878
|
+
authorization?: {
|
|
2879
|
+
/**
|
|
2880
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2881
|
+
* (ADR 075), which administers every project.
|
|
2882
|
+
*/
|
|
2883
|
+
path: 'platform_operator';
|
|
2884
|
+
/** The project the actor's user belongs to. */
|
|
2885
|
+
actor_home_project_id?: string;
|
|
2886
|
+
};
|
|
2229
2887
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2230
2888
|
client?: {
|
|
2231
2889
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2291,6 +2949,19 @@ export type GetEvent200 = ({
|
|
|
2291
2949
|
* live risk-evaluator input.
|
|
2292
2950
|
*/
|
|
2293
2951
|
metadata?: {
|
|
2952
|
+
/**
|
|
2953
|
+
* What authorized the request, when it was not a grant on the event's
|
|
2954
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
2955
|
+
*/
|
|
2956
|
+
authorization?: {
|
|
2957
|
+
/**
|
|
2958
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
2959
|
+
* (ADR 075), which administers every project.
|
|
2960
|
+
*/
|
|
2961
|
+
path: 'platform_operator';
|
|
2962
|
+
/** The project the actor's user belongs to. */
|
|
2963
|
+
actor_home_project_id?: string;
|
|
2964
|
+
};
|
|
2294
2965
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2295
2966
|
client?: {
|
|
2296
2967
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2356,6 +3027,19 @@ export type GetEvent200 = ({
|
|
|
2356
3027
|
* live risk-evaluator input.
|
|
2357
3028
|
*/
|
|
2358
3029
|
metadata?: {
|
|
3030
|
+
/**
|
|
3031
|
+
* What authorized the request, when it was not a grant on the event's
|
|
3032
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
3033
|
+
*/
|
|
3034
|
+
authorization?: {
|
|
3035
|
+
/**
|
|
3036
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
3037
|
+
* (ADR 075), which administers every project.
|
|
3038
|
+
*/
|
|
3039
|
+
path: 'platform_operator';
|
|
3040
|
+
/** The project the actor's user belongs to. */
|
|
3041
|
+
actor_home_project_id?: string;
|
|
3042
|
+
};
|
|
2359
3043
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2360
3044
|
client?: {
|
|
2361
3045
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2424,6 +3108,19 @@ export type GetEvent200 = ({
|
|
|
2424
3108
|
* live risk-evaluator input.
|
|
2425
3109
|
*/
|
|
2426
3110
|
metadata?: {
|
|
3111
|
+
/**
|
|
3112
|
+
* What authorized the request, when it was not a grant on the event's
|
|
3113
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
3114
|
+
*/
|
|
3115
|
+
authorization?: {
|
|
3116
|
+
/**
|
|
3117
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
3118
|
+
* (ADR 075), which administers every project.
|
|
3119
|
+
*/
|
|
3120
|
+
path: 'platform_operator';
|
|
3121
|
+
/** The project the actor's user belongs to. */
|
|
3122
|
+
actor_home_project_id?: string;
|
|
3123
|
+
};
|
|
2427
3124
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2428
3125
|
client?: {
|
|
2429
3126
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2490,6 +3187,19 @@ export type GetEvent200 = ({
|
|
|
2490
3187
|
* live risk-evaluator input.
|
|
2491
3188
|
*/
|
|
2492
3189
|
metadata?: {
|
|
3190
|
+
/**
|
|
3191
|
+
* What authorized the request, when it was not a grant on the event's
|
|
3192
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
3193
|
+
*/
|
|
3194
|
+
authorization?: {
|
|
3195
|
+
/**
|
|
3196
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
3197
|
+
* (ADR 075), which administers every project.
|
|
3198
|
+
*/
|
|
3199
|
+
path: 'platform_operator';
|
|
3200
|
+
/** The project the actor's user belongs to. */
|
|
3201
|
+
actor_home_project_id?: string;
|
|
3202
|
+
};
|
|
2493
3203
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2494
3204
|
client?: {
|
|
2495
3205
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2558,6 +3268,19 @@ export type GetEvent200 = ({
|
|
|
2558
3268
|
* live risk-evaluator input.
|
|
2559
3269
|
*/
|
|
2560
3270
|
metadata?: {
|
|
3271
|
+
/**
|
|
3272
|
+
* What authorized the request, when it was not a grant on the event's
|
|
3273
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
3274
|
+
*/
|
|
3275
|
+
authorization?: {
|
|
3276
|
+
/**
|
|
3277
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
3278
|
+
* (ADR 075), which administers every project.
|
|
3279
|
+
*/
|
|
3280
|
+
path: 'platform_operator';
|
|
3281
|
+
/** The project the actor's user belongs to. */
|
|
3282
|
+
actor_home_project_id?: string;
|
|
3283
|
+
};
|
|
2561
3284
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2562
3285
|
client?: {
|
|
2563
3286
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2623,6 +3346,19 @@ export type GetEvent200 = ({
|
|
|
2623
3346
|
* live risk-evaluator input.
|
|
2624
3347
|
*/
|
|
2625
3348
|
metadata?: {
|
|
3349
|
+
/**
|
|
3350
|
+
* What authorized the request, when it was not a grant on the event's
|
|
3351
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
3352
|
+
*/
|
|
3353
|
+
authorization?: {
|
|
3354
|
+
/**
|
|
3355
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
3356
|
+
* (ADR 075), which administers every project.
|
|
3357
|
+
*/
|
|
3358
|
+
path: 'platform_operator';
|
|
3359
|
+
/** The project the actor's user belongs to. */
|
|
3360
|
+
actor_home_project_id?: string;
|
|
3361
|
+
};
|
|
2626
3362
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2627
3363
|
client?: {
|
|
2628
3364
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2693,6 +3429,19 @@ export type GetEvent200 = ({
|
|
|
2693
3429
|
* live risk-evaluator input.
|
|
2694
3430
|
*/
|
|
2695
3431
|
metadata?: {
|
|
3432
|
+
/**
|
|
3433
|
+
* What authorized the request, when it was not a grant on the event's
|
|
3434
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
3435
|
+
*/
|
|
3436
|
+
authorization?: {
|
|
3437
|
+
/**
|
|
3438
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
3439
|
+
* (ADR 075), which administers every project.
|
|
3440
|
+
*/
|
|
3441
|
+
path: 'platform_operator';
|
|
3442
|
+
/** The project the actor's user belongs to. */
|
|
3443
|
+
actor_home_project_id?: string;
|
|
3444
|
+
};
|
|
2696
3445
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2697
3446
|
client?: {
|
|
2698
3447
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2759,6 +3508,19 @@ export type GetEvent200 = ({
|
|
|
2759
3508
|
* live risk-evaluator input.
|
|
2760
3509
|
*/
|
|
2761
3510
|
metadata?: {
|
|
3511
|
+
/**
|
|
3512
|
+
* What authorized the request, when it was not a grant on the event's
|
|
3513
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
3514
|
+
*/
|
|
3515
|
+
authorization?: {
|
|
3516
|
+
/**
|
|
3517
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
3518
|
+
* (ADR 075), which administers every project.
|
|
3519
|
+
*/
|
|
3520
|
+
path: 'platform_operator';
|
|
3521
|
+
/** The project the actor's user belongs to. */
|
|
3522
|
+
actor_home_project_id?: string;
|
|
3523
|
+
};
|
|
2762
3524
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2763
3525
|
client?: {
|
|
2764
3526
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2828,6 +3590,19 @@ export type GetEvent200 = ({
|
|
|
2828
3590
|
* live risk-evaluator input.
|
|
2829
3591
|
*/
|
|
2830
3592
|
metadata?: {
|
|
3593
|
+
/**
|
|
3594
|
+
* What authorized the request, when it was not a grant on the event's
|
|
3595
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
3596
|
+
*/
|
|
3597
|
+
authorization?: {
|
|
3598
|
+
/**
|
|
3599
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
3600
|
+
* (ADR 075), which administers every project.
|
|
3601
|
+
*/
|
|
3602
|
+
path: 'platform_operator';
|
|
3603
|
+
/** The project the actor's user belongs to. */
|
|
3604
|
+
actor_home_project_id?: string;
|
|
3605
|
+
};
|
|
2831
3606
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2832
3607
|
client?: {
|
|
2833
3608
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|
|
@@ -2893,6 +3668,19 @@ export type GetEvent200 = ({
|
|
|
2893
3668
|
* live risk-evaluator input.
|
|
2894
3669
|
*/
|
|
2895
3670
|
metadata?: {
|
|
3671
|
+
/**
|
|
3672
|
+
* What authorized the request, when it was not a grant on the event's
|
|
3673
|
+
* project (ADR 053 §8). Every event of such a request carries it.
|
|
3674
|
+
*/
|
|
3675
|
+
authorization?: {
|
|
3676
|
+
/**
|
|
3677
|
+
* `platform_operator`: the deployment's platform operator relation
|
|
3678
|
+
* (ADR 075), which administers every project.
|
|
3679
|
+
*/
|
|
3680
|
+
path: 'platform_operator';
|
|
3681
|
+
/** The project the actor's user belongs to. */
|
|
3682
|
+
actor_home_project_id?: string;
|
|
3683
|
+
};
|
|
2896
3684
|
/** Observed HTTP requestor context on Path A request.api only. */
|
|
2897
3685
|
client?: {
|
|
2898
3686
|
/** Client IP from the first X-Forwarded-For hop or RemoteAddr. */
|