Skip to content

Commit 882e6eb

Browse files
committed
Add export registry
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent da0dc8a commit 882e6eb

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright (c) nexB Inc. and others. All rights reserved.
2+
# VulnerableCode is a trademark of nexB Inc.
3+
# SPDX-License-Identifier: Apache-2.0
4+
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
5+
# See https://github.com/aboutcode-org/vulnerablecode for support or download.
6+
# See https://aboutcode.org for more information about nexB OSS projects.
7+
#
8+
9+
from vulnerabilities.pipelines.exporters import federate_vulnerabilities
10+
from vulnerabilities.utils import create_registry
11+
12+
EXPORTERS_REGISTRY = create_registry(
13+
[
14+
federate_vulnerabilities.FederatePackageVulnerabilities,
15+
]
16+
)

vulnerabilities/pipelines/exporters/federate_package_vulnerabilities.py renamed to vulnerabilities/pipelines/exporters/federate_vulnerabilities.py

File renamed without changes.

0 commit comments

Comments
 (0)