You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: policy/migrations/0003_policyrule.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Generated by Django 6.0.6 on 2026-07-07 04:49
1
+
# Generated by Django 6.0.6 on 2026-07-08 08:39
2
2
3
3
importdjango.db.models.deletion
4
4
importdje.models
@@ -23,7 +23,6 @@ class Migration(migrations.Migration):
23
23
('rule_type', models.CharField(help_text='The type of evaluation performed by this rule.', max_length=50)),
24
24
('threshold', models.PositiveIntegerField(default=0, help_text='Minimum number of violations required to trigger this rule (0 means any).')),
25
25
('is_active', models.BooleanField(default=True, help_text='Only active rules are evaluated.')),
26
-
('event_name', models.CharField(blank=True, help_text='Notification event to fire when violations are detected.', max_length=100)),
27
26
('parameters', models.JSONField(blank=True, default=dict, help_text='Optional rule-specific parameters as a JSON object. Supported keys depend on the chosen rule type.')),
28
27
('dataspace', models.ForeignKey(editable=False, help_text='A Dataspace is an independent, exclusive set of DejaCode data, which can be either nexB master reference data or installation-specific data.', on_delete=django.db.models.deletion.PROTECT, to='dje.dataspace')),
0 commit comments