-
-
Notifications
You must be signed in to change notification settings - Fork 309
Open
Conversation
...code-org#1899 Adds CollaboraImporterPipeline to collect published security advisories from the GitHub Security Advisory REST API for CollaboraOnline/online. Parses GHSA id, CVE alias, CVSS 3.x severity (version detected from vector prefix), CWE weaknesses, date, and reference URL. Pagination is handled via the Link header cursor returned by the GitHub API. Includes 5 unit tests with real API fixture data covering CVSS 3.1, CVSS 3.0 with CWE, missing GHSA id, missing CVE id, and missing CVSS. Signed-off-by: newklei <magmacicada@proton.me>
@NucleiAv
NucleiAv
force-pushed
the
feat/collabora-importer-1899
branch
from
March 11, 2026 04:28
0e0f78b to
cc58a31
Compare
Signed-off-by: newklei <magmacicada@proton.me>
@NucleiAv
NucleiAv
force-pushed
the
feat/collabora-importer-1899
branch
from
March 11, 2026 15:24
c2577d8 to
77542d8
Compare
TG1999
TG1999
reviewed
Apr 7, 2026
weaknesses.append(int(suffix))
return AdvisoryDataV2(
advisory_id=ghsa_id,
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason to use ghsa_id and not cve_id ?
Author
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TG1999 I used GHSA ID as advisory_id since it's always present in the response, while CVE IDs are optional and not every advisory has one. The CVE ID goes into aliases when available.
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.
Uh oh!
There was an error while loading. Please reload this page.
Adds CollaboraImporterPipeline to collect published security advisories from the GitHub Security Advisory REST API for CollaboraOnline/online. Each advisory is parsed for its GHSA id (advisory_id), CVE id (alias), summary, CVSS 3.x severity with version detected from the vector prefix, CWE weaknesses, published date, and reference URL. Pagination is handled via the Link header cursor returned by the GitHub API. Package ecosystem is empty string in the API response so affected_packages is not populated.