-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[configtls] Validate MinVersion
and MaxVersion
#9475
Comments
Hi, Do we want to call |
@molejnik88 we should add a |
@TylerHelmuth are you saying this would be automatic, or does each config's Validate need to call TLSSettings.Validate() explicitly? |
As long as I am reading this correctly, it is automatic. The |
I'd like to work on this issue. Can you please assign it to me? |
Done, go for it |
**Description:** Add `Validate()` method to `TLSSetting` and validate tls `min_version` and `max_version`. **Link to tracking Issue:** #9475
We effectively restrict the allowed versions to the set defined here:
opentelemetry-collector/config/configtls/configtls.go
Line 382 in f5a7315
We should validate for it! This can be done after 1.0 per the rules we have here
opentelemetry-collector/VERSIONING.md
Lines 52 to 54 in f5a7315
Still, it would be nice to have before 1.0 IMO
The text was updated successfully, but these errors were encountered: