-
-
Notifications
You must be signed in to change notification settings - Fork 391
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(client): Add Google's Identity-Aware-Proxy in client config #600
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TwiN
requested changes
Nov 1, 2023
605e8e1
to
505f293
Compare
a7f035c
to
a3daf17
Compare
TwiN
reviewed
Nov 24, 2023
TwiN
requested changes
Nov 24, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, can you resolve the conflict? I'll be able to merge after.
Hello, I've updated the dependencies, fix the conflict and locally build/run/test gatus. Everything looks good to me. |
@Kloox Thank you for your contribution! |
github-merge-queue bot
pushed a commit
to chezmoi-sh/atlas
that referenced
this pull request
Mar 23, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | OpenSSF | |---|---|---|---| | [TwiN/gatus](https://togithub.com/TwiN/gatus) | minor | `v5.7.0` -> `v5.8.0` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/TwiN/gatus/badge)](https://securityscorecards.dev/viewer/?uri=github.com/TwiN/gatus) | --- ### Release Notes <details> <summary>TwiN/gatus (TwiN/gatus)</summary> ### [`v5.8.0`](https://togithub.com/TwiN/gatus/releases/tag/v5.8.0) [Compare Source](https://togithub.com/TwiN/gatus/compare/v5.7.0...v5.8.0) ##### What's Changed - feat(client): Add Google's Identity-Aware-Proxy in client config by [@​Kloox](https://togithub.com/Kloox) in [TwiN/gatus#600 - feat(client): Add client network configuration for ICMP endpoint clients by [@​n-thumann](https://togithub.com/n-thumann) in [TwiN/gatus#661 - feat(http): enhance HTTP client configuration with proxy support by [@​appleboy](https://togithub.com/appleboy) in [TwiN/gatus#668 - feat: add ability to delay startup by [@​vax-r](https://togithub.com/vax-r) in [TwiN/gatus#631 - feat: shields.io endpoint badge by [@​buroa](https://togithub.com/buroa) in [TwiN/gatus#652 - fix(web): Allow configuration of read-buffer-size by [@​TwiN](https://togithub.com/TwiN) in [TwiN/gatus#675 - fix: Allow binding IPv6 addresses for web by [@​n-thumann](https://togithub.com/n-thumann) in [TwiN/gatus#650 - build: refine Makefile targets and build command by [@​appleboy](https://togithub.com/appleboy) in [TwiN/gatus#666 - refactor(alerting): Use pointer for receiver in AlertProvider.GetDefaultAlert method by [@​TwiN](https://togithub.com/TwiN) in [TwiN/gatus#676 - docs(alerting): Fix wrong gitlab terminology (alert key vs. PAT) by [@​salim-b](https://togithub.com/salim-b) in [TwiN/gatus#694 - chore(deps): bump actions/setup-go from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#634 - chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#649 - chore(deps): bump modernc.org/sqlite from 1.26.0 to 1.28.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#654 - chore(deps): bump codecov/codecov-action from 3.1.4 to 3.1.6 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#669 - chore(deps): bump codecov/codecov-action from 3.1.6 to 4.0.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#671 - chore(deps): bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#658 - chore(deps): bump github.com/gofiber/fiber/v2 from 2.49.2 to 2.52.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#682 - chore(deps): bump github.com/TwiN/deepmerge from 0.2.0 to 0.2.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#684 - chore(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#701 ##### New Contributors - [@​Kloox](https://togithub.com/Kloox) made their first contribution in [TwiN/gatus#600 - [@​n-thumann](https://togithub.com/n-thumann) made their first contribution in [TwiN/gatus#650 - [@​buroa](https://togithub.com/buroa) made their first contribution in [TwiN/gatus#652 **Full Changelog**: TwiN/gatus@v5.7.0...v5.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/chezmoi-sh/nex.rpi). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
xunleii
pushed a commit
to chezmoi-sh/atlas
that referenced
this pull request
May 19, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | OpenSSF | |---|---|---|---| | [TwiN/gatus](https://togithub.com/TwiN/gatus) | minor | `v5.7.0` -> `v5.8.0` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/TwiN/gatus/badge)](https://securityscorecards.dev/viewer/?uri=github.com/TwiN/gatus) | --- ### Release Notes <details> <summary>TwiN/gatus (TwiN/gatus)</summary> ### [`v5.8.0`](https://togithub.com/TwiN/gatus/releases/tag/v5.8.0) [Compare Source](https://togithub.com/TwiN/gatus/compare/v5.7.0...v5.8.0) ##### What's Changed - feat(client): Add Google's Identity-Aware-Proxy in client config by [@​Kloox](https://togithub.com/Kloox) in [TwiN/gatus#600 - feat(client): Add client network configuration for ICMP endpoint clients by [@​n-thumann](https://togithub.com/n-thumann) in [TwiN/gatus#661 - feat(http): enhance HTTP client configuration with proxy support by [@​appleboy](https://togithub.com/appleboy) in [TwiN/gatus#668 - feat: add ability to delay startup by [@​vax-r](https://togithub.com/vax-r) in [TwiN/gatus#631 - feat: shields.io endpoint badge by [@​buroa](https://togithub.com/buroa) in [TwiN/gatus#652 - fix(web): Allow configuration of read-buffer-size by [@​TwiN](https://togithub.com/TwiN) in [TwiN/gatus#675 - fix: Allow binding IPv6 addresses for web by [@​n-thumann](https://togithub.com/n-thumann) in [TwiN/gatus#650 - build: refine Makefile targets and build command by [@​appleboy](https://togithub.com/appleboy) in [TwiN/gatus#666 - refactor(alerting): Use pointer for receiver in AlertProvider.GetDefaultAlert method by [@​TwiN](https://togithub.com/TwiN) in [TwiN/gatus#676 - docs(alerting): Fix wrong gitlab terminology (alert key vs. PAT) by [@​salim-b](https://togithub.com/salim-b) in [TwiN/gatus#694 - chore(deps): bump actions/setup-go from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#634 - chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#649 - chore(deps): bump modernc.org/sqlite from 1.26.0 to 1.28.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#654 - chore(deps): bump codecov/codecov-action from 3.1.4 to 3.1.6 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#669 - chore(deps): bump codecov/codecov-action from 3.1.6 to 4.0.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#671 - chore(deps): bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#658 - chore(deps): bump github.com/gofiber/fiber/v2 from 2.49.2 to 2.52.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#682 - chore(deps): bump github.com/TwiN/deepmerge from 0.2.0 to 0.2.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#684 - chore(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#701 ##### New Contributors - [@​Kloox](https://togithub.com/Kloox) made their first contribution in [TwiN/gatus#600 - [@​n-thumann](https://togithub.com/n-thumann) made their first contribution in [TwiN/gatus#650 - [@​buroa](https://togithub.com/buroa) made their first contribution in [TwiN/gatus#652 **Full Changelog**: TwiN/gatus@v5.7.0...v5.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/chezmoi-sh/nex.rpi). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
xunleii
pushed a commit
to chezmoi-sh/atlas
that referenced
this pull request
May 19, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | OpenSSF | |---|---|---|---| | [TwiN/gatus](https://togithub.com/TwiN/gatus) | minor | `v5.7.0` -> `v5.8.0` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/TwiN/gatus/badge)](https://securityscorecards.dev/viewer/?uri=github.com/TwiN/gatus) | --- ### Release Notes <details> <summary>TwiN/gatus (TwiN/gatus)</summary> ### [`v5.8.0`](https://togithub.com/TwiN/gatus/releases/tag/v5.8.0) [Compare Source](https://togithub.com/TwiN/gatus/compare/v5.7.0...v5.8.0) ##### What's Changed - feat(client): Add Google's Identity-Aware-Proxy in client config by [@​Kloox](https://togithub.com/Kloox) in [TwiN/gatus#600 - feat(client): Add client network configuration for ICMP endpoint clients by [@​n-thumann](https://togithub.com/n-thumann) in [TwiN/gatus#661 - feat(http): enhance HTTP client configuration with proxy support by [@​appleboy](https://togithub.com/appleboy) in [TwiN/gatus#668 - feat: add ability to delay startup by [@​vax-r](https://togithub.com/vax-r) in [TwiN/gatus#631 - feat: shields.io endpoint badge by [@​buroa](https://togithub.com/buroa) in [TwiN/gatus#652 - fix(web): Allow configuration of read-buffer-size by [@​TwiN](https://togithub.com/TwiN) in [TwiN/gatus#675 - fix: Allow binding IPv6 addresses for web by [@​n-thumann](https://togithub.com/n-thumann) in [TwiN/gatus#650 - build: refine Makefile targets and build command by [@​appleboy](https://togithub.com/appleboy) in [TwiN/gatus#666 - refactor(alerting): Use pointer for receiver in AlertProvider.GetDefaultAlert method by [@​TwiN](https://togithub.com/TwiN) in [TwiN/gatus#676 - docs(alerting): Fix wrong gitlab terminology (alert key vs. PAT) by [@​salim-b](https://togithub.com/salim-b) in [TwiN/gatus#694 - chore(deps): bump actions/setup-go from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#634 - chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#649 - chore(deps): bump modernc.org/sqlite from 1.26.0 to 1.28.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#654 - chore(deps): bump codecov/codecov-action from 3.1.4 to 3.1.6 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#669 - chore(deps): bump codecov/codecov-action from 3.1.6 to 4.0.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#671 - chore(deps): bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#658 - chore(deps): bump github.com/gofiber/fiber/v2 from 2.49.2 to 2.52.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#682 - chore(deps): bump github.com/TwiN/deepmerge from 0.2.0 to 0.2.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#684 - chore(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#701 ##### New Contributors - [@​Kloox](https://togithub.com/Kloox) made their first contribution in [TwiN/gatus#600 - [@​n-thumann](https://togithub.com/n-thumann) made their first contribution in [TwiN/gatus#650 - [@​buroa](https://togithub.com/buroa) made their first contribution in [TwiN/gatus#652 **Full Changelog**: TwiN/gatus@v5.7.0...v5.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/chezmoi-sh/nex.rpi). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
xunleii
pushed a commit
to chezmoi-sh/atlas
that referenced
this pull request
May 19, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | OpenSSF | |---|---|---|---| | [TwiN/gatus](https://togithub.com/TwiN/gatus) | minor | `v5.7.0` -> `v5.8.0` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/TwiN/gatus/badge)](https://securityscorecards.dev/viewer/?uri=github.com/TwiN/gatus) | --- ### Release Notes <details> <summary>TwiN/gatus (TwiN/gatus)</summary> ### [`v5.8.0`](https://togithub.com/TwiN/gatus/releases/tag/v5.8.0) [Compare Source](https://togithub.com/TwiN/gatus/compare/v5.7.0...v5.8.0) ##### What's Changed - feat(client): Add Google's Identity-Aware-Proxy in client config by [@​Kloox](https://togithub.com/Kloox) in [TwiN/gatus#600 - feat(client): Add client network configuration for ICMP endpoint clients by [@​n-thumann](https://togithub.com/n-thumann) in [TwiN/gatus#661 - feat(http): enhance HTTP client configuration with proxy support by [@​appleboy](https://togithub.com/appleboy) in [TwiN/gatus#668 - feat: add ability to delay startup by [@​vax-r](https://togithub.com/vax-r) in [TwiN/gatus#631 - feat: shields.io endpoint badge by [@​buroa](https://togithub.com/buroa) in [TwiN/gatus#652 - fix(web): Allow configuration of read-buffer-size by [@​TwiN](https://togithub.com/TwiN) in [TwiN/gatus#675 - fix: Allow binding IPv6 addresses for web by [@​n-thumann](https://togithub.com/n-thumann) in [TwiN/gatus#650 - build: refine Makefile targets and build command by [@​appleboy](https://togithub.com/appleboy) in [TwiN/gatus#666 - refactor(alerting): Use pointer for receiver in AlertProvider.GetDefaultAlert method by [@​TwiN](https://togithub.com/TwiN) in [TwiN/gatus#676 - docs(alerting): Fix wrong gitlab terminology (alert key vs. PAT) by [@​salim-b](https://togithub.com/salim-b) in [TwiN/gatus#694 - chore(deps): bump actions/setup-go from 4 to 5 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#634 - chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#649 - chore(deps): bump modernc.org/sqlite from 1.26.0 to 1.28.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#654 - chore(deps): bump codecov/codecov-action from 3.1.4 to 3.1.6 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#669 - chore(deps): bump codecov/codecov-action from 3.1.6 to 4.0.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#671 - chore(deps): bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#658 - chore(deps): bump github.com/gofiber/fiber/v2 from 2.49.2 to 2.52.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#682 - chore(deps): bump github.com/TwiN/deepmerge from 0.2.0 to 0.2.1 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#684 - chore(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.18.0 by [@​dependabot](https://togithub.com/dependabot) in [TwiN/gatus#701 ##### New Contributors - [@​Kloox](https://togithub.com/Kloox) made their first contribution in [TwiN/gatus#600 - [@​n-thumann](https://togithub.com/n-thumann) made their first contribution in [TwiN/gatus#650 - [@​buroa](https://togithub.com/buroa) made their first contribution in [TwiN/gatus#652 **Full Changelog**: TwiN/gatus@v5.7.0...v5.8.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/chezmoi-sh/nex.rpi). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello @TwiN,
First of all, thank you for your time spent on Gatus. I really love it.
However, it is missing a feature that I really need so I suggest my pull request.
All details are below.
I would be very happy if my pull request could be merged so feel free to do any feedback if you feel that the pull request is not ready to merge for any reasons.
Checklist
Tested and/or added tests to validate that the changes work as intended, if applicable.
Updated documentation in
README.md
, if applicable.Describe the feature request:
This feature allow the users to generate a oauth2 client using the Google Identity-Aware-Proxy authentication (which does not follow client credentials authorization flow but use a custom flow using the Google Cloud Platform credentials) by specifying the audience in the endpoint config (see example).
Gatus will use the gcloud default credentials within its environment to generate the token.
Example:
Why do you personally want this feature to be implemented?
I use gatus in production and I want to monitor my services hosted in Google Cloud Platform which are protected behind IAP.
Merge this feature will allow me to use the official gatus sources for my production docker image instead of forking this project and recompile my custom sources. Furthermore, maybe it will be helpful for others users that use Gatus in a GCP environment.
How long have you been using this project?
Professionally, few weeks. Personally, few months.