Skip to content

Conversation

@SimonHorrocks1
Copy link
Contributor

@SimonHorrocks1 SimonHorrocks1 commented Jan 23, 2025

  • truncated vulnerability names
  • made vulnerability descriptions optional
  • no longer attempt to render links without urls

Description of Change

  1. Added StringUtils to Velocity content in ReportGenerator
  2. Updated gitlabReport.vsl with the relevant changes
    a. vulnerability name is truncated to 255 characters
    b. vulnerability description is only rendered if present
    c. links are only rendered if present

Related issues

Have test cases been added to cover the new functionality?

no

@boring-cyborg boring-cyborg bot added the core changes to core label Jan 23, 2025
* truncated vulnerability names
* made vulnerability descriptions optional
* no longer attempt to render links without urls
@jeremylong jeremylong added this to the 12.0.2 milestone Jan 25, 2025
@jeremylong jeremylong merged commit 28b951d into dependency-check:main Jan 25, 2025
9 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

core changes to core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gitlab report schema compatibility issues with name, description, and links

2 participants