fix: show OCSP stapling as informational, not pass/fail#307
Open
maximillions-dev wants to merge 1 commit into
Open
fix: show OCSP stapling as informational, not pass/fail#307maximillions-dev wants to merge 1 commit into
maximillions-dev wants to merge 1 commit into
Conversation
The OCSP Stapling row in the TLS Connection card used the yesNo() helper, rendering 'β No' when the server doesn't staple OCSP responses. Since OCSP stapling is a performance optimization rather than a security requirement, displaying it as a failure is misleading. Replaced with a neutral ocspStatus() that shows 'Yes' or 'Not enabled' without emoji icons. The analysis rule (tls-connection.ts) already uses severity 'info' for this check, so the Advisory panel was correct; only the card display was wrong. Closes lissy93#299
β Deploy Preview for web-check ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The TLS Connection card showed β No when OCSP stapling wasn't enabled, which makes it look like a security failure. OCSP stapling is a performance optimization β absence isn't an issue.
Changed the card display from:
Before: β No β Yes
After: Not enabled Yes
No emoji, no red cross. Just factual.
The analysis rule already uses severity: 'info' for this check, so the advisory panel was correct β only the card display was misleading.
Verified with tsc and prettier, both clean.