-
Notifications
You must be signed in to change notification settings - Fork 2k
fix: Prevent an App from setting a public address that conflicts with a Teleport Proxy public address 👮🏾 #58475
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
37902d9
fix: apps should not be able to set public_addr to the web proxy address
cthach 129f33a
feat: add API validation
cthach a54ce1a
test: add coverage for UpsertApplicationServer
cthach ce538a4
refactor: polish
cthach 9b071c1
refactor: make consistent
cthach 23fcc9b
refactor: use ValidateApp func everywhere. Revert changes to Check* m…
cthach 3055ab3
refactor: dedupe
cthach e91ef38
refactor: improve error messages for application address conflicts an…
cthach ad2421d
ux: bubble up friendly error to UI
cthach 350e3a5
refactor: revert unnecessary change
cthach 9590c4d
fix: app public address in redirect
cthach 1f29fed
Merge branch 'master' into cthach/restrict-public-addr
cthach 0042a49
fix: streamline proxy address validation in ValidateApp function
cthach be130f5
refactor: remove contact cluster admin in favor of self-service. Add …
cthach 3cddb81
Apply suggestions from code review
cthach 293a182
fix: skip proxy servers with unset public addresses in ValidateApp fu…
cthach 36361ed
Merge branch 'master' into cthach/restrict-public-addr
cthach 20b176c
refactor: simplify error messages for application public address conf…
cthach 3ffc606
fix: logging in the wrong spot
cthach b5e75b5
fix: handle when a server has multiple public addrs
cthach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.