Skip to content

feat: add OWASP analysis fields to FindingAudit component#1553

Open
fahedouch wants to merge 1 commit into
DependencyTrack:mainfrom
fahedouch:frontend-rating-source-tracking-v5
Open

feat: add OWASP analysis fields to FindingAudit component#1553
fahedouch wants to merge 1 commit into
DependencyTrack:mainfrom
fahedouch:frontend-rating-source-tracking-v5

Conversation

@fahedouch
Copy link
Copy Markdown

Description

Same change as DependencyTrack/hyades-frontend#465, moved here since v5 dev is on this repo now. Adds the OWASP RR vector/score and the analysis source to the finding audit
panel (read-only), goes together with the backend PR DependencyTrack/dependency-track#6210.

Addressed Issue

Additional Details

Checklist

Signed-off-by: Fahed Dorgaa <fahed.dorgaa@gmail.com>
Copilot AI review requested due to automatic review settings May 29, 2026 19:50
@owasp-dt-bot
Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds display of OWASP Risk Rating vector, score, and analysis source fields to the Finding Audit view, along with corresponding i18n keys across all supported locales.

Changes:

  • Added three new read-only form fields (OWASP RR Vector, OWASP RR Score, Analysis Source) to the Finding Audit view, populated from the analysis object.
  • Added new data properties and population logic in the populateAnalysisData method.
  • Added new i18n keys (owasp_rr_vector, owasp_rr_score, analysis_source) across all locale files, with English translations and null placeholders for other languages.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/views/portfolio/projects/FindingAudit.vue Adds UI fields and data bindings for OWASP RR vector/score and analysis source.
src/i18n/locales/en.json Adds English translations for the new i18n keys.
src/i18n/locales/de.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/es.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/fr.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/hi.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/it.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/ja.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/pl.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/pt-BR.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/pt.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/ru.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/uk-UA.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/zh-TW.json Adds placeholder (null) entries for the new keys.
src/i18n/locales/zh.json Adds placeholder (null) entries for the new keys.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +143 to +145
<b-form-group
v-if="owaspScore"
id="fieldset-owasp-score"
Comment on lines +495 to +503
if (Object.prototype.hasOwnProperty.call(analysis, 'owaspVector')) {
this.owaspVector = analysis.owaspVector;
}
if (Object.prototype.hasOwnProperty.call(analysis, 'owaspScore')) {
this.owaspScore = analysis.owaspScore;
}
if (Object.prototype.hasOwnProperty.call(analysis, 'source')) {
this.analysisSource = analysis.source;
}
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.

3 participants