for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
# Copyright 2022, Red Hat, Inc.
# SPDX-License-Identifier: LGPL-2.1-or-later
from typing import List
from openscap_report.dataclasses import asdict, dataclass
REFERENCE_JSON_KEYS = [
"name",
"href",
"ref_ids",
]
@dataclass
class Reference:
name: str
href: str
ref_ids: List[str]
def as_dict(self):
return asdict(self)