-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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 certificate verification status to the x509_cert input #4877
Comments
I'd love to see this feature implemented.
Using tags for reporting it seems a good idea. |
You may want to set |
@danielnelson thanks for your reply. I think the plugin should report whether this certificate is valid or not, for example using a tag as you proposed. Here is an example of using
Disabling verification:
|
Feature Request
Proposal:
Add certificate verification status to the x509_cert input.
Current behavior:
Certificate validation is not reported, some aspects can be computed at query time but some checks are not performed.
Desired behavior:
Validate the certificate and report the status, potentially using https://golang.org/pkg/crypto/x509/#Certificate.Verify.
This could be reported as a tag
valid=true
orvalidation=success
and an integer fieldvalidation_code=0i
.Use case:
Needed to detect client issues that could occur using the certificate.
The text was updated successfully, but these errors were encountered: