feat: Enrich ASVS mapping with Description and Level#2260
Open
InFiNiTy0639 wants to merge 4 commits intoOWASP:masterfrom
Open
feat: Enrich ASVS mapping with Description and Level#2260InFiNiTy0639 wants to merge 4 commits intoOWASP:masterfrom
InFiNiTy0639 wants to merge 4 commits intoOWASP:masterfrom
Conversation
Contributor
Build artifacts:
|
sydseter
approved these changes
Feb 16, 2026
Collaborator
|
Great! Thank you for your time! |
sydseter
previously approved these changes
Feb 16, 2026
Collaborator
|
@InFiNiTy0639 your commits needs a verified signature. |
Author
Thanks @sydseter For Your Review |
Author
|
Collaborator
|
@InFiNiTy0639 your commits must have a verified signature. |
Author
@sydseter SSH Signing? |
2f6e4ec to
9effd96
Compare
9effd96 to
4314546
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.
fix #2246
This PR Enrich ASVS Mapping with Description and Level
Description
This PR updates the
convert_capec_map_to_asvs_map.pyscript to read theASVS 5.0 JSONsource file and enrich the generatedwebapp-asvs-3.0.yamlmapping file withdescriptionandlevelfields for each ASVS requirement.Changes
Modified
scripts/convert_capec_map_to_asvs_map.py:1. Added
load_json_fileutility function.2. Added
extract_asvs_detailsfunction to parse ASVS JSON.3. Updated
mainto load ASVS JSON and pass details for enrichment.4. Updated
convert_to_output_formatto includedescriptionandlevelin the output YAML.Updated
source/webapp-asvs-3.0.yaml:1. Regenerated file now includes
descriptionandlevelfields for all mapped requirements.Modified
tests/scripts/convert_capec_map_to_asvs_map_utest.py:1. Updated
TestMainFunctionto mock the new--asvs-jsonargument.2. Added tests for parsing the new argument.
Verification
python scripts/convert_capec_map_to_asvs_map.py -v 3.0 -e webappsource/webapp-asvs-3.0.yamlwas generated without errors.