-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: basic service to scan vulnerabilities from OSV [experimental] (#…
…2483) * feat: scan vulnerabilities from OSV * chore: code quality * feat: support Debian * chore: fix existing unittests * chore: update layers * chore: code quality * feat: write vulnerability_check * chore: refactoring * chore: 2 small changes * feat: return numbers * chore: fix unittests after rebase * chore: lots of changes * chore: documentation integrations overview * chore: fix existing unittests * chore: documentation (start) * chore: documentation * chore: rename Liunx ecosystem to Linux distribution * chore: fix existing unittests * fix: slicing for requests and namespace for maven * chore: name change after code review * feat: add 2 vulnerability urls
- Loading branch information
Showing
73 changed files
with
1,644 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
backend/application/core/migrations/0059_branch_osv_linux_distribution_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Generated by Django 5.1.5 on 2025-01-29 07:00 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0058_observation_vulnerability_id_aliases"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="branch", | ||
name="osv_linux_distribution", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("AlmaLinux", "AlmaLinux"), | ||
("Alpine", "Alpine"), | ||
("Debian", "Debian"), | ||
("Mageia", "Mageia"), | ||
("openSUSE", "openSUSE"), | ||
("Photon OS", "Photon OS"), | ||
("Red Hat", "Red Hat"), | ||
("Rocky Linux", "Rocky Linux"), | ||
("SUSE", "SUSE"), | ||
("Ubuntu", "Ubuntu"), | ||
], | ||
max_length=12, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="branch", | ||
name="osv_linux_release", | ||
field=models.CharField(blank=True, max_length=255), | ||
), | ||
migrations.AddField( | ||
model_name="product", | ||
name="osv_enabled", | ||
field=models.BooleanField(default=False), | ||
), | ||
migrations.AddField( | ||
model_name="product", | ||
name="osv_linux_distribution", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("AlmaLinux", "AlmaLinux"), | ||
("Alpine", "Alpine"), | ||
("Debian", "Debian"), | ||
("Mageia", "Mageia"), | ||
("openSUSE", "openSUSE"), | ||
("Photon OS", "Photon OS"), | ||
("Red Hat", "Red Hat"), | ||
("Rocky Linux", "Rocky Linux"), | ||
("SUSE", "SUSE"), | ||
("Ubuntu", "Ubuntu"), | ||
], | ||
max_length=12, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="product", | ||
name="osv_linux_release", | ||
field=models.CharField(blank=True, max_length=255), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.