Add SCINTX scanner for multi-provider scanning

オープン
#2,439 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java, yaml
領域
backend, security

調査の方向性

Read the existing external scanner configuration and Scanner implementation in the server module, then compare the two proposed approaches in the issue. Check the SCINTX SDK release status and the linked SCINTX integration dependencies before choosing a path. Done means a pilot integration can record SCINTX decisions alongside existing checks, with enforcement behind a configuration flag and no change to Open VSX’s publication decisions.

索引モデルが issue の本文から書いたものです。

説明

Open VSX already has an external-scanner contract, so a scanner can be attached without changing the publish path. What it does not have is a way to add a provider without standing up another scanner and mapping that provider's findings into the registry's own model. Each provider integration requires custom work to configure and maintain the result mapping (and in some cases the underlying service), and the registry offers limited flexibility to define policies based on the returned findings content.

We are building SCINTX, an open-source scanning gateway that sits between a registry and the security providers it queries, and we would like to contribute the registry-side integration here. From Open VSX’s perspective, SCINTX is a single scanner backed by multiple security providers, starting with OSV and Sonatype OSS Index. Adapters for additional providers are implemented in the SCINTX repository. The goal is to support more providers while keeping Open VSX’s publication policy stable, and integration of additional security providers becomes as simple as an upgrade to a new release. SCINTX normalizes findings across providers, applies one YAML policy, returns a policy result, and can emit a signed CloudEvents lifecycle event when a decision changes.

Activation, quarantine, rejection, admin review and what publishers see stay with Open VSX, as do the local publish checks and the decision about what gets published. Nothing existing is removed during the pilot. We would start read-only: SCINTX receives the same packages, its decision is recorded and compared, and nothing is enforced. Then enforcement behind a configuration flag, with SCINTX as one required or optional scanner among the existing checks.

Two ways this could land

  1. Configuration only: a SCINTX entry in the existing scanner YAML. SCINTX exposes an endpoint that follows the scanner contract Open VSX already has, so the integration is one entry in the external scanner configuration plus credentials. Deployment is a configuration update, with no server code for the project to review or maintain. It gives up callbacks and signed lifecycle events, because the registry polls for a result, and a finding is only as rich as the existing scanner result model.
  2. A first-class SCINTX scanner: extend Scanner, use the SCINTX Java SDK. A ScintxScanner in the server module extends the existing Scanner class and depends on the SCINTX Java SDK. Submission and status calls live in the SDK rather than being hand-rolled, and the parts of the standard that need a listener become available: signed webhook callbacks for decision changes instead of polling, and adjudication results carried through the lifecycle event instead of being collapsed into a single scan result. This has a dependency on the SDK's release cycle, which is currently in progress but not available as of today.

Dependencies. The work this integration builds on is in
eclipse-scintx/scintx and is public:

主要言語
Java
スター
2.1k
フォーク
362
平均マージ
1日 3時間
マージ済み PR(30日)
44

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-openvsx/openvsx のほかの issue

eclipse-openvsx/openvsx の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。