You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/09/17 12:15:00 UTC

[jira] [Work logged] (KNOX-3460) Audit all token-exchange flows including minted token fields

     [ https://issues.apache.org/jira/browse/KNOX-3460?focusedWorklogId=1042341&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1042341 ]

ASF GitHub Bot logged work on KNOX-3460:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Sep/26 12:14
            Start Date: 17/Sep/26 12:14
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on PR #1409:
URL: https://github.com/apache/knox/pull/1409#issuecomment-5714170657

   cc. @hsheinblatt 




Issue Time Tracking
-------------------

    Worklog Id:     (was: 1042341)
    Time Spent: 20m  (was: 10m)

> Audit all token-exchange flows including minted token fields
> ------------------------------------------------------------
>
>                 Key: KNOX-3460
>                 URL: https://issues.apache.org/jira/browse/KNOX-3460
>             Project: Apache Knox
>          Issue Type: Sub-task
>          Components: Server
>    Affects Versions: 3.1.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 3.1.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Only the delegation policy decision is audited today (TokenExchangeHandler success/failure inside the delegation branch). The same-subject exchange path emits no TOKEN_EXCHANGE audit record at all (only the generic AUTHENTICATION audit from the shared {{{}continueWithEstablishedSecurityContext{}}}). Minted-token fields — jti, expiry, issued_subject — are unauditable from the filter because they only exist after TokenResource mints the token, and TokenResource has no auditing whatsoever today.
> *Scope:*
>  # Audit all three exchange paths in the handler with the fields known pre-mint (incl. same-subject).
>  # Add a TOKEN_EXCHANGE mint-time audit in TokenResource.getJWT() for exchange-originated mints, emitting jti/expiry/issued_subject
> *Explicitly out of scope:* auditing ordinary (non-exchange) token issuance.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)