Skip to content

Commit e66f1d5

Browse files
authored
Merge pull request #1097 from TG1999/add_migration_0039
Add migration for adding apache tomcat option in severity scoring
2 parents 6a85107 + 6e5931b commit e66f1d5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 4.0.7 on 2023-01-25 15:16
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('vulnerabilities', '0038_remove_corrupted_advisories_with_incorrect_refs_and_severity'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='vulnerabilityseverity',
15+
name='scoring_system',
16+
field=models.CharField(choices=[('cvssv2', 'CVSSv2 Base Score'), ('cvssv3', 'CVSSv3 Base Score'), ('cvssv3.1', 'CVSSv3.1 Base Score'), ('rhbs', 'RedHat Bugzilla severity'), ('rhas', 'RedHat Aggregate severity'), ('archlinux', 'Archlinux Vulnerability Group Severity'), ('cvssv3.1_qr', 'CVSSv3.1 Qualitative Severity Rating'), ('generic_textual', 'Generic textual severity rating'), ('apache_httpd', 'Apache Httpd Severity'), ('apache_tomcat', 'Apache Tomcat Severity')], help_text='Identifier for the scoring system used. Available choices are: cvssv2: CVSSv2 Base Score,\ncvssv3: CVSSv3 Base Score,\ncvssv3.1: CVSSv3.1 Base Score,\nrhbs: RedHat Bugzilla severity,\nrhas: RedHat Aggregate severity,\narchlinux: Archlinux Vulnerability Group Severity,\ncvssv3.1_qr: CVSSv3.1 Qualitative Severity Rating,\ngeneric_textual: Generic textual severity rating,\napache_httpd: Apache Httpd Severity,\napache_tomcat: Apache Tomcat Severity ', max_length=50),
17+
),
18+
]

0 commit comments

Comments
 (0)