Skip to content

Fix OIDC broken test#851

Merged
eranturgeman merged 2 commits intojfrog:devfrom
eranturgeman:fix-broken-oidc-tests
Apr 2, 2025
Merged

Fix OIDC broken test#851
eranturgeman merged 2 commits intojfrog:devfrom
eranturgeman:fix-broken-oidc-tests

Conversation

@eranturgeman
Copy link
Collaborator

@eranturgeman eranturgeman commented Apr 2, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.
  • Update documentation about new features / new supported technologies

Due to security enhancement to the OIDC mechanism, identity mappings require more strict fields that will limit the oidc mechanism to a certain flow/owner/repository etc..
Since we want the tests to work in jfrog/frogbot as well as personal forks (in order to reflect changes before merges) we cannot add those kind of fields. Therefore we added a field that allows to use the "lighter" kind of identity mappings like we had before the change. Since this affects only the OIDC test we have no security risk.

We cannot see any CI changes before we merge it, therefore the tests are still seems to be failing here, but in a fork we can see the issue is fixed:

Screenshot 2025-04-02 at 13 45 35

@eranturgeman eranturgeman requested a review from attiasas April 2, 2025 10:38
@eranturgeman eranturgeman added bug Something isn't working safe to test Approve running integration tests on a pull request labels Apr 2, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Apr 2, 2025
@eranturgeman eranturgeman added the safe to test Approve running integration tests on a pull request label Apr 2, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Apr 2, 2025
Copy link
Contributor

@attiasas attiasas left a comment

Choose a reason for hiding this comment

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

Nice!, LGTM

@github-actions
Copy link
Contributor

github-actions bot commented Apr 2, 2025

👍 Frogbot scanned this pull request and did not find any new security issues.


@eranturgeman eranturgeman added the safe to test Approve running integration tests on a pull request label Apr 2, 2025
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Apr 2, 2025
@eranturgeman eranturgeman merged commit cd5cb5d into jfrog:dev Apr 2, 2025
51 of 93 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants