Fix OWASP importer hyperlinks - #1105
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. Summary by CodeRabbit
WalkthroughThe change updates OWASP hyperlink domains in four mapping fixtures and aligns the OWASP Top 10 2025 parser test with the new A01 URL. ChangesOWASP link updates
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to This PR updates OWASP reference URLs and keeps the parser expectation aligned, with no identified behavior or data risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (4 skipped: 4 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Update OWASP mapping fixture URLs to their current dedicated domains and align the parser test expectation.
Problem
Several importer hyperlinks still pointed to outdated owasp.org paths, resulting in incorrect or inaccessible links in imported mappings.
Solution
Replace legacy URLs with the current OWASP domains for API Security, Kubernetes Top 10, and OWASP Top 10 2025. Update the corresponding parser test assertion.
Files Changed
application/tests/fixtures/owasp_mappings/owasp_api_top10_2023.jsonapplication/tests/fixtures/owasp_mappings/owasp_kubernetes_top10_2022.jsonapplication/tests/fixtures/owasp_mappings/owasp_kubernetes_top10_2025.jsonapplication/tests/fixtures/owasp_mappings/owasp_top10_2025.jsonapplication/tests/owasp_top10_2025_parser_test.py