PD-2262 - CVSS v4 Integration - #162
Merged
Merged
Conversation
Yibaebi
force-pushed
the
PD-2262-cvss-v4-integration-changes
branch
from
May 28, 2026 16:31
063a297 to
a46661c
Compare
… add new v4 metric enums
…with new structure and support both v3 and v4 metrics
Yibaebi
force-pushed
the
PD-2262-cvss-v4-integration-changes
branch
from
June 8, 2026 12:09
a46661c to
ec9fdfe
Compare
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.
Changelog
ak_vendor/enums.py:AttackRequirementsEnum(N/P)VulnerableSubsequentSystemImpactEnum(H/L/N — shared across VC, VI, VA, SC, SI, SA)UserInteractionV4Enum(N/P/A — replaces v3 N/R)CVSSVersionclass to inherit fromstrfor easier comparisonsak_vendor/report/report.pyto support both v3 and v4 metric structures, including correct base severity extraction for v4 vectorsak_vendor/templates/report_template.htmlto render CVSS v4 metrics table alongside legacy v3 metricscvssdependency to>=3.6inpyproject.tomlak_vendor/locale/ja/LC_MESSAGES/django.poDependent PRs