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 ssl certificate metrics #130

Merged
merged 2 commits into from
Feb 18, 2024
Merged

add ssl certificate metrics #130

merged 2 commits into from
Feb 18, 2024

Conversation

cortesem
Copy link
Contributor

@cortesem cortesem commented Feb 6, 2024

This PR adds SSL certificate metrics from the get certificates API.

Works just like the system license metric, where the value is the time in seconds until expiry.

Example metric: artifactory_security_certificates{alias="certificate alias",expires="2023-10-10T00:00:00.000Z",issued_by="some certificate authority",node_id="my-artifactory"} -1.2345678e+07

@cortesem cortesem requested a review from peimanja as a code owner February 6, 2024 16:13
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Owner

@peimanja peimanja left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks for the contribution.

@peimanja peimanja merged commit fcb76b4 into peimanja:master Feb 18, 2024
2 checks passed
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