Skip to content
Snippets Groups Projects

Resolve "Verify JWT audience in internal Kubernetes Agent API endpoint"

All threads resolved!

What does this MR do and why?

This MR allows to verify the audience when decoding a JWT and uses that feature for the KAS JWT auth.

This has been introduced in KAS a while back with More comprehensive JWT (gitlab-org/cluster-integration/gitlab-agent!114 - merged)

The ruby jwt gem supports this and it works similar to the issuer verification.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #267958 (closed)

Edited by Timo Furrer

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Alishan Ladhani removed review request for @ali-gitlab

    removed review request for @ali-gitlab

  • Timo Furrer added 1 commit

    added 1 commit

    • 0bdf44ec - Verify audience in JWT token sent by KAS

    Compare with previous version

  • Timo Furrer requested review from @ali-gitlab

    requested review from @ali-gitlab

  • Alishan Ladhani approved this merge request

    approved this merge request

  • Alishan Ladhani requested review from @cablett and @sgarg_gitlab and removed review request for @ali-gitlab

    requested review from @cablett and @sgarg_gitlab and removed review request for @ali-gitlab

  • :wave: @ali-gitlab, thanks for approving this merge request.

    This is the first time the merge request is approved. To ensure full test coverage, a new pipeline will be started shortly.

    For more info, please refer to the following links:

  • Timo Furrer added 1 commit

    added 1 commit

    • 66f01716 - Verify audience in JWT token sent by KAS

    Compare with previous version

  • Timo Furrer added 474 commits

    added 474 commits

    Compare with previous version

  • Timo Furrer added 1 commit

    added 1 commit

    • 02ebb4a5 - Verify audience in JWT token sent by KAS

    Compare with previous version

  • charlie ablett
  • Timo Furrer added 1 commit

    added 1 commit

    • 621c6cdd - Verify audience in JWT token sent by KAS

    Compare with previous version

  • charlie ablett resolved all threads

    resolved all threads

  • charlie ablett approved this merge request

    approved this merge request

  • Smriti Garg approved this merge request

    approved this merge request

  • Smriti Garg removed review request for @sgarg_gitlab

    removed review request for @sgarg_gitlab

  • charlie ablett resolved all threads

    resolved all threads

  • Great! Thanks for reviewing everyone!

    New pipe started and MWPS set :thumbsup:

  • charlie ablett enabled an automatic merge when the pipeline for edcbe211 succeeds

    enabled an automatic merge when the pipeline for edcbe211 succeeds

  • merged

  • charlie ablett mentioned in commit e290d5be

    mentioned in commit e290d5be

  • GitLab Release Tools Bot added workflowstaging-canary label and removed 1 deleted label

    added workflowstaging-canary label and removed 1 deleted label

  • added workflowstaging label and removed workflowcanary label

  • Please register or sign in to reply
    Loading