Skip to content

Commit 208dc6d

Browse files
committed
Minor fixes
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 638dd69 commit 208dc6d

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

vulnerabilities/improvers/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
from vulnerabilities.pipelines import populate_vulnerability_summary_pipeline
2121
from vulnerabilities.pipelines import remove_duplicate_advisories
2222
from vulnerabilities.pipelines.v2_improvers import collect_ssvc_trees
23-
from vulnerabilities.pipelines.v2_improvers import compute_advisory_todo as compute_advisory_todo_v2
2423
from vulnerabilities.pipelines.v2_improvers import compute_package_risk as compute_package_risk_v2
2524
from vulnerabilities.pipelines.v2_improvers import (
2625
computer_package_version_rank as compute_version_rank_v2,
@@ -70,7 +69,6 @@
7069
enhance_with_metasploit_v2.MetasploitImproverPipeline,
7170
compute_package_risk_v2.ComputePackageRiskPipeline,
7271
compute_version_rank_v2.ComputeVersionRankPipeline,
73-
compute_advisory_todo_v2.ComputeToDo,
7472
unfurl_version_range_v2.UnfurlVersionRangePipeline,
7573
compute_advisory_todo.ComputeToDo,
7674
collect_ssvc_trees.CollectSSVCPipeline,

vulnerabilities/pipelines/v2_improvers/group_advisories_for_packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121
class GroupAdvisoriesForPackages(VulnerableCodePipeline):
22-
"""Detect and flag packages that do not exist upstream."""
22+
"""Group advisories for packages that have multiple importers"""
2323

2424
pipeline_id = "group_advisories_for_packages"
2525

vulnerabilities/tests/test_api_v3.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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+
110
from django.urls import reverse
211
from packageurl import PackageURL
312
from rest_framework import status

0 commit comments

Comments
 (0)