File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ authenticated.post(
118118 verifyOrgAccess ,
119119 verifyAdmin ,
120120 verifyUserHasAction ( ActionsEnum . createOAuthClient ) ,
121+ logActionAudit ( ActionsEnum . createOAuthClient ) ,
121122 oauth . createOAuthClient
122123) ;
123124authenticated . get (
@@ -139,20 +140,23 @@ authenticated.patch(
139140 verifyOrgAccess ,
140141 verifyAdmin ,
141142 verifyUserHasAction ( ActionsEnum . updateOAuthClient ) ,
143+ logActionAudit ( ActionsEnum . updateOAuthClient ) ,
142144 oauth . updateOAuthClient
143145) ;
144146authenticated . delete (
145147 "/org/:orgId/oauth-clients/:clientId" ,
146148 verifyOrgAccess ,
147149 verifyAdmin ,
148150 verifyUserHasAction ( ActionsEnum . deleteOAuthClient ) ,
151+ logActionAudit ( ActionsEnum . deleteOAuthClient ) ,
149152 oauth . deleteOAuthClient
150153) ;
151154authenticated . post (
152155 "/org/:orgId/oauth-clients/:clientId/rotate-secret" ,
153156 verifyOrgAccess ,
154157 verifyAdmin ,
155158 verifyUserHasAction ( ActionsEnum . updateOAuthClient ) ,
159+ logActionAudit ( ActionsEnum . updateOAuthClient ) ,
156160 oauth . rotateOAuthClientSecret
157161) ;
158162
Original file line number Diff line number Diff line change @@ -1069,6 +1069,7 @@ authenticated.post(
10691069 verifyApiKeyOrgAccess ,
10701070 verifyLimits ,
10711071 verifyApiKeyHasAction ( ActionsEnum . createOAuthClient ) ,
1072+ logActionAudit ( ActionsEnum . createOAuthClient ) ,
10721073 oauth . createOAuthClient
10731074) ;
10741075
@@ -1091,13 +1092,15 @@ authenticated.patch(
10911092 verifyApiKeyOrgAccess ,
10921093 verifyLimits ,
10931094 verifyApiKeyHasAction ( ActionsEnum . updateOAuthClient ) ,
1095+ logActionAudit ( ActionsEnum . updateOAuthClient ) ,
10941096 oauth . updateOAuthClient
10951097) ;
10961098
10971099authenticated . delete (
10981100 "/org/:orgId/oauth-clients/:clientId" ,
10991101 verifyApiKeyOrgAccess ,
11001102 verifyApiKeyHasAction ( ActionsEnum . deleteOAuthClient ) ,
1103+ logActionAudit ( ActionsEnum . deleteOAuthClient ) ,
11011104 oauth . deleteOAuthClient
11021105) ;
11031106
@@ -1106,5 +1109,6 @@ authenticated.post(
11061109 verifyApiKeyOrgAccess ,
11071110 verifyLimits ,
11081111 verifyApiKeyHasAction ( ActionsEnum . updateOAuthClient ) ,
1112+ logActionAudit ( ActionsEnum . updateOAuthClient ) ,
11091113 oauth . rotateOAuthClientSecret
11101114) ;
You can’t perform that action at this time.
0 commit comments