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

Clarify CertChainValidationResult output control #1177

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Dec 17, 2024

Update CertChainValidationResult interface doc comments to clarify that implementations should not rely on
leading/trailing whitespace to be retained in output for Status, Overview, StatusDetail, String and Report method output.

Update CertChainValidationResults.Report method to explicitly trim leading/trailing whitespace in called Report method and add explicit trailing nagios.CheckOutputEOL value.

Update `CertChainValidationResult` interface doc comments to
clarify that implementations should not rely on
leading/trailing whitespace to be retained in output for
`Status`, `Overview`, `StatusDetail`, `String` and `Report`
method output.

Update `CertChainValidationResults.Report` method to explicitly
trim leading/trailing whitespace in called `Report` method and
add explicit trailing `nagios.CheckOutputEOL` value.
@atc0005 atc0005 added documentation Improvements or additions to documentation plugin/check_cert app/lscert output/extended Long Service Output (aka, "extended" or "detailed") labels Dec 17, 2024
@atc0005 atc0005 added this to the v0.26.0-alpha.2 milestone Dec 17, 2024
@atc0005 atc0005 self-assigned this Dec 17, 2024
@atc0005 atc0005 merged commit 16a2585 into development Dec 17, 2024
28 of 29 checks passed
@atc0005 atc0005 deleted the clarify-leading-trailing-whitespace-handling branch December 17, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app/lscert documentation Improvements or additions to documentation output/extended Long Service Output (aka, "extended" or "detailed") plugin/check_cert
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant