mirror of
https://github.com/resf/distro-tools.git
synced 2024-12-02 01:46:25 +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",
|
||||
"affected_products.advisory",
|
||||
"affected_products.advisory_id",
|
||||
"affected_products.supported_product",
|
||||
),
|
||||
)
|
||||
|
||||
@ -93,7 +94,7 @@ class Advisory_Pydantic_V2(BaseModel):
|
||||
fixes: list[Advisory_Pydantic_V2_Fix]
|
||||
cves: list[Advisory_Pydantic_V2_CVE]
|
||||
references: list[str]
|
||||
publishedAt: datetime.datetime
|
||||
publishedAt: str
|
||||
rpms: dict[str, list[str]]
|
||||
rebootSuggested: bool
|
||||
buildReferences: list[str]
|
||||
|
Loading…
Reference in New Issue
Block a user