Skip to content

Commit ec87c0a

Browse files
fix: set all fetching public keys security events to ua221
1 parent 89ba8ec commit ec87c0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handler.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ local function custom_validate_token_signature(conf, jwt, second_call)
180180
elseif err_tbl.message == "No matching public key found for token algorithm" then
181181
security_event('ua221', 'ua, no matching public key for algorithm')
182182
elseif err_tbl.message == "kid header required: multiple keys match token algorithm" then
183-
security_event('ua201', 'ua, kid required when multiple keys match')
183+
security_event('ua221', 'ua, kid required when multiple keys match')
184184
elseif err_tbl.message == "No public keys available" then
185185
security_event('ua221', 'ua, no public keys available')
186186
else

0 commit comments

Comments
 (0)