-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
add validate webhhook address #18996
Conversation
2de1a17
to
e6495ea
Compare
Codecov Report
@@ Coverage Diff @@
## main #18996 +/- ##
==========================================
- Coverage 70.58% 67.40% -3.19%
==========================================
Files 748 992 +244
Lines 95349 108804 +13455
Branches 0 2751 +2751
==========================================
+ Hits 67305 73334 +6029
- Misses 24416 31534 +7118
- Partials 3628 3936 +308
Flags with carried forward coverage won't be shown. Click here to find out more.
|
7496972
to
4ec6903
Compare
From security concern, I am not preferring to use net Dial for connection testing with the outside world. An attacker may use this scenario to perform insecure behaviors such as port scanning. |
use |
da93fce
to
69cdb3a
Compare
Signed-off-by: lengrongfu <[email protected]>
69cdb3a
to
62767a4
Compare
The webhook endpoint usually serves with the |
Because if the |
The retry mechanism is a common way to ensure the guarantee, it's not make sense to configure an unavailable endpoint and also the retry times can be customized by user. Line 127 in 560e6cd
|
This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days. |
This PR was closed because it has been stalled for 30 days with no activity. If this PR is still relevant, please re-open a new PR against main. |
Thank you for contributing to Harbor!
Comprehensive Summary of your change
The currently created wehook does not verify whether the address is available, and the jobserver fails to execute after saving.
Issue being fixed
Fixes #(issue)
Please indicate you've done the following: