Skip to content

fix: validate tls version in config #287

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 2 commits into from
Mar 5, 2025

Conversation

kruskall
Copy link
Member

@kruskall kruskall commented Mar 5, 2025

What does this PR do?

Validate TLS versions when validating the config

Why is it important?

TLSVersion validate method is never called when validating the config causing min supported version to not be enforced

bump tls version in tests to 1.2 to avoid failing in fips mode

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • [ ]

Related issues

Sorry, something went wrong.

TLSVersion validate method is never called when validating the config
causing min supported version to not be enforced

bump tls version in tests to 1.2 to avoid failing in fips mode
@kruskall kruskall requested a review from a team as a code owner March 5, 2025 01:19
@kruskall kruskall requested review from AndersonQ and mauri870 and removed request for a team March 5, 2025 01:19
@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Mar 5, 2025
@elasticmachine
Copy link
Collaborator

elasticmachine commented Mar 5, 2025

💛 Build succeeded, but was flaky

Failed CI Steps

History

@kruskall kruskall merged commit ed5e3c2 into elastic:main Mar 5, 2025
5 checks passed
@kruskall kruskall deleted the fix/validate-tls-version branch March 5, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants