Skip to content

add token invalid security logging - #331

Open
jasmanchadha123 wants to merge 1 commit into
dev-cyberfrom
jasman/cy017-token-invalid-logging
Open

add token invalid security logging#331
jasmanchadha123 wants to merge 1 commit into
dev-cyberfrom
jasman/cy017-token-invalid-logging

Conversation

@jasmanchadha123

Copy link
Copy Markdown
Collaborator

Summary

Implemented additional CY017 security logging for invalid JWT tokens.

Changes

  • Added expired classification for expired JWT tokens.
  • Added malformed classification for malformed JWT tokens.
  • Added bad_signature classification for JWTs with an invalid signature.
  • Added refresh_expired logging for expired refresh tokens.
  • Used logTokenInvalid() to record the security events.
  • Kept the existing RBAC denial logging unchanged.

Testing

  • Verified the code changes and pushed the branch successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants