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

16 lines
290 B
Python

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]