albs-oval-errata-diff/albs_oval_errata_diff/sa.py

16 lines
290 B
Python
Raw Normal View History

2022-12-28 16:21:40 +00:00
from dataclasses import dataclass
from typing import List
from .package import Package
@dataclass
class SecurityAdvisory:
"""
SecurityAdvisory represents Security advisory deffition extracted
from oval or errata
"""
title: str
id: str
packages: List[Package]