Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 13, 2025

The vulnerability display used inconsistent colors that didn't provide clear visual distinction between severity levels (critical and high were both red variants, medium was yellow, low was green).

Changes

Updated color mappings in secator/output_types/vulnerability.py:

colors = {
    'critical': 'red',           # was: 'bold red'
    'high': 'dark_orange',       # was: 'red'
    'medium': 'orange',          # was: 'yellow'
    'low': 'cyan',              # was: 'green'
}

This creates a clearer gradient from red (critical) through orange tones (high/medium) to cyan (low), making severity levels immediately distinguishable in terminal output and reports.

Original prompt

This section details on the original issue you should resolve

<issue_title>feat : Improve graph colors</issue_title>
<issue_description>Make sure the colors in the WorkspaceDetails component's vulnerability graphs reflect the label values:

  • critical --> red
  • high --> dark orange
  • medium --> orange
  • low --> real
    </issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 13, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Co-authored-by: ocervell <9629314+ocervell@users.noreply.github.com>
Copilot AI changed the title [WIP] Improve graph colors in WorkspaceDetails component Update vulnerability severity color scheme for improved visual hierarchy Dec 13, 2025
Copilot AI requested a review from ocervell December 13, 2025 20:12
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.

feat : Improve graph colors

2 participants