Fix advisory template issue 8 Add a description#18
Open
kallal79 wants to merge 2 commits intorubysec:masterfrom
Open
Fix advisory template issue 8 Add a description#18kallal79 wants to merge 2 commits intorubysec:masterfrom
kallal79 wants to merge 2 commits intorubysec:masterfrom
Conversation
…liance - Enhanced advisory.html layout with professional styling and Rails Security format - Added comprehensive CSS styling with responsive design and color-coded severity indicators - Improved CVSS scoring display with proper severity classification - Added support for impact, workarounds, patches, and credits sections - Enhanced version display with styled badges for patched/unaffected versions - Updated Rakefile with enhanced advisory generation support - Added CSS link to head.html for proper styling integration Addresses Issue rubysec#8: Add Advisory template based on Rails Security advisory format
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.
Summary
This PR addresses Issue #8 by implementing a comprehensive advisory template based on the Rails Security advisory format with enhanced styling and functionality.
Changes Made
_layouts/advisory.html): Complete redesign following Rails Security format with proper section organizationassets/css/advisory.css): Added comprehensive styling with responsive design and color-coded severity indicators_includes/head.html): Updated to include the new advisory CSS fileRakefile): Improved advisory processing with support for additional fields (impact, workarounds, patches, credits)Key Features
Rails Security advisory format compliance
Color-coded CVSS severity indicators (None, Low, Medium, High, Critical)
Professional responsive design
Support for impact, workarounds, patches, and credits sections
Enhanced version display with styled badges
Proper security identifier linking (CVE, GHSA, OSVDB)
Mobile-responsive layout
Testing
Closes
Closes #8