fix(security): complete security and delivery compliance remediation
This commit is contained in:
@@ -3,6 +3,7 @@ from sqlalchemy import Column, BigInteger, String, Integer, Float, Text, TIMESTA
|
||||
from sqlalchemy.orm import relationship
|
||||
from sqlalchemy.sql import func
|
||||
from app.core.database import Base
|
||||
from app.core.credentials import EncryptedCredential
|
||||
|
||||
|
||||
class OLTDevice(Base):
|
||||
@@ -11,7 +12,7 @@ class OLTDevice(Base):
|
||||
id = Column(BigInteger, primary_key=True, index=True)
|
||||
ip_address = Column(String(45), nullable=False)
|
||||
username = Column(String(100), nullable=False)
|
||||
password = Column(Text, nullable=False)
|
||||
password = Column(EncryptedCredential(), nullable=False)
|
||||
slot_command = Column(String(50), nullable=False)
|
||||
region = Column(String(100), index=True)
|
||||
location = Column(String(200))
|
||||
|
||||
Reference in New Issue
Block a user