From 1293a75710bcb31a5e32170d2d8e7f223f3852f0 Mon Sep 17 00:00:00 2001 From: Wolfgang Popp Date: Mon, 28 Sep 2026 16:51:04 +0200 Subject: [PATCH] Add attributes from recent API releases Signed-off-by: Wolfgang Popp --- vilocify/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vilocify/models.py b/vilocify/models.py index 365276e..c03dff6 100644 --- a/vilocify/models.py +++ b/vilocify/models.py @@ -18,6 +18,7 @@ class Component(Model): active = Attribute[bool]("active") deactivated_at = Attribute[str | None]("deactivatedAt") deactivation_reason = Attribute[str | None]("deactivationReason") + tlp = Attribute[str]("tlp") monitoring_lists: RelationshipToMany["MonitoringList"] = RelationshipToMany("MonitoringList") notifications: RelationshipToMany["Notification"] = RelationshipToMany("Notification") @@ -81,6 +82,7 @@ class Notification(Model): third_party_published_on = Attribute[str]("thirdPartyPublishedOn") created_at = Attribute[str]("createdAt") updated_at = Attribute[str]("updatedAt") + tlp = Attribute[str]("tlp") vulnerabilities = RelationshipToMany(Vulnerability) components = RelationshipToMany(Component) @@ -94,6 +96,8 @@ class MonitoringList(Model): active = Attribute[bool]("active") created_at = Attribute[str]("createdAt", serialize_on=()) updated_at = Attribute[str]("updatedAt", serialize_on=()) + group = Attribute[str | None]("group") + internal = Attribute[bool]("internal") components = RelationshipToMany(Component) component_requests = RelationshipToMany(ComponentRequest)