Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(security): require the aud claim from OIDC providers by default #12187

Merged

Conversation

crenshaw-dev
Copy link
Collaborator

Signed-off-by: Michael Crenshaw 350466+crenshaw-dev@users.noreply.github.com

Note on DCO:

If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • Optional. My organization is added to USERS.md.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Copy link
Collaborator

@leoluz leoluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crenshaw-dev crenshaw-dev enabled auto-merge (squash) January 27, 2023 19:21
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Jan 27, 2023

Codecov Report

Base: 47.41% // Head: 47.43% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (2ad7d25) compared to base (4610bc8).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12187      +/-   ##
==========================================
+ Coverage   47.41%   47.43%   +0.02%     
==========================================
  Files         246      246              
  Lines       41815    41824       +9     
==========================================
+ Hits        19825    19838      +13     
+ Misses      19994    19990       -4     
  Partials     1996     1996              
Impacted Files Coverage Δ
util/settings/settings.go 49.20% <0.00%> (+0.92%) ⬆️
util/oidc/provider.go 34.42% <0.00%> (-1.79%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@crenshaw-dev crenshaw-dev merged commit adb4471 into argoproj:master Jan 27, 2023
@crenshaw-dev crenshaw-dev deleted the default-to-require-aud-claim branch January 27, 2023 22:43
crenshaw-dev added a commit that referenced this pull request Jan 27, 2023
#12187)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@crenshaw-dev
Copy link
Collaborator Author

Cherry-picked onto release-2.6 for 2.6.0-rc6.

schakrad pushed a commit to schakrad/argo-cd that referenced this pull request Mar 14, 2023
argoproj#12187)

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: schakrad <chakradari.sindhu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants