Skip to content

Commit

Permalink
Migrate ( metasploit, exploit-db, kev ) to aboutcode pipeline.
Browse files Browse the repository at this point in the history
Set data_source as the header for the exploit table.
Squash the migration files into a single file.

Signed-off-by: ziadhany <ziadhany2016@gmail.com>
  • Loading branch information
ziadhany committed Sep 11, 2024
1 parent 69362b3 commit 67ee99b
Show file tree
Hide file tree
Showing 13 changed files with 278 additions and 340 deletions.
12 changes: 6 additions & 6 deletions vulnerabilities/improvers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
# See https://aboutcode.org for more information about nexB OSS projects.
#

from vulnerabilities.improvers import exploitdb
from vulnerabilities.improvers import metasploit
from vulnerabilities.improvers import valid_versions
from vulnerabilities.improvers import vulnerability_kev
from vulnerabilities.improvers import vulnerability_status
from vulnerabilities.pipelines import exploitdb
from vulnerabilities.pipelines import flag_ghost_packages
from vulnerabilities.pipelines import metasploit
from vulnerabilities.pipelines import vulnerability_kev

IMPROVERS_REGISTRY = [
valid_versions.GitHubBasicImprover,
Expand All @@ -31,9 +31,9 @@
valid_versions.RubyImprover,
valid_versions.GithubOSVImprover,
vulnerability_status.VulnerabilityStatusImprover,
vulnerability_kev.VulnerabilityKevImprover,
metasploit.MetasploitImprover,
exploitdb.ExploitDBImprover,
vulnerability_kev.VulnerabilityKevPipeline,
metasploit.MetasploitImproverPipeline,
exploitdb.ExploitDBImproverPipeline,
flag_ghost_packages.FlagGhostPackagePipeline,
]

Expand Down
109 changes: 0 additions & 109 deletions vulnerabilities/improvers/exploitdb.py

This file was deleted.

76 changes: 0 additions & 76 deletions vulnerabilities/improvers/metasploit.py

This file was deleted.

67 changes: 0 additions & 67 deletions vulnerabilities/improvers/vulnerability_kev.py

This file was deleted.

4 changes: 2 additions & 2 deletions vulnerabilities/migrations/0063_exploit_delete_kev.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.1.13 on 2024-08-27 14:48
# Generated by Django 4.1.13 on 2024-09-10 18:40

from django.db import migrations, models
import django.db.models.deletion
Expand Down Expand Up @@ -53,7 +53,7 @@ class Migration(migrations.Migration):
),
),
(
"resources_and_notes",
"notes",
models.TextField(
blank=True,
help_text="Additional notes and resources about the vulnerability, often a URL to vendor instructions.",
Expand Down

This file was deleted.

Loading

0 comments on commit 67ee99b

Please sign in to comment.