-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: tdruez <[email protected]>
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
component_catalog/migrations/0012_alter_component_risk_score_alter_package_risk_score.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,23 @@ | ||
# Generated by Django 5.0.9 on 2024-11-14 12:08 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('component_catalog', '0011_to_delete_temp_fake_values'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='component', | ||
name='risk_score', | ||
field=models.DecimalField(blank=True, decimal_places=2, help_text='Risk score between 0.00 and 10.00, where higher values indicate greater vulnerability risk for the package.', max_digits=4, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='package', | ||
name='risk_score', | ||
field=models.DecimalField(blank=True, decimal_places=2, help_text='Risk score between 0.00 and 10.00, where higher values indicate greater vulnerability risk for the package.', max_digits=4, null=True), | ||
), | ||
] |
28 changes: 28 additions & 0 deletions
28
vulnerabilities/migrations/0004_alter_vulnerability_exploitability_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,28 @@ | ||
# Generated by Django 5.0.9 on 2024-11-14 12:08 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('vulnerabilities', '0003_to_delete_temp_fake_values'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='vulnerability', | ||
name='exploitability', | ||
field=models.DecimalField(blank=True, decimal_places=2, help_text='Exploitability indicates the likelihood that a vulnerability in a software package could be used by malicious actors to compromise systems, applications, or networks. This metric is determined automatically based on the discovery of known exploits.', max_digits=4, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='vulnerability', | ||
name='risk_score', | ||
field=models.DecimalField(blank=True, decimal_places=2, help_text='Risk score from 0.00 to 10.00, with higher values indicating greater vulnerability risk. This score is the maximum of the weighted severity multiplied by exploitability, capped at 10.', max_digits=4, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='vulnerability', | ||
name='weighted_severity', | ||
field=models.DecimalField(blank=True, decimal_places=2, help_text='Weighted severity is the highest value calculated by multiplying each severity by its corresponding weight, divided by 10.', max_digits=4, null=True), | ||
), | ||
] |