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
('name', models.CharField(help_text='Descriptive name for this policy rule.', max_length=100)),
23
+
('rule_type', models.CharField(help_text='The type of evaluation performed by this rule.', max_length=50)),
24
+
('threshold', models.PositiveIntegerField(default=0, help_text='Minimum number of violations required to trigger this rule (0 means any).')),
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
+
('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