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

fix(inputs.x509_cert): Add config to left-pad serial number to 128-bits #16447

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DStrand1
Copy link
Member

Summary

Fixes leading zeroes being trimmed on x509 certificate serial numbers

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #16418

@telegraf-tiger telegraf-tiger bot added fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Jan 29, 2025
@DStrand1 DStrand1 self-assigned this Jan 29, 2025
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @DStrand1! One comment...

plugins/inputs/x509_cert/x509_cert.go Outdated Show resolved Hide resolved
@DStrand1 DStrand1 changed the title fix(inputs.x509_cert): Fix serial number leading zeroes trimmed fix(inputs.x509_cert): Add config to left-pad serial number to 128-bits Jan 31, 2025
@telegraf-tiger
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inputs.x509_cert trims leading 0 for serial_number
2 participants