File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 3434from vulnerabilities .importers import xen
3535from vulnerabilities .pipelines import VulnerableCodeBaseImporterPipeline
3636from vulnerabilities .pipelines import alpine_linux_importer
37+ from vulnerabilities .pipelines import anchore_importer
3738from vulnerabilities .pipelines import github_importer
3839from vulnerabilities .pipelines import gitlab_importer
3940from vulnerabilities .pipelines import nginx_importer
4041from vulnerabilities .pipelines import npm_importer
4142from vulnerabilities .pipelines import nvd_importer
4243from vulnerabilities .pipelines import pypa_importer
4344from vulnerabilities .pipelines import pysec_importer
44- from vulnerabilities .pipelines .anchore_importer import AnchoreImporterPipeline
45-
4645
4746IMPORTERS_REGISTRY = [
4847 openssl .OpensslImporter ,
7978 nvd_importer .NVDImporterPipeline ,
8079 pysec_importer .PyPIImporterPipeline ,
8180 alpine_linux_importer .AlpineLinuxImporterPipeline ,
82- AnchoreImporterPipeline ,
81+ anchore_importer . AnchoreImporterPipeline , # Updated to follow the consistent style
8382]
8483
8584IMPORTERS_REGISTRY = {
Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) nexB Inc. and others. All rights reserved.
3+ # VulnerableCode is a trademark of nexB Inc.
4+ # SPDX-License-Identifier: Apache-2.0
5+ # See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
6+ # See https://github.com/aboutcode-org/vulnerablecode for support or download.
7+ # See https://aboutcode.org for more information about nexB OSS projects.
8+ #
9+
110from datetime import datetime
211from typing import Iterable
12+
313import requests
414import yaml
515from packageurl import PackageURL
616from univers .versions import SemverVersion
717
8- from vulnerabilities .importer import AdvisoryData , AffectedPackage , Reference
18+ from vulnerabilities .importer import AdvisoryData
19+ from vulnerabilities .importer import AffectedPackage
20+ from vulnerabilities .importer import Reference
921from vulnerabilities .pipelines import VulnerableCodeBaseImporterPipeline
1022
1123
You can’t perform that action at this time.
0 commit comments