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

fix: sanity check for credential only [IA-360] #79

Merged
merged 2 commits into from May 2, 2024

Conversation

jaspervdj-snyk
Copy link
Contributor

In #77, I added a sanity check on startup. However, because this requests /orgs/{org_id}, this sanity check fails in the case a customer is using a custom role that only has permissions to publish kubernetes resources.

This PR changes that sanity check to use /self instead, which should always be available.

In #77, I added a sanity check on startup.  However, because this requests
`/orgs/{org_id}`, this sanity check fails in the case a customer is using a
custom role that **only** has permissions to publish kubernetes resources.

This PR changes that sanity check to use `/self` instead, which should always
be available.
@jaspervdj-snyk jaspervdj-snyk marked this pull request as ready for review May 2, 2024 08:23
@jaspervdj-snyk jaspervdj-snyk requested a review from a team as a code owner May 2, 2024 08:23
@jaspervdj-snyk jaspervdj-snyk merged commit 57e4205 into main May 2, 2024
9 checks passed
@jaspervdj-snyk jaspervdj-snyk deleted the fix/IA-360/sanity-check branch May 2, 2024 08:31
@jaspervdj-snyk
Copy link
Contributor Author

🎉 This PR is included in version 0.20.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants