Skip to content

Commit d33a7f2

Browse files
committed
Fix app created event is missing in portal #5705
2 parents ef4a611 + 7ebe959 commit d33a7f2

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

pkg/admin/graphql/audit_log.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,9 @@ var auditLogActivityType = graphql.NewEnum(graphql.EnumConfig{
371371
"ADMIN_API_MUTATION_SET_PASSWORD_EXPIRED_EXECUTED": &graphql.EnumValueConfig{
372372
Value: "admin_api.mutation.set_password_expired.executed",
373373
},
374+
"PROJECT_APP_CREATED": &graphql.EnumValueConfig{
375+
Value: "project.app.created",
376+
},
374377
"PROJECT_APP_UPDATED": &graphql.EnumValueConfig{
375378
Value: "project.app.updated",
376379
},

portal/src/graphql/adminapi/globalTypes.generated.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ export enum AuditLogActivityType {
243243
IdentityUsernameRemoved = 'IDENTITY_USERNAME_REMOVED',
244244
IdentityUsernameUpdated = 'IDENTITY_USERNAME_UPDATED',
245245
M2MTokenCreated = 'M2M_TOKEN_CREATED',
246+
ProjectAppCreated = 'PROJECT_APP_CREATED',
246247
ProjectAppSecretViewed = 'PROJECT_APP_SECRET_VIEWED',
247248
ProjectAppUpdated = 'PROJECT_APP_UPDATED',
248249
ProjectBillingCheckoutCreated = 'PROJECT_BILLING_CHECKOUT_CREATED',

portal/src/graphql/adminapi/schema.graphql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,9 @@ enum AuditLogActivityType {
432432
""""""
433433
M2M_TOKEN_CREATED
434434

435+
""""""
436+
PROJECT_APP_CREATED
437+
435438
""""""
436439
PROJECT_APP_SECRET_VIEWED
437440

portal/src/locale-data/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,6 +1490,7 @@
14901490
"AuditLogActivityType.ADMIN_API_MUTATION_ADD_SCOPES_TO_CLIENTID_EXECUTED": "Admin API Mutation: Add scopes to client",
14911491
"AuditLogActivityType.ADMIN_API_MUTATION_REMOVE_SCOPES_FROM_CLIENTID_EXECUTED": "Admin API Mutation: Remove scopes from client",
14921492
"AuditLogActivityType.ADMIN_API_MUTATION_REPLACE_SCOPES_OF_CLIENTID_EXECUTED": "Admin API Mutation: Replace scopes of client",
1493+
"AuditLogActivityType.PROJECT_APP_CREATED": "Project: App created",
14931494
"AuditLogActivityType.PROJECT_APP_UPDATED": "Project: Configuration updated",
14941495
"AuditLogActivityType.PROJECT_APP_SECRET_VIEWED": "Project: Secret viewed",
14951496
"AuditLogActivityType.PROJECT_BILLING_CHECKOUT_CREATED": "Project: Billing checkout crreated",

0 commit comments

Comments
 (0)