Update customer_code field length in AlertCreationSettings model
Taylor committed
Mar 29, 2024 at 11:13 UTC
9e5fc50474f8e6e51458c125a71406f8749cde9c
1 file changed
+1
-1
backend/app/integrations/alert_creation_settings/models/alert_creation_settings.py
+1
-1
@@ -38,7 +38,7 @@ class EventOrder(SQLModel, table=True):
38
class AlertCreationSettings(SQLModel, table=True):
39
__tablename__ = "custom_alert_creation_settings"
40
id: Optional[int] = Field(primary_key=True)
41
- customer_code: str = Field(max_length=11, nullable=False)
41
+ customer_code: str = Field(max_length=50, nullable=False)
42
customer_name: str = Field(max_length=50, nullable=False)
43
excluded_wazuh_rules: Optional[str] = Field(max_length=1024)
44
excluded_suricata_rules: Optional[str] = Field(max_length=1024)