Skip to content

Fix advisory template issue 8 Add a description#18

Open
kallal79 wants to merge 2 commits intorubysec:masterfrom
kallal79:fix-advisory-template-issue-8
Open

Fix advisory template issue 8 Add a description#18
kallal79 wants to merge 2 commits intorubysec:masterfrom
kallal79:fix-advisory-template-issue-8

Conversation

@kallal79
Copy link
Copy Markdown

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

  • Enhanced Advisory Layout (_layouts/advisory.html): Complete redesign following Rails Security format with proper section organization
  • Professional CSS Styling (assets/css/advisory.css): Added comprehensive styling with responsive design and color-coded severity indicators
  • CSS Integration (_includes/head.html): Updated to include the new advisory CSS file
  • Enhanced Generation (Rakefile): 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

  • Jekyll build successful
  • Advisory generation works correctly
  • All rake tasks function properly
  • Responsive design tested

Closes

Closes #8


…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
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.

Add Advisory template

1 participant