Skip to content

Fix OWASP importer hyperlinks - #1105

Open
Bornunique911 wants to merge 4 commits into
OWASP:mainfrom
Bornunique911:importers-links-fixes
Open

Bornunique911 wants to merge 4 commits into
OWASP:mainfrom
Bornunique911:importers-links-fixes

Conversation

@Bornunique911

@Bornunique911 Bornunique911 commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

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.json
application/tests/fixtures/owasp_mappings/owasp_kubernetes_top10_2022.json
application/tests/fixtures/owasp_mappings/owasp_kubernetes_top10_2025.json
application/tests/fixtures/owasp_mappings/owasp_top10_2025.json
application/tests/owasp_top10_2025_parser_test.py

@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: OWASP/OpenCRE/.coderabbit.yml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b488ad73-6a01-4682-adaf-aa0cbad199ef
📥 Commits

Reviewing files that changed from the base of the PR and between 6175ce3 and f6f902a.

📒 Files selected for processing (1)
  • application/tests/owasp_top10_2025_parser_test.py

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

Summary by CodeRabbit

  • Bug Fixes
    • Updated OWASP API Top 10 2023, Kubernetes Top 10 2022 and 2025, and general Top 10 2025 reference links to the revised OWASP domains.
    • Updated the expected OWASP Top 10 2025 parser link to match the revised reference URL, keeping displayed links consistent across the mappings and parser results.

Walkthrough

The change updates hyperlink domains in four OWASP mapping fixtures. It also updates the expected A01 URL in the OWASP Top 10 2025 parser test.

Changes

OWASP link updates

Layer / File(s) Summary
Update OWASP mapping URLs
application/tests/fixtures/owasp_mappings/*.json, application/tests/owasp_top10_2025_parser_test.py
The API, Kubernetes, and OWASP Top 10 fixtures now use updated hyperlink domains. Mapping identifiers and CRE associations remain unchanged. The parser test expects the updated A01 URL.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to f6f90

No new user-facing link failure was established for this change, so no actionable merge risk remains.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning 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. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: fixing OWASP importer hyperlinks.
Description check ✅ Passed The description explains the outdated OWASP URLs, the fixture updates, and the parser test change.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Bornunique911
Bornunique911 force-pushed the importers-links-fixes branch 2 times, most recently from 6debf5d to 14b09c8 Compare September 20, 2026 06:23
@Bornunique911
Bornunique911 force-pushed the importers-links-fixes branch 2 times, most recently from 6175ce3 to f6f902a Compare October 6, 2026 17:48

This branch has not been deployed

No deployments
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.

1 participant