Skip to content
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

Remove deprecated TLS fields #28487

Merged

Conversation

r00tu53r
Copy link
Contributor

@r00tu53r r00tu53r commented Oct 18, 2021

What does this PR do?

This PR removes deprecated fields in favor of those in tls.server.x509 and tls.client.x509 -

  • version -> tls.server.x509.version,
  • province -> tls.server.x509.subject.province
  • tls.detailed.server_certificate
  • tls.detailed.client_certificate

Why is it important?

Removes duplicate TLS fields.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc

Author's Checklist

How to test this PR locally

From packetbeat directory run -

mage goUnitTest
mage pythonUnitTest

Related Issues

Use cases

Screenshots

Logs

* Remove tls.detailed.server_certificate and
  tls.detailed.client_certificate in favor of x509
  fields in tls.server.x509 and tls.client.x509
  respectively
* Addresses part of elastic#19039
…ls.server.x509.version, tls.server.x509.subject.province
@r00tu53r r00tu53r added enhancement Team:Integrations Label for the Integrations team breaking change cleanup Team:Security-External Integrations 8.0-candidate backport-skip Skip notification from the automated backport with mergify labels Oct 18, 2021
@r00tu53r r00tu53r requested a review from a team as a code owner October 18, 2021 07:29
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Oct 18, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Oct 18, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-10-18T10:20:30.945+0000

  • Duration: 88 min 45 sec

  • Commit: 3c3bff4

Test stats 🧪

Test Results
Failed 0
Passed 4933
Skipped 45
Total 4978

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

@r00tu53r r00tu53r merged commit e6de79f into elastic:master Oct 18, 2021
Icedroid pushed a commit to Icedroid/beats that referenced this pull request Nov 1, 2021
* Remove version and province fields
* Remove tls.detailed.server_certificate and
  tls.detailed.client_certificate in favor of x509
  fields in tls.server.x509 and tls.client.x509
  respectively
* Update fields and documentation
* Update python unit tests to remove 
   tls.detailed.server_certificate, tls.server.x509.version, 
   tls.server.x509.subject.province
* Update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.0-candidate backport-skip Skip notification from the automated backport with mergify breaking change cleanup enhancement Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants