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

add metrics for x509 NotBefore attribute #170

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

UiP9AV6Y
Copy link
Contributor

this is similar to the NotAfter metrics, except it depicts the timestamp of when the certificate starts to be valid.

Copy link
Owner

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

Thanks for the addition. Are you able to add a test here:

https://github.com/joe-elliott/cert-exporter/blob/master/test/files/test.sh

this is similar to the NotAfter metrics, except it depicts the
timestamp of when the certificate *starts* to be valid.
@joe-elliott joe-elliott merged commit 5565b9f into joe-elliott:master Jul 30, 2024
1 check passed
@joe-elliott
Copy link
Owner

Nice! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants