Swaped from CIS to NIST controls

This commit is contained in:
2025-08-14 14:08:34 +02:00
parent aeaec99621
commit 3734a5b51b
16 changed files with 639 additions and 241 deletions

View File

@@ -0,0 +1,67 @@
# Generated by Django 5.1.3 on 2025-08-13 01:37
import django.utils.timezone
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0019_document_recomendations'),
]
operations = [
migrations.RemoveField(
model_name='control',
name='description',
),
migrations.RemoveField(
model_name='control',
name='name',
),
migrations.RemoveField(
model_name='control',
name='safeguard_id',
),
migrations.AddField(
model_name='control',
name='category',
field=models.TextField(blank=True, help_text='Category', null=True),
),
migrations.AddField(
model_name='control',
name='documentation_score',
field=models.IntegerField(blank=True, help_text='Documentation Score', null=True),
),
migrations.AddField(
model_name='control',
name='effectiveness_monitoring_examples',
field=models.TextField(blank=True, help_text='Effectiveness Monitoring Examples', null=True),
),
migrations.AddField(
model_name='control',
name='function',
field=models.TextField(blank=True, help_text='Function', null=True),
),
migrations.AddField(
model_name='control',
name='implementation_examples',
field=models.TextField(blank=True, help_text='Implementation Examples', null=True),
),
migrations.AddField(
model_name='control',
name='implementation_score',
field=models.IntegerField(blank=True, help_text='Implementation Score', null=True),
),
migrations.AddField(
model_name='control',
name='subcategory',
field=models.CharField(default=django.utils.timezone.now, help_text='NIST Subcategory', max_length=64, unique=True),
preserve_default=False,
),
migrations.AddField(
model_name='control',
name='subcategory_description',
field=models.TextField(blank=True, help_text='Subcategory Description', null=True),
),
]

View File

@@ -0,0 +1,17 @@
# Generated by Django 5.1.3 on 2025-08-14
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0020_remove_control_description_remove_control_name_and_more'),
]
operations = [
migrations.RemoveField(
model_name='control',
name='subcategory_description',
),
]