19 lines
380 B
Python
19 lines
380 B
Python
"""
|
|
sa contains SecurityAdvisory dataclass definition
|
|
"""
|
|
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 # pylint: disable=invalid-name
|
|
packages: List[Package]
|