Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add ZyXEL v2 security advisories importer with tests#2225

Open
Tednoob17 wants to merge 1 commit into
aboutcode-org:main from
Tednoob17:feat/zyxel-security-advisories-1839
Open

Add ZyXEL v2 security advisories importer with tests #2225
Tednoob17 wants to merge 1 commit into
aboutcode-org:main from
Tednoob17:feat/zyxel-security-advisories-1839

Conversation

@Tednoob17

@Tednoob17 Tednoob17 commented Mar 19, 2026

Copy link
Copy Markdown

Add a new v2 importer for ZyXEL security advisories.

Changes

  • Added ZyXEL importer pipeline with deterministic advisory IDs
  • Registered importer in importers registry
  • Added comprehensive tests and fixtures

Validation

Tests pass: 3 passed, 2 unrelated warnings"

Copilot AI review requested due to automatic review settings March 19, 2026 16:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a new v2 importer pipeline to ingest ZyXEL security advisories into the VulnerableCode v2 advisory model, wiring it into the global importers registry and providing fixture-based parsing tests.

Changes:

  • Added ZyxelImporterPipeline with listing-page URL discovery and advisory-page parsing (CVEs, summary, published date, references, deterministic advisory IDs).
  • Registered the new pipeline in IMPORTERS_REGISTRY.
  • Added parsing tests plus HTML fixtures for listing and advisory pages.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
vulnerabilities/pipelines/v2_importers/zyxel_importer.py New ZyXEL v2 importer: fetch listing, discover advisory URLs, parse advisories into AdvisoryDataV2.
vulnerabilities/importers/__init__.py Registers ZyxelImporterPipeline in the importers registry.
vulnerabilities/tests/pipelines/v2_importers/test_zyxel_importer_pipeline.py Adds unit tests for listing/advisory parsing and advisory ID behavior.
vulnerabilities/tests/test_data/zyxel_v2/security_advisories_listing.html Fixture HTML for the advisory listing page.
vulnerabilities/tests/test_data/zyxel_v2/zyxel_security_advisory_for_foo.html Fixture HTML for an advisory detail page (CVE extraction + published date).

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

You can also share your feedback on Copilot code review. Take the survey.

Comment thread vulnerabilities/pipelines/v2_importers/zyxel_importer.py
Comment thread vulnerabilities/pipelines/v2_importers/zyxel_importer.py
Comment thread vulnerabilities/pipelines/v2_importers/zyxel_importer.py
Signed-off-by: Tedsig42 <teddams047@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot Copilot left review comments

@ziadhany ziadhany Awaiting requested review from ziadhany

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /