mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-22 13:11:28 +00:00
Fix v3 query for advisories
This commit is contained in:
parent
a9b56f6485
commit
2125cd1ccb
@ -58,6 +58,7 @@ Advisory_Pydantic = pydantic_model_creator(
|
|||||||
"fixes.advisory_id",
|
"fixes.advisory_id",
|
||||||
"affected_products.advisory",
|
"affected_products.advisory",
|
||||||
"affected_products.advisory_id",
|
"affected_products.advisory_id",
|
||||||
|
"affected_products.supported_product",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -93,7 +94,7 @@ class Advisory_Pydantic_V2(BaseModel):
|
|||||||
fixes: list[Advisory_Pydantic_V2_Fix]
|
fixes: list[Advisory_Pydantic_V2_Fix]
|
||||||
cves: list[Advisory_Pydantic_V2_CVE]
|
cves: list[Advisory_Pydantic_V2_CVE]
|
||||||
references: list[str]
|
references: list[str]
|
||||||
publishedAt: datetime.datetime
|
publishedAt: str
|
||||||
rpms: dict[str, list[str]]
|
rpms: dict[str, list[str]]
|
||||||
rebootSuggested: bool
|
rebootSuggested: bool
|
||||||
buildReferences: list[str]
|
buildReferences: list[str]
|
||||||
|
Loading…
Reference in New Issue
Block a user